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

Side by Side Diff: chrome/browser/extensions/user_script_listener.h

Issue 2839373003: struct UnloadedExtensionInfo -> enum UnloadedExtensionInfoReason (Closed)
Patch Set: Rebase Created 3 years, 7 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_EXTENSIONS_USER_SCRIPT_LISTENER_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_USER_SCRIPT_LISTENER_H_
6 #define CHROME_BROWSER_EXTENSIONS_USER_SCRIPT_LISTENER_H_ 6 #define CHROME_BROWSER_EXTENSIONS_USER_SCRIPT_LISTENER_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <list> 9 #include <list>
10 #include <map> 10 #include <map>
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 // content::NotificationObserver 106 // content::NotificationObserver
107 void Observe(int type, 107 void Observe(int type,
108 const content::NotificationSource& source, 108 const content::NotificationSource& source,
109 const content::NotificationDetails& details) override; 109 const content::NotificationDetails& details) override;
110 110
111 // ExtensionRegistryObserver: 111 // ExtensionRegistryObserver:
112 void OnExtensionLoaded(content::BrowserContext* browser_context, 112 void OnExtensionLoaded(content::BrowserContext* browser_context,
113 const Extension* extension) override; 113 const Extension* extension) override;
114 void OnExtensionUnloaded(content::BrowserContext* browser_context, 114 void OnExtensionUnloaded(content::BrowserContext* browser_context,
115 const Extension* extension, 115 const Extension* extension,
116 UnloadedExtensionInfo::Reason reason) override; 116 UnloadedExtensionReason reason) override;
117 void OnShutdown(ExtensionRegistry* registry) override; 117 void OnShutdown(ExtensionRegistry* registry) override;
118 118
119 ScopedObserver<extensions::ExtensionRegistry, 119 ScopedObserver<extensions::ExtensionRegistry,
120 extensions::ExtensionRegistryObserver> 120 extensions::ExtensionRegistryObserver>
121 extension_registry_observer_; 121 extension_registry_observer_;
122 122
123 content::NotificationRegistrar registrar_; 123 content::NotificationRegistrar registrar_;
124 124
125 DISALLOW_COPY_AND_ASSIGN(UserScriptListener); 125 DISALLOW_COPY_AND_ASSIGN(UserScriptListener);
126 }; 126 };
127 127
128 } // namespace extensions 128 } // namespace extensions
129 129
130 #endif // CHROME_BROWSER_EXTENSIONS_USER_SCRIPT_LISTENER_H_ 130 #endif // CHROME_BROWSER_EXTENSIONS_USER_SCRIPT_LISTENER_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/test_extension_service.cc ('k') | chrome/browser/extensions/user_script_listener.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698