summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authordarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-24 19:23:13 +0000
committerdarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-24 19:23:13 +0000
commitdd924193b5c11b188a56a09f7c29c8cbdfa0737e (patch)
treeb29b28bd8a66afaa0b38faf94dbec42ad5bd222c /chrome/common
parent03c24fc87f1f44bdbd5b3812eb3af866e81cb60f (diff)
downloadchromium_src-dd924193b5c11b188a56a09f7c29c8cbdfa0737e.zip
chromium_src-dd924193b5c11b188a56a09f7c29c8cbdfa0737e.tar.gz
chromium_src-dd924193b5c11b188a56a09f7c29c8cbdfa0737e.tar.bz2
Only pump messages during a cookie query if it results in a user prompt.
Note: I left LocalStorage intact. I want to first confirm that this CL resolves the Intl2 performance regression. If so, then I'll follow-up with a CL to add similar treatment for LocalStorage. R=jam BUG=36310 TEST=none Review URL: http://codereview.chromium.org/657074 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39908 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r--chrome/common/render_messages_internal.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/common/render_messages_internal.h b/chrome/common/render_messages_internal.h
index 8b4020b..d9cee06 100644
--- a/chrome/common/render_messages_internal.h
+++ b/chrome/common/render_messages_internal.h
@@ -299,6 +299,11 @@ IPC_BEGIN_MESSAGES(View)
URLRequestStatus /* status */,
std::string /* security info */)
+ // Sent when user prompting is required before a ViewHostMsg_GetCookies
+ // message can complete. This message indicates that the renderer should
+ // pump messages while waiting for cookies.
+ IPC_MESSAGE_CONTROL0(ViewMsg_SignalCookiePromptEvent)
+
// Request for the renderer to evaluate an xpath to a frame and execute a
// javascript: url in that frame's context. The message is completely
// asynchronous and no corresponding response message is sent back.