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

Unified Diff: chrome/browser/apps/app_load_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
« no previous file with comments | « no previous file | chrome/browser/apps/app_load_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/apps/app_load_service.h
diff --git a/chrome/browser/apps/app_load_service.h b/chrome/browser/apps/app_load_service.h
index 361ba17c1d3a85ffa9cd2154a79c7afd20e5472f..6a4702395f121c0704c35caab88a415acb555d0d 100644
--- a/chrome/browser/apps/app_load_service.h
+++ b/chrome/browser/apps/app_load_service.h
@@ -19,10 +19,6 @@ namespace content {
class BrowserContext;
}
-namespace extensions {
-struct UnloadedExtensionInfo;
-}
-
namespace apps {
// Monitors apps being reloaded and performs app specific actions (like launch
@@ -79,14 +75,12 @@ class AppLoadService : public KeyedService,
const content::NotificationDetails& details) override;
// extensions::ExtensionRegistryObserver.
- void OnExtensionUnloaded(
- content::BrowserContext* browser_context,
- const extensions::Extension* extension,
- extensions::UnloadedExtensionInfo::Reason reason) override;
-
- bool WasUnloadedForReload(
- const extensions::ExtensionId& extension_id,
- const extensions::UnloadedExtensionInfo::Reason reason);
+ void OnExtensionUnloaded(content::BrowserContext* browser_context,
+ const extensions::Extension* extension,
+ extensions::UnloadedExtensionReason reason) override;
+
+ bool WasUnloadedForReload(const extensions::ExtensionId& extension_id,
+ const extensions::UnloadedExtensionReason reason);
bool HasPostReloadAction(const std::string& extension_id);
// Map of extension id to reload action. Absence from the map implies
« no previous file with comments | « no previous file | chrome/browser/apps/app_load_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698