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

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

Issue 259843004: Remove some NOTIFICATION_EXTENSION_UNLOADED_DEPRECATED from c/b/extensions Part2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address review comment Created 6 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_EXTERNAL_INSTALL_UI_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTERNAL_INSTALL_UI_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTERNAL_INSTALL_UI_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTERNAL_INSTALL_UI_H_
7 7
8 class Browser; 8 class Browser;
9 class ExtensionService; 9 class ExtensionService;
10 10
11 namespace extensions { 11 namespace extensions {
12 12
13 class Extension; 13 class Extension;
14 14
15 // Adds/Removes a global error informing the user that an external extension 15 // Adds/Removes a global error informing the user that an external extension
16 // was installed. If |is_new_profile| is true, then this error is from the 16 // was installed. If |is_new_profile| is true, then this error is from the
17 // first time our profile checked for new external extensions. 17 // first time our profile checked for new external extensions.
18 void AddExternalInstallError(ExtensionService* service, 18 void AddExternalInstallError(ExtensionService* service,
19 const Extension* extension, 19 const Extension* extension,
20 bool is_new_profile); 20 bool is_new_profile);
21 void RemoveExternalInstallError(ExtensionService* service); 21 void RemoveExternalInstallError(ExtensionService* service);
22 22
23 bool HasExternalInstallError(ExtensionService* service);
24
23 // Used for testing. 25 // Used for testing.
24 bool HasExternalInstallError(ExtensionService* service);
25 bool HasExternalInstallBubble(ExtensionService* service); 26 bool HasExternalInstallBubble(ExtensionService* service);
26 27
27 } // namespace extensions 28 } // namespace extensions
28 29
29 #endif // CHROME_BROWSER_EXTENSIONS_EXTERNAL_INSTALL_UI_H_ 30 #endif // CHROME_BROWSER_EXTENSIONS_EXTERNAL_INSTALL_UI_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_toolbar_model.cc ('k') | chrome/browser/extensions/external_install_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698