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

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

Issue 714133002: Add more management policy checking after extension installed (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix CrOS compile Created 6 years, 1 month 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 4c98c5a12da221cfe0a06c7ee5c9a6271a0e2e99..100acf8998627908047e0cb9192f8004b6b0e043 100644
--- a/chrome/browser/extensions/test_extension_prefs.cc
+++ b/chrome/browser/extensions/test_extension_prefs.cc
@@ -165,6 +165,7 @@ scoped_refptr<Extension> TestExtensionPrefs::AddExtensionWithManifestAndFlags(
EXPECT_TRUE(crx_file::id_util::IdIsValid(extension->id()));
prefs_->OnExtensionInstalled(extension.get(),
Extension::ENABLED,
+ Extension::DISABLE_NONE,
syncer::StringOrdinal::CreateInitialOrdinal(),
std::string());
return extension;

Powered by Google App Engine
This is Rietveld 408576698