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

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

Issue 2819023: Reworked ExtensionsService::AddPendingExtension(). (Closed)
Patch Set: Fixed browsertest test failure Created 10 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/extensions/test_extension_prefs.cc
diff --git a/chrome/browser/extensions/test_extension_prefs.cc b/chrome/browser/extensions/test_extension_prefs.cc
index 5a0c9f82c1a182f0f8ce38014f91cbc7f58d277f..97c47e8144c1ffb5ad8307c6fa025b5e8295f855 100644
--- a/chrome/browser/extensions/test_extension_prefs.cc
+++ b/chrome/browser/extensions/test_extension_prefs.cc
@@ -69,7 +69,9 @@ Extension* TestExtensionPrefs::AddExtensionWithManifest(
EXPECT_TRUE(extension->InitFromValue(manifest, false, &errors));
extension->set_location(Extension::INTERNAL);
EXPECT_TRUE(Extension::IdIsValid(extension->id()));
- prefs_->OnExtensionInstalled(extension);
+ const bool kInitialIncognitoEnabled = false;
+ prefs_->OnExtensionInstalled(extension, Extension::ENABLED,
+ kInitialIncognitoEnabled);
return extension;
}
« no previous file with comments | « chrome/browser/extensions/extensions_service_unittest.cc ('k') | chrome/browser/sync/glue/extension_model_associator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698