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

Side by Side Diff: chrome/browser/ui/android/extensions/extension_install_dialog_android.cc

Issue 11087071: Making ShowExtensionInstallDialog a callback (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix android build Created 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698