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

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

Issue 9718008: Replace extension disabled infobar with a global error. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: moar Created 8 years, 9 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) 2010 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_INFOBAR_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_DISABLED_UI_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_DISABLED_INFOBAR_DELEGATE_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_DISABLED_UI_H_
7 #pragma once 7 #pragma once
8 8
9 class Extension; 9 class Extension;
10 class ExtensionService; 10 class ExtensionService;
11 class Profile; 11 class Profile;
12 12
13 namespace extensions {
14
13 // Shows UI to inform the user that an extension was disabled after upgrading 15 // Shows UI to inform the user that an extension was disabled after upgrading
14 // to higher permissions. 16 // to higher permissions.
15 void ShowExtensionDisabledUI(ExtensionService* service, Profile* profile, 17 void ShowExtensionDisabledUI(ExtensionService* service, Profile* profile,
16 const Extension* extension); 18 const Extension* extension);
17 19
18 // Shows the extension install dialog. 20 // Shows the extension install dialog.
19 void ShowExtensionDisabledDialog(ExtensionService* service, Profile* profile, 21 void ShowExtensionDisabledDialog(ExtensionService* service, Profile* profile,
20 const Extension* extension); 22 const Extension* extension);
21 23
22 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_DISABLED_INFOBAR_DELEGATE_H_ 24 } // namespace extensions
25
26 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_DISABLED_UI_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_disabled_infobar_delegate.cc ('k') | chrome/browser/extensions/extension_disabled_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698