OLD | NEW |
(Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "chrome/browser/extensions/extension_install_ui.h" |
| 6 |
| 7 #if defined(USE_ATHENA) |
| 8 #include "athena/extensions/chrome/public/extension_install_ui_factory.h" |
| 9 #else |
| 10 #include "chrome/browser/ui/extensions/extension_install_ui_default.h" |
| 11 #endif |
| 12 |
| 13 namespace chrome { |
| 14 |
| 15 ExtensionInstallUI* CreateExtensionInstallUI(Profile* profile) { |
| 16 #if defined(USE_ATHENA) |
| 17 return athena::CreateExtensionInstallUI(profile); |
| 18 #else |
| 19 return new ExtensionInstallUIDefault(profile); |
| 20 #endif |
| 21 } |
| 22 |
| 23 } // namespace chrome |
OLD | NEW |