mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
libcef: Update due to underlying chromium changes.
- Calling AddStandardScheme() is now required for custom scheme handlers due to GURL changes. - Add '--no-circular-check' flag in cef_create_projects.bat to avoid unnecessary GYP failures. - nphostapi.h moved to third_party/npapi/bindings directory. - UTF functions moved to base/utf_string_conversions.h - app/gfx directory moved to gfx - Add simple cookie jar implementation. - Enable WebGL support. git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@72 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
25
libcef/browser_webcookiejar_impl.cc
Normal file
25
libcef/browser_webcookiejar_impl.cc
Normal file
@ -0,0 +1,25 @@
|
||||
// Copyright (c) 2010 The Chromium Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "browser_webcookiejar_impl.h"
|
||||
#include "browser_resource_loader_bridge.h"
|
||||
|
||||
#include "third_party/WebKit/WebKit/chromium/public/WebURL.h"
|
||||
|
||||
using WebKit::WebString;
|
||||
using WebKit::WebURL;
|
||||
|
||||
void BrowserWebCookieJarImpl::setCookie(const WebURL& url,
|
||||
const WebURL& first_party_for_cookies,
|
||||
const WebString& value) {
|
||||
BrowserResourceLoaderBridge::SetCookie(
|
||||
url, first_party_for_cookies, value.utf8());
|
||||
}
|
||||
|
||||
WebString BrowserWebCookieJarImpl::cookies(
|
||||
const WebURL& url,
|
||||
const WebURL& first_party_for_cookies) {
|
||||
return WebString::fromUTF8(
|
||||
BrowserResourceLoaderBridge::GetCookies(url, first_party_for_cookies));
|
||||
}
|
Reference in New Issue
Block a user