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

Side by Side Diff: chrome/browser/extensions/webstore_reinstaller.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_REINSTALLER_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_WEBSTORE_REINSTALLER_H_
6 #define CHROME_BROWSER_EXTENSIONS_WEBSTORE_REINSTALLER_H_ 6 #define CHROME_BROWSER_EXTENSIONS_WEBSTORE_REINSTALLER_H_
7 7
8 #include "chrome/browser/extensions/webstore_standalone_installer.h" 8 #include "chrome/browser/extensions/webstore_standalone_installer.h"
9 #include "content/public/browser/web_contents_observer.h" 9 #include "content/public/browser/web_contents_observer.h"
10 10
(...skipping 16 matching lines...) Expand all
27 27
28 private: 28 private:
29 ~WebstoreReinstaller() override; 29 ~WebstoreReinstaller() override;
30 30
31 // WebstoreStandaloneInstaller: 31 // WebstoreStandaloneInstaller:
32 bool CheckRequestorAlive() const override; 32 bool CheckRequestorAlive() const override;
33 const GURL& GetRequestorURL() const override; 33 const GURL& GetRequestorURL() const override;
34 bool ShouldShowPostInstallUI() const override; 34 bool ShouldShowPostInstallUI() const override;
35 bool ShouldShowAppInstalledBubble() const override; 35 bool ShouldShowAppInstalledBubble() const override;
36 content::WebContents* GetWebContents() const override; 36 content::WebContents* GetWebContents() const override;
37 scoped_ptr<ExtensionInstallPrompt::Prompt> CreateInstallPrompt() 37 std::unique_ptr<ExtensionInstallPrompt::Prompt> CreateInstallPrompt()
38 const override; 38 const override;
39 bool CheckInlineInstallPermitted(const base::DictionaryValue& webstore_data, 39 bool CheckInlineInstallPermitted(const base::DictionaryValue& webstore_data,
40 std::string* error) const override; 40 std::string* error) const override;
41 bool CheckRequestorPermitted(const base::DictionaryValue& webstore_data, 41 bool CheckRequestorPermitted(const base::DictionaryValue& webstore_data,
42 std::string* error) const override; 42 std::string* error) const override;
43 void OnInstallPromptDone(ExtensionInstallPrompt::Result result) override; 43 void OnInstallPromptDone(ExtensionInstallPrompt::Result result) override;
44 44
45 // content::WebContentsObserver: 45 // content::WebContentsObserver:
46 void WebContentsDestroyed() override; 46 void WebContentsDestroyed() override;
47 47
48 // Called once all data from the old extension installation is removed. 48 // Called once all data from the old extension installation is removed.
49 void OnDeletionDone(); 49 void OnDeletionDone();
50 }; 50 };
51 51
52 } // namespace extensions 52 } // namespace extensions
53 53
54 #endif // CHROME_BROWSER_EXTENSIONS_WEBSTORE_REINSTALLER_H_ 54 #endif // CHROME_BROWSER_EXTENSIONS_WEBSTORE_REINSTALLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/webstore_installer_test.h ('k') | chrome/browser/extensions/webstore_reinstaller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698