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

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

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 #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 "chrome/browser/extensions/webstore_install_with_prompt.h" 8 #include "chrome/browser/extensions/webstore_install_with_prompt.h"
9 9
10 namespace extensions { 10 namespace extensions {
(...skipping 12 matching lines...) Expand all
23 bool show_prompt, 23 bool show_prompt,
24 const Callback& callback); 24 const Callback& callback);
25 25
26 protected: 26 protected:
27 friend class base::RefCountedThreadSafe<WebstoreStartupInstaller>; 27 friend class base::RefCountedThreadSafe<WebstoreStartupInstaller>;
28 FRIEND_TEST_ALL_PREFIXES(WebstoreStartupInstallerTest, DomainVerification); 28 FRIEND_TEST_ALL_PREFIXES(WebstoreStartupInstallerTest, DomainVerification);
29 29
30 virtual ~WebstoreStartupInstaller(); 30 virtual ~WebstoreStartupInstaller();
31 31
32 // Implementations of WebstoreStandaloneInstaller Template Method's hooks. 32 // Implementations of WebstoreStandaloneInstaller Template Method's hooks.
33 virtual scoped_ptr<ExtensionInstallPrompt::Prompt> 33 virtual scoped_refptr<ExtensionInstallPrompt::Prompt> CreateInstallPrompt()
34 CreateInstallPrompt() const OVERRIDE; 34 const OVERRIDE;
35 35
36 private: 36 private:
37 bool show_prompt_; 37 bool show_prompt_;
38 38
39 DISALLOW_IMPLICIT_CONSTRUCTORS(WebstoreStartupInstaller); 39 DISALLOW_IMPLICIT_CONSTRUCTORS(WebstoreStartupInstaller);
40 }; 40 };
41 41
42 } // namespace extensions 42 } // namespace extensions
43 43
44 #endif // CHROME_BROWSER_EXTENSIONS_WEBSTORE_STARTUP_INSTALLER_H_ 44 #endif // CHROME_BROWSER_EXTENSIONS_WEBSTORE_STARTUP_INSTALLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/webstore_standalone_installer.cc ('k') | chrome/browser/extensions/webstore_startup_installer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698