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

Unified Diff: chrome/browser/extensions/shared_module_service_unittest.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/extensions/shared_module_service_unittest.cc
diff --git a/chrome/browser/extensions/shared_module_service_unittest.cc b/chrome/browser/extensions/shared_module_service_unittest.cc
index 1d8f5af02df8f1144b7313355f8090e99a048c61..2c38444c3f0fdc05faa559f5c839d71bd0b61aef 100644
--- a/chrome/browser/extensions/shared_module_service_unittest.cc
+++ b/chrome/browser/extensions/shared_module_service_unittest.cc
@@ -12,6 +12,7 @@
#include "chrome/browser/extensions/shared_module_service.h"
#include "chrome/common/extensions/features/feature_channel.h"
#include "extensions/browser/extension_registry.h"
+#include "extensions/browser/install_flag.h"
#include "extensions/common/extension_builder.h"
#include "extensions/common/id_util.h"
#include "extensions/common/value_builder.h"
@@ -72,12 +73,8 @@ testing::AssertionResult SharedModuleServiceUnitTest::InstallExtension(
// Notify the service that the extension is installed. This adds it to the
// registry, notifies interested parties, etc.
- service_->OnExtensionInstalled(extension,
- syncer::StringOrdinal(),
- false, // No requirement errors.
- NOT_BLACKLISTED,
- false, // Not ephemeral.
- false); // Don't wait for idle.
+ service_->OnExtensionInstalled(
+ extension, syncer::StringOrdinal(), kInstallFlagInstallImmediately);
// Verify that the extension is now installed.
if (!registry()->GetExtensionById(extension->id(),
« no previous file with comments | « chrome/browser/extensions/extension_service_unittest.cc ('k') | chrome/browser/extensions/test_extension_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698