summaryrefslogtreecommitdiffstats
path: root/chrome/common/chrome_utility_messages.h
diff options
context:
space:
mode:
authorjstritar@chromium.org <jstritar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-15 02:52:26 +0000
committerjstritar@chromium.org <jstritar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-15 02:52:26 +0000
commitf5bf184dd99e3e5331d6cdf979698a381dba1180 (patch)
treefa749ebd74f09f9bbd715745a902bf11e291c4e5 /chrome/common/chrome_utility_messages.h
parentb1c38c089b2f65eb6ea0631cb2fde236a70a5ae1 (diff)
downloadchromium_src-f5bf184dd99e3e5331d6cdf979698a381dba1180.zip
chromium_src-f5bf184dd99e3e5331d6cdf979698a381dba1180.tar.gz
chromium_src-f5bf184dd99e3e5331d6cdf979698a381dba1180.tar.bz2
Use less temporary extension IDs during pack and unpack.
This fixes issues related to permission whitelists, which are based on the extension ID. BUG=113696 TEST=ExtensionServiceTest.InstallWhitelistedExtension Review URL: http://codereview.chromium.org/9365061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122009 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/chrome_utility_messages.h')
-rw-r--r--chrome/common/chrome_utility_messages.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/common/chrome_utility_messages.h b/chrome/common/chrome_utility_messages.h
index 8a409a9..0f58ce5 100644
--- a/chrome/common/chrome_utility_messages.h
+++ b/chrome/common/chrome_utility_messages.h
@@ -54,8 +54,9 @@ IPC_STRUCT_TRAITS_END()
// These are messages from the browser to the utility process.
// Tell the utility process to unpack the given extension file in its
// directory and verify that it is valid.
-IPC_MESSAGE_CONTROL3(ChromeUtilityMsg_UnpackExtension,
+IPC_MESSAGE_CONTROL4(ChromeUtilityMsg_UnpackExtension,
FilePath /* extension_filename */,
+ std::string /* extension_id */,
int /* Extension::Location */,
int /* InitFromValue flags */)