| 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
|
|
|