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

Side by Side Diff: chrome/browser/extensions/webstore_startup_installer.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: 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 (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 #ifndef CHROME_BROWSER_EXTENSIONS_WEBSTORE_STARTUP_INSTALLER_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_WEBSTORE_STARTUP_INSTALLER_H_
6 #define CHROME_BROWSER_EXTENSIONS_WEBSTORE_STARTUP_INSTALLER_H_ 6 #define CHROME_BROWSER_EXTENSIONS_WEBSTORE_STARTUP_INSTALLER_H_
7 7
8 #include "base/gtest_prod_util.h" 8 #include "base/gtest_prod_util.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "chrome/browser/extensions/webstore_install_with_prompt.h" 10 #include "chrome/browser/extensions/webstore_install_with_prompt.h"
(...skipping 14 matching lines...) Expand all
25 bool show_prompt, 25 bool show_prompt,
26 const Callback& callback); 26 const Callback& callback);
27 27
28 protected: 28 protected:
29 friend class base::RefCountedThreadSafe<WebstoreStartupInstaller>; 29 friend class base::RefCountedThreadSafe<WebstoreStartupInstaller>;
30 FRIEND_TEST_ALL_PREFIXES(WebstoreStartupInstallerTest, DomainVerification); 30 FRIEND_TEST_ALL_PREFIXES(WebstoreStartupInstallerTest, DomainVerification);
31 31
32 ~WebstoreStartupInstaller() override; 32 ~WebstoreStartupInstaller() override;
33 33
34 // Implementations of WebstoreStandaloneInstaller Template Method's hooks. 34 // Implementations of WebstoreStandaloneInstaller Template Method's hooks.
35 scoped_ptr<ExtensionInstallPrompt::Prompt> CreateInstallPrompt() 35 std::unique_ptr<ExtensionInstallPrompt::Prompt> CreateInstallPrompt()
36 const override; 36 const override;
37 37
38 private: 38 private:
39 bool show_prompt_; 39 bool show_prompt_;
40 40
41 DISALLOW_IMPLICIT_CONSTRUCTORS(WebstoreStartupInstaller); 41 DISALLOW_IMPLICIT_CONSTRUCTORS(WebstoreStartupInstaller);
42 }; 42 };
43 43
44 } // namespace extensions 44 } // namespace extensions
45 45
46 #endif // CHROME_BROWSER_EXTENSIONS_WEBSTORE_STARTUP_INSTALLER_H_ 46 #endif // CHROME_BROWSER_EXTENSIONS_WEBSTORE_STARTUP_INSTALLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698