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

Unified Diff: extensions/browser/info_map.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
« no previous file with comments | « extensions/browser/info_map.h ('k') | extensions/browser/info_map_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/info_map.cc
diff --git a/extensions/browser/info_map.cc b/extensions/browser/info_map.cc
index f894cb59eecb746642ccf815a27e03b5a1d4b77b..b32ecded678ff7f603f979e948200e5d1049af8c 100644
--- a/extensions/browser/info_map.cc
+++ b/extensions/browser/info_map.cc
@@ -73,12 +73,12 @@ void InfoMap::AddExtension(const Extension* extension,
}
void InfoMap::RemoveExtension(const std::string& extension_id,
- const UnloadedExtensionInfo::Reason reason) {
+ const UnloadedExtensionReason reason) {
CheckOnValidThread();
const Extension* extension = extensions_.GetByID(extension_id);
extra_data_.erase(extension_id); // we don't care about disabled extra data
- bool was_uninstalled = (reason != UnloadedExtensionInfo::REASON_DISABLE &&
- reason != UnloadedExtensionInfo::REASON_TERMINATE);
+ bool was_uninstalled = (reason != UnloadedExtensionReason::DISABLE &&
+ reason != UnloadedExtensionReason::TERMINATE);
if (extension) {
if (!was_uninstalled)
disabled_extensions_.Insert(extension);
« no previous file with comments | « extensions/browser/info_map.h ('k') | extensions/browser/info_map_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698