mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
libcef: Update due to underlying chromium changes.
- webkit/webkit.gyp moved to webkit/support/webkit_support.gyp. - Classes moved from base/gfx moved to gfx. - Changes to plugin creation code path. - Changes to BrowserResourceLoaderBridge, BrowserAppCacheSystem and BrowserDatabaseSystem. - Enable push state, notifications, touch and indexed database. git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@82 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@@ -7,23 +7,23 @@
|
||||
#define _BROWSER_RESOURCE_LOADER_BRIDGE_H
|
||||
|
||||
#include <string>
|
||||
#include "base/message_loop_proxy.h"
|
||||
#include "base/file_path.h"
|
||||
#include "net/http/http_cache.h"
|
||||
|
||||
class GURL;
|
||||
class BrowserRequestContext;
|
||||
|
||||
class BrowserResourceLoaderBridge {
|
||||
public:
|
||||
// Call this function to initialize the simple resource loader bridge. If
|
||||
// the given context is null, then a default BrowserRequestContext will be
|
||||
// instantiated. Otherwise, a reference is taken to the given request
|
||||
// context, which will be released when Shutdown is called. The caller
|
||||
// should not hold another reference to the request context! It is safe to
|
||||
// call this function multiple times.
|
||||
// Call this function to initialize the simple resource loader bridge.
|
||||
// It is safe to call this function multiple times.
|
||||
//
|
||||
// NOTE: If this function is not called, then a default request context will
|
||||
// be initialized lazily.
|
||||
//
|
||||
static void Init(BrowserRequestContext* context);
|
||||
static void Init(const FilePath& cache_path,
|
||||
net::HttpCache::Mode cache_mode,
|
||||
bool no_proxy);
|
||||
|
||||
// Call this function to shutdown the simple resource loader bridge.
|
||||
static void Shutdown();
|
||||
@@ -36,6 +36,9 @@ class BrowserResourceLoaderBridge {
|
||||
const GURL& first_party_for_cookies);
|
||||
static bool EnsureIOThread();
|
||||
static void SetAcceptAllCookies(bool accept_all_cookies);
|
||||
|
||||
// This method should only be called after Init(), and before Shutdown().
|
||||
static scoped_refptr<base::MessageLoopProxy> GetCacheThread();
|
||||
};
|
||||
|
||||
#endif // _BROWSER_RESOURCE_LOADER_BRIDGE_H
|
||||
|
Reference in New Issue
Block a user