| Index: chrome/browser/renderer_host/render_view_host_delegate.h
|
| diff --git a/chrome/browser/renderer_host/render_view_host_delegate.h b/chrome/browser/renderer_host/render_view_host_delegate.h
|
| index 2a6f74559c03fda43e6d454fd1a240eaa5a69b96..4c5f5ca72773b68f3d29ecb69e4a86b5ea01e725 100644
|
| --- a/chrome/browser/renderer_host/render_view_host_delegate.h
|
| +++ b/chrome/browser/renderer_host/render_view_host_delegate.h
|
| @@ -17,6 +17,7 @@
|
| #include "chrome/common/translate_errors.h"
|
| #include "chrome/common/view_types.h"
|
| #include "chrome/common/window_container_type.h"
|
| +#include "net/base/cookie_monster.h"
|
| #include "net/base/load_states.h"
|
| #include "third_party/WebKit/WebKit/chromium/public/WebDragOperation.h"
|
| #include "third_party/WebKit/WebKit/chromium/public/WebPopupType.h"
|
| @@ -386,6 +387,15 @@ class RenderViewHostDelegate {
|
| virtual void OnContentBlocked(ContentSettingsType type,
|
| const std::string& resource_identifier) = 0;
|
|
|
| + // Called when cookies for given URL where read either from within the
|
| + // current page or while loading it. |blocked_by_policy| should be true, if
|
| + // reading cookies was blocked due to the user's content settings. In that
|
| + // case, this function should invoke OnContentBlocked.
|
| + virtual void OnCookiesRead(
|
| + const GURL& url,
|
| + const net::CookieMonster::CookieList& cookie_list,
|
| + bool blocked_by_policy) = 0;
|
| +
|
| // Called when a specific cookie in the current page was accessed.
|
| // |blocked_by_policy| should be true, if the cookie was blocked due to the
|
| // user's content settings. In that case, this function should invoke
|
|
|