Chromium Code Reviews| 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 9bde9cdf866017eb031263f548c04f6c3c4ea4a4..cab2ae8da1291d86ca6f0a428de71883f90ed916 100644 |
| --- a/chrome/browser/renderer_host/render_view_host_delegate.h |
| +++ b/chrome/browser/renderer_host/render_view_host_delegate.h |
| @@ -71,6 +71,7 @@ class Message; |
| } |
| namespace net { |
| +class CookieMonster; |
| class CookieOptions; |
| } |
| @@ -390,6 +391,16 @@ 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 |
|
darin (slow to review)
2010/11/30 18:24:11
nit: where -> were
jochen (gone - plz use gerrit)
2010/12/03 16:02:32
Done.
|
| + // 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, |
| + net::CookieMonster* cookie_monster, |
| + const net::CookieOptions& options, |
| + 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 |