OLD | NEW |
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 #include "chrome/browser/extensions/extension_install_dialog.h" | 5 #include "base/bind.h" |
| 6 #include "chrome/browser/extensions/extension_install_prompt.h" |
| 7 |
| 8 namespace { |
6 | 9 |
7 void ShowExtensionInstallDialogImpl( | 10 void ShowExtensionInstallDialogImpl( |
8 gfx::NativeWindow parent, | 11 gfx::NativeWindow parent, |
9 content::PageNavigator* navigator, | 12 content::PageNavigator* navigator, |
10 ExtensionInstallPrompt::Delegate* delegate, | 13 ExtensionInstallPrompt::Delegate* delegate, |
11 const ExtensionInstallPrompt::Prompt& prompt) { | 14 const ExtensionInstallPrompt::Prompt& prompt) { |
12 NOTIMPLEMENTED(); | 15 NOTIMPLEMENTED(); |
13 } | 16 } |
14 | 17 |
| 18 } // namespace |
| 19 |
| 20 // static |
| 21 ExtensionInstallPrompt::ShowDialogCallback |
| 22 ExtensionInstallPrompt::GetDefaultShowDialogCallback() { |
| 23 return base::Bind(&ShowExtensionInstallDialogImpl); |
| 24 } |
OLD | NEW |