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

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

Issue 10698144: Remove #pragma once from chrome/browser/extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 | Annotate | Revision Log
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 #pragma once
8 7
9 class Browser; 8 class Browser;
10 class ExtensionService; 9 class ExtensionService;
11 10
12 namespace extensions { 11 namespace extensions {
13 12
14 class Extension; 13 class Extension;
15 14
16 // Adds a global error to inform the user that an extension was 15 // Adds a global error to inform the user that an extension was
17 // disabled after upgrading to higher permissions. 16 // disabled after upgrading to higher permissions.
18 void AddExtensionDisabledError(ExtensionService* service, 17 void AddExtensionDisabledError(ExtensionService* service,
19 const Extension* extension); 18 const Extension* extension);
20 19
21 // Shows the extension install dialog. 20 // Shows the extension install dialog.
22 void ShowExtensionDisabledDialog(ExtensionService* service, Browser* browser, 21 void ShowExtensionDisabledDialog(ExtensionService* service, Browser* browser,
23 const Extension* extension); 22 const Extension* extension);
24 23
25 } // namespace extensions 24 } // namespace extensions
26 25
27 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_DISABLED_UI_H_ 26 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_DISABLED_UI_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_devtools_manager.h ('k') | chrome/browser/extensions/extension_error_reporter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698