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

Unified Diff: chrome/browser/ui/panels/base_panel_browser_test.cc

Issue 322893002: Cleanup: Make ExtensionService::OnExtensionInstalled take a bitmask instead of (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more win compile fixes Created 6 years, 6 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/ui/panels/base_panel_browser_test.cc
diff --git a/chrome/browser/ui/panels/base_panel_browser_test.cc b/chrome/browser/ui/panels/base_panel_browser_test.cc
index 6065baf68b52ddb40d81e37d095ec273462d4489..d9fac02a95c2cb9102bba73d9d4e16445ce292f0 100644
--- a/chrome/browser/ui/panels/base_panel_browser_test.cc
+++ b/chrome/browser/ui/panels/base_panel_browser_test.cc
@@ -30,6 +30,7 @@
#include "content/public/common/url_constants.h"
#include "content/public/test/web_contents_tester.h"
#include "extensions/browser/extension_prefs.h"
+#include "extensions/browser/install_flag.h"
#include "extensions/common/manifest_constants.h"
#include "sync/api/string_ordinal.h"
@@ -564,13 +565,10 @@ scoped_refptr<Extension> BasePanelBrowserTest::CreateExtension(
full_path, location, *input_value, Extension::NO_FLAGS, &error);
EXPECT_TRUE(extension.get());
EXPECT_STREQ("", error.c_str());
- browser()->profile()->GetExtensionService()->
- OnExtensionInstalled(extension.get(),
- syncer::StringOrdinal(),
- false /* no requirement errors */,
- extensions::NOT_BLACKLISTED,
- false /* not ephemeral */,
- false /* don't wait for idle */);
+ browser()->profile()->GetExtensionService()->OnExtensionInstalled(
+ extension.get(),
+ syncer::StringOrdinal(),
+ extensions::kInstallFlagInstallImmediately);
return extension;
}

Powered by Google App Engine
This is Rietveld 408576698