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

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

Issue 2530053003: chrome: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 years 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_EXTENSION_DISABLED_UI_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_DISABLED_UI_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_DISABLED_UI_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_DISABLED_UI_H_
7 7
8 class ExtensionService; 8 class ExtensionService;
9 namespace content {
10 class WebContents;
11 }
12 9
13 namespace extensions { 10 namespace extensions {
14 11
15 class Extension; 12 class Extension;
16 13
17 // Adds a global error to inform the user that an extension was 14 // Adds a global error to inform the user that an extension was
18 // disabled after upgrading to higher permissions. 15 // disabled after upgrading to higher permissions.
19 // If |is_remote_install| is true, the extension was disabled because 16 // If |is_remote_install| is true, the extension was disabled because
20 // it was installed remotely. 17 // it was installed remotely.
21 void AddExtensionDisabledError(ExtensionService* service, 18 void AddExtensionDisabledError(ExtensionService* service,
22 const Extension* extension, 19 const Extension* extension,
23 bool is_remote_install); 20 bool is_remote_install);
24 21
25 } // namespace extensions 22 } // namespace extensions
26 23
27 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_DISABLED_UI_H_ 24 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_DISABLED_UI_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_context_menu_model.h ('k') | chrome/browser/extensions/extension_function_test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698