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

Side by Side Diff: chrome/browser/extensions/error_console/error_console.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_ERROR_CONSOLE_ERROR_CONSOLE_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_ERROR_CONSOLE_ERROR_CONSOLE_H_
6 #define CHROME_BROWSER_EXTENSIONS_ERROR_CONSOLE_ERROR_CONSOLE_H_ 6 #define CHROME_BROWSER_EXTENSIONS_ERROR_CONSOLE_ERROR_CONSOLE_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 137
138 // Called when the Developer Mode preference is changed; this is important 138 // Called when the Developer Mode preference is changed; this is important
139 // since we use this as a heuristic to determine if the console is enabled or 139 // since we use this as a heuristic to determine if the console is enabled or
140 // not. 140 // not.
141 void OnPrefChanged(); 141 void OnPrefChanged();
142 142
143 // ExtensionRegistry implementation. If the Apps Developer Tools app is 143 // ExtensionRegistry implementation. If the Apps Developer Tools app is
144 // installed or uninstalled, we may need to turn the ErrorConsole on/off. 144 // installed or uninstalled, we may need to turn the ErrorConsole on/off.
145 void OnExtensionUnloaded(content::BrowserContext* browser_context, 145 void OnExtensionUnloaded(content::BrowserContext* browser_context,
146 const Extension* extension, 146 const Extension* extension,
147 UnloadedExtensionInfo::Reason reason) override; 147 UnloadedExtensionReason reason) override;
148 void OnExtensionLoaded(content::BrowserContext* browser_context, 148 void OnExtensionLoaded(content::BrowserContext* browser_context,
149 const Extension* extension) override; 149 const Extension* extension) override;
150 void OnExtensionInstalled(content::BrowserContext* browser_context, 150 void OnExtensionInstalled(content::BrowserContext* browser_context,
151 const Extension* extension, 151 const Extension* extension,
152 bool is_update) override; 152 bool is_update) override;
153 void OnExtensionUninstalled(content::BrowserContext* browser_context, 153 void OnExtensionUninstalled(content::BrowserContext* browser_context,
154 const Extension* extension, 154 const Extension* extension,
155 extensions::UninstallReason reason) override; 155 extensions::UninstallReason reason) override;
156 156
157 // Add manifest errors from an extension's install warnings. 157 // Add manifest errors from an extension's install warnings.
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 199
200 ScopedObserver<ExtensionRegistry, ExtensionRegistryObserver> 200 ScopedObserver<ExtensionRegistry, ExtensionRegistryObserver>
201 registry_observer_; 201 registry_observer_;
202 202
203 DISALLOW_COPY_AND_ASSIGN(ErrorConsole); 203 DISALLOW_COPY_AND_ASSIGN(ErrorConsole);
204 }; 204 };
205 205
206 } // namespace extensions 206 } // namespace extensions
207 207
208 #endif // CHROME_BROWSER_EXTENSIONS_ERROR_CONSOLE_ERROR_CONSOLE_H_ 208 #endif // CHROME_BROWSER_EXTENSIONS_ERROR_CONSOLE_ERROR_CONSOLE_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/content_verifier_browsertest.cc ('k') | chrome/browser/extensions/error_console/error_console.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698