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

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

Issue 313203004: Make ExtensionInstallPrompt::Prompt ref-counted (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Latest master for CQ Created 6 years, 6 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 "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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698