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

Unified Diff: chrome/browser/extensions/external_install_ui.h

Issue 313173003: Revert of Resubmit: Refactor external_install_ui (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/external_install_ui.h
diff --git a/chrome/browser/extensions/external_install_ui.h b/chrome/browser/extensions/external_install_ui.h
new file mode 100644
index 0000000000000000000000000000000000000000..b8ee953e97cfcf5b44430f536d9fdc68f6b8e2ca
--- /dev/null
+++ b/chrome/browser/extensions/external_install_ui.h
@@ -0,0 +1,30 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_EXTENSIONS_EXTERNAL_INSTALL_UI_H_
+#define CHROME_BROWSER_EXTENSIONS_EXTERNAL_INSTALL_UI_H_
+
+class Browser;
+class ExtensionService;
+
+namespace extensions {
+
+class Extension;
+
+// Adds/Removes a global error informing the user that an external extension
+// was installed. If |is_new_profile| is true, then this error is from the
+// first time our profile checked for new external extensions.
+void AddExternalInstallError(ExtensionService* service,
+ const Extension* extension,
+ bool is_new_profile);
+void RemoveExternalInstallError(ExtensionService* service);
+
+bool HasExternalInstallError(ExtensionService* service);
+
+// Used for testing.
+bool HasExternalInstallBubble(ExtensionService* service);
+
+} // namespace extensions
+
+#endif // CHROME_BROWSER_EXTENSIONS_EXTERNAL_INSTALL_UI_H_
« no previous file with comments | « chrome/browser/extensions/external_install_manager.cc ('k') | chrome/browser/extensions/external_install_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698