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

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

Issue 2839373003: struct UnloadedExtensionInfo -> enum UnloadedExtensionInfoReason (Closed)
Patch Set: Rebase Created 3 years, 8 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_service_test_with_install.cc
diff --git a/chrome/browser/extensions/extension_service_test_with_install.cc b/chrome/browser/extensions/extension_service_test_with_install.cc
index e4706a1e569d6266cc58e8c0f015cae816ee39aa..2c994aa4687c2f6bfbed0ff9e4b6c8c195bb7d29 100644
--- a/chrome/browser/extensions/extension_service_test_with_install.cc
+++ b/chrome/browser/extensions/extension_service_test_with_install.cc
@@ -41,10 +41,11 @@ bool IsCrxInstallerDone(extensions::CrxInstaller** installer,
ExtensionServiceTestWithInstall::ExtensionServiceTestWithInstall()
: installed_(nullptr),
was_update_(false),
- unloaded_reason_(UnloadedExtensionInfo::REASON_UNDEFINED),
+ unloaded_reason_(UnloadedExtensionReason::UNDEFINED),
expected_extensions_count_(0),
override_external_install_prompt_(
- FeatureSwitch::prompt_for_external_extensions(), false),
+ FeatureSwitch::prompt_for_external_extensions(),
+ false),
registry_observer_(this) {}
ExtensionServiceTestWithInstall::~ExtensionServiceTestWithInstall() {}
@@ -389,7 +390,7 @@ void ExtensionServiceTestWithInstall::OnExtensionLoaded(
void ExtensionServiceTestWithInstall::OnExtensionUnloaded(
content::BrowserContext* browser_context,
const Extension* extension,
- UnloadedExtensionInfo::Reason reason) {
+ UnloadedExtensionReason reason) {
unloaded_id_ = extension->id();
unloaded_reason_ = reason;
extensions::ExtensionList::iterator i =

Powered by Google App Engine
This is Rietveld 408576698