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

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

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 #ifndef CHROME_BROWSER_EXTENSIONS_WEBSTORE_INLINE_INSTALLER_FACTORY_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_WEBSTORE_INLINE_INSTALLER_FACTORY_H_
6 #define CHROME_BROWSER_EXTENSIONS_WEBSTORE_INLINE_INSTALLER_FACTORY_H_ 6 #define CHROME_BROWSER_EXTENSIONS_WEBSTORE_INLINE_INSTALLER_FACTORY_H_
7 7
8 #include <memory>
8 #include <string> 9 #include <string>
9 10
10 #include "base/memory/scoped_ptr.h"
11 #include "chrome/browser/extensions/extension_install_prompt.h" 11 #include "chrome/browser/extensions/extension_install_prompt.h"
12 #include "chrome/browser/extensions/webstore_standalone_installer.h" 12 #include "chrome/browser/extensions/webstore_standalone_installer.h"
13 13
14 namespace content { 14 namespace content {
15 class WebContents; 15 class WebContents;
16 } 16 }
17 17
18 class GURL; 18 class GURL;
19 19
20 namespace extensions { 20 namespace extensions {
21 21
22 class WebstoreInlineInstaller; 22 class WebstoreInlineInstaller;
23 23
24 class WebstoreInlineInstallerFactory { 24 class WebstoreInlineInstallerFactory {
25 public: 25 public:
26 virtual ~WebstoreInlineInstallerFactory() {} 26 virtual ~WebstoreInlineInstallerFactory() {}
27 27
28 // Create a new WebstoreInlineInstallerInstance to be owned by the caller. 28 // Create a new WebstoreInlineInstallerInstance to be owned by the caller.
29 virtual WebstoreInlineInstaller* CreateInstaller( 29 virtual WebstoreInlineInstaller* CreateInstaller(
30 content::WebContents* contents, 30 content::WebContents* contents,
31 content::RenderFrameHost* host, 31 content::RenderFrameHost* host,
32 const std::string& webstore_item_id, 32 const std::string& webstore_item_id,
33 const GURL& requestor_url, 33 const GURL& requestor_url,
34 const WebstoreStandaloneInstaller::Callback& callback); 34 const WebstoreStandaloneInstaller::Callback& callback);
35 }; 35 };
36 36
37 } // namespace extensions 37 } // namespace extensions
38 38
39 #endif // CHROME_BROWSER_EXTENSIONS_WEBSTORE_INLINE_INSTALLER_FACTORY_H_ 39 #endif // CHROME_BROWSER_EXTENSIONS_WEBSTORE_INLINE_INSTALLER_FACTORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698