Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2170)

Unified Diff: chrome/browser/extensions/extension_menu_manager_unittest.cc

Issue 7672009: Lazy creating of background pages --enable-lazy-background-pages) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix broken test Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/extension_menu_manager_unittest.cc
diff --git a/chrome/browser/extensions/extension_menu_manager_unittest.cc b/chrome/browser/extensions/extension_menu_manager_unittest.cc
index a70ce42dc1df1e12e4bdbe72157c1ad08c3b5917..f661f7ea48893c3588835412643574a0c99e858f 100644
--- a/chrome/browser/extensions/extension_menu_manager_unittest.cc
+++ b/chrome/browser/extensions/extension_menu_manager_unittest.cc
@@ -348,12 +348,13 @@ class MockExtensionEventRouter : public ExtensionEventRouter {
explicit MockExtensionEventRouter(Profile* profile) :
ExtensionEventRouter(profile) {}
- MOCK_METHOD6(DispatchEventImpl, void(const std::string& extension_id,
+ MOCK_METHOD7(DispatchEventImpl, void(const std::string& extension_id,
const std::string& event_name,
const std::string& event_args,
Profile* source_profile,
const std::string& cross_incognito_args,
- const GURL& event_url));
+ const GURL& event_url,
+ bool was_pending));
private:
DISALLOW_COPY_AND_ASSIGN(MockExtensionEventRouter);
@@ -451,7 +452,8 @@ TEST_F(ExtensionMenuManagerTest, ExecuteCommand) {
_,
&profile,
"",
- GURL()))
+ GURL(),
+ false))
.Times(1)
.WillOnce(SaveArg<2>(&event_args));

Powered by Google App Engine
This is Rietveld 408576698