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

Side by Side Diff: chrome/browser/apps/ephemeral_app_launcher.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
« no previous file with comments | « no previous file | chrome/browser/apps/ephemeral_app_launcher.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_APPS_EPHEMERAL_APP_LAUNCHER_H_ 5 #ifndef CHROME_BROWSER_APPS_EPHEMERAL_APP_LAUNCHER_H_
6 #define CHROME_BROWSER_APPS_EPHEMERAL_APP_LAUNCHER_H_ 6 #define CHROME_BROWSER_APPS_EPHEMERAL_APP_LAUNCHER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 virtual ~EphemeralAppLauncher(); 63 virtual ~EphemeralAppLauncher();
64 64
65 void LaunchApp(const extensions::Extension* extension) const; 65 void LaunchApp(const extensions::Extension* extension) const;
66 66
67 // WebstoreStandaloneInstaller implementation. 67 // WebstoreStandaloneInstaller implementation.
68 virtual bool CheckRequestorAlive() const OVERRIDE; 68 virtual bool CheckRequestorAlive() const OVERRIDE;
69 virtual const GURL& GetRequestorURL() const OVERRIDE; 69 virtual const GURL& GetRequestorURL() const OVERRIDE;
70 virtual bool ShouldShowPostInstallUI() const OVERRIDE; 70 virtual bool ShouldShowPostInstallUI() const OVERRIDE;
71 virtual bool ShouldShowAppInstalledBubble() const OVERRIDE; 71 virtual bool ShouldShowAppInstalledBubble() const OVERRIDE;
72 virtual content::WebContents* GetWebContents() const OVERRIDE; 72 virtual content::WebContents* GetWebContents() const OVERRIDE;
73 virtual scoped_ptr<ExtensionInstallPrompt::Prompt> 73 virtual scoped_refptr<ExtensionInstallPrompt::Prompt> CreateInstallPrompt()
74 CreateInstallPrompt() const OVERRIDE; 74 const OVERRIDE;
75 virtual bool CheckInlineInstallPermitted( 75 virtual bool CheckInlineInstallPermitted(
76 const base::DictionaryValue& webstore_data, 76 const base::DictionaryValue& webstore_data,
77 std::string* error) const OVERRIDE; 77 std::string* error) const OVERRIDE;
78 virtual bool CheckRequestorPermitted( 78 virtual bool CheckRequestorPermitted(
79 const base::DictionaryValue& webstore_data, 79 const base::DictionaryValue& webstore_data,
80 std::string* error) const OVERRIDE; 80 std::string* error) const OVERRIDE;
81 virtual bool CheckInstallValid( 81 virtual bool CheckInstallValid(
82 const base::DictionaryValue& manifest, 82 const base::DictionaryValue& manifest,
83 std::string* error) OVERRIDE; 83 std::string* error) OVERRIDE;
84 virtual scoped_ptr<ExtensionInstallPrompt> CreateInstallUI() OVERRIDE; 84 virtual scoped_ptr<ExtensionInstallPrompt> CreateInstallUI() OVERRIDE;
(...skipping 13 matching lines...) Expand all
98 98
99 // Created in CheckInstallValid(). 99 // Created in CheckInstallValid().
100 scoped_refptr<extensions::Extension> extension_; 100 scoped_refptr<extensions::Extension> extension_;
101 101
102 scoped_ptr<ExtensionEnableFlow> extension_enable_flow_; 102 scoped_ptr<ExtensionEnableFlow> extension_enable_flow_;
103 103
104 DISALLOW_COPY_AND_ASSIGN(EphemeralAppLauncher); 104 DISALLOW_COPY_AND_ASSIGN(EphemeralAppLauncher);
105 }; 105 };
106 106
107 #endif // CHROME_BROWSER_APPS_EPHEMERAL_APP_LAUNCHER_H_ 107 #endif // CHROME_BROWSER_APPS_EPHEMERAL_APP_LAUNCHER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/apps/ephemeral_app_launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698