mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Merge revision 650 changes:
- Make sure BrowserRequestContextProxy is only used on the IO thread (issue #542). - Windows: Reset the window procedure in the WebWidgetHost destructor to avoid crashes if messages are delivered after the window is destroyed. git-svn-id: https://chromiumembedded.googlecode.com/svn/branches/1025@651 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@@ -7,15 +7,16 @@
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include "include/cef_base.h"
|
||||
#include "net/url_request/url_request_context.h"
|
||||
|
||||
class BrowserRequestContext;
|
||||
class CefBrowserImpl;
|
||||
|
||||
// A basic URLRequestContext that only provides an in-memory cookie store.
|
||||
// A URLRequestContext implementation that proxies cookie requests to the
|
||||
// client.
|
||||
class BrowserRequestContextProxy : public net::URLRequestContext {
|
||||
public:
|
||||
// Use an in-memory cache
|
||||
BrowserRequestContextProxy(BrowserRequestContext* context,
|
||||
CefBrowserImpl* browser);
|
||||
|
||||
@@ -23,7 +24,7 @@ class BrowserRequestContextProxy : public net::URLRequestContext {
|
||||
|
||||
private:
|
||||
BrowserRequestContext* context_;
|
||||
CefBrowserImpl* browser_;
|
||||
CefRefPtr<CefBrowserImpl> browser_;
|
||||
};
|
||||
|
||||
#endif // CEF_LIBCEF_BROWSER_REQUEST_CONTEXT_PROXY_H_
|
||||
|
Reference in New Issue
Block a user