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

Unified Diff: chrome/browser/ui/extensions/extension_install_ui_factory.cc

Issue 634313004: Display dialog when app install succeeds / fails on Athena (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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/ui/extensions/extension_install_ui_factory.cc
diff --git a/chrome/browser/ui/extensions/extension_install_ui_factory.cc b/chrome/browser/ui/extensions/extension_install_ui_factory.cc
new file mode 100644
index 0000000000000000000000000000000000000000..bd5c53aaf99f550032b8054ee70078f3b59d6a45
--- /dev/null
+++ b/chrome/browser/ui/extensions/extension_install_ui_factory.cc
@@ -0,0 +1,23 @@
+// Copyright 2014 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.
+
+#include "chrome/browser/extensions/extension_install_ui.h"
+
+#if defined(USE_ATHENA)
+#include "athena/extensions/chrome/public/extension_install_ui_factory.h"
+#else
+#include "chrome/browser/ui/extensions/extension_install_ui_default.h"
+#endif
+
+namespace chrome {
+
+ExtensionInstallUI* CreateExtensionInstallUI(Profile* profile) {
+#if defined(USE_ATHENA)
+ return athena::CreateExtensionInstallUI(profile);
+#else
+ return new ExtensionInstallUIDefault(profile);
+#endif
+}
+
+} // namespace chrome

Powered by Google App Engine
This is Rietveld 408576698