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