summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
authordarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-09 22:41:20 +0000
committerdarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-09 22:41:20 +0000
commit3dbb80bca45a4fdf674250ed833842a71de41838 (patch)
tree46a087293623a29e8bb2a2b8e1567be6ac177c02 /base
parent76477871b30938124add005d5df27c0ffb544ee4 (diff)
downloadchromium_src-3dbb80bca45a4fdf674250ed833842a71de41838.zip
chromium_src-3dbb80bca45a4fdf674250ed833842a71de41838.tar.gz
chromium_src-3dbb80bca45a4fdf674250ed833842a71de41838.tar.bz2
Trigger the blocked cookie notification UI.
This change involves two significant bits: 1- Add URLRequest::Delegate methods to report a blocked attempt to set a cookie or get cookies, respectively. 2- Generalize the mechanisms we use to proxy notifications to the RenderViewHost from the IO thread. See render_view_host_notification_task.h. Finally, these are used together in ResourceDispatcherHost. Note: Additional work is required to notify when JS attempts to set a cookie fail. R=brettw,eroman BUG=34573 TEST=Configure the browser to block cookies, and then visit a site that tries to set a cookie (e.g., cnn.com). You should see a cookie icon appear in the location bar. If you click that it should report that cookies were blocked. Review URL: http://codereview.chromium.org/600009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38527 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r--base/task.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/task.h b/base/task.h
index d71df20..cbb8c99 100644
--- a/base/task.h
+++ b/base/task.h
@@ -649,7 +649,7 @@ typename Callback5<Arg1, Arg2, Arg3, Arg4, Arg5>::Type* NewCallback(
template <class T, class Method, class Params>
class UnboundMethod {
public:
- UnboundMethod(Method m, Params p) : m_(m), p_(p) {
+ UnboundMethod(Method m, const Params& p) : m_(m), p_(p) {
COMPILE_ASSERT((MethodUsesScopedRefptrCorrectly<Method, Params>::value),
badunboundmethodparams);
}