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

Side by Side Diff: chrome/browser/extensions/webstore_inline_installer_factory.cc

Issue 1871713002: Convert //chrome/browser/extensions from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and fix header Created 4 years, 8 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/memory/scoped_ptr.h" 5 #include "chrome/browser/extensions/webstore_inline_installer_factory.h"
6
7 #include <memory>
8
6 #include "chrome/browser/extensions/webstore_inline_installer.h" 9 #include "chrome/browser/extensions/webstore_inline_installer.h"
7 #include "chrome/browser/extensions/webstore_inline_installer_factory.h"
8 #include "content/public/browser/web_contents.h" 10 #include "content/public/browser/web_contents.h"
9 11
10 namespace extensions { 12 namespace extensions {
11 13
12 WebstoreInlineInstaller* WebstoreInlineInstallerFactory::CreateInstaller( 14 WebstoreInlineInstaller* WebstoreInlineInstallerFactory::CreateInstaller(
13 content::WebContents* contents, 15 content::WebContents* contents,
14 content::RenderFrameHost* host, 16 content::RenderFrameHost* host,
15 const std::string& webstore_item_id, 17 const std::string& webstore_item_id,
16 const GURL& requestor_url, 18 const GURL& requestor_url,
17 const WebstoreStandaloneInstaller::Callback& callback) { 19 const WebstoreStandaloneInstaller::Callback& callback) {
18 return new WebstoreInlineInstaller(contents, host, webstore_item_id, 20 return new WebstoreInlineInstaller(contents, host, webstore_item_id,
19 requestor_url, callback); 21 requestor_url, callback);
20 } 22 }
21 23
22 } // namespace extensions 24 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698