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

Unified Diff: chrome/browser/extensions/extension_service.h

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.h
diff --git a/chrome/browser/extensions/extension_service.h b/chrome/browser/extensions/extension_service.h
index 815f383cd1eb2ba2e89b726b7001c34882bb7f65..9ebe85b9a3f13522a41559eedb868626cdcf2561 100644
--- a/chrome/browser/extensions/extension_service.h
+++ b/chrome/browser/extensions/extension_service.h
@@ -160,9 +160,8 @@ class ExtensionServiceInterface
const extensions::Extension* extension) = 0;
// Unload the specified extension.
- virtual void UnloadExtension(
- const std::string& extension_id,
- extensions::UnloadedExtensionInfo::Reason reason) = 0;
+ virtual void UnloadExtension(const std::string& extension_id,
+ extensions::UnloadedExtensionReason reason) = 0;
// Remove the specified component extension.
virtual void RemoveComponentExtension(const std::string& extension_id) = 0;
@@ -215,9 +214,8 @@ class ExtensionService
bool file_ownership_passed,
extensions::CrxInstaller** out_crx_installer) override;
bool IsExtensionEnabled(const std::string& extension_id) const override;
- void UnloadExtension(
- const std::string& extension_id,
- extensions::UnloadedExtensionInfo::Reason reason) override;
+ void UnloadExtension(const std::string& extension_id,
+ extensions::UnloadedExtensionReason reason) override;
void RemoveComponentExtension(const std::string& extension_id) override;
void AddExtension(const extensions::Extension* extension) override;
void AddComponentExtension(const extensions::Extension* extension) override;
@@ -527,9 +525,8 @@ class ExtensionService
scoped_refptr<const extensions::Extension> extension);
// Handles sending notification that |extension| was unloaded.
- void NotifyExtensionUnloaded(
- const extensions::Extension* extension,
- extensions::UnloadedExtensionInfo::Reason reason);
+ void NotifyExtensionUnloaded(const extensions::Extension* extension,
+ extensions::UnloadedExtensionReason reason);
// Common helper to finish installing the given extension.
void FinishInstallation(const extensions::Extension* extension);
« no previous file with comments | « chrome/browser/extensions/extension_protocols_unittest.cc ('k') | chrome/browser/extensions/extension_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698