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

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

Issue 1395043002: Remove ability for users to launch ephemeral apps. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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_INSTALLER_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_WEBSTORE_INSTALLER_H_
6 #define CHROME_BROWSER_EXTENSIONS_WEBSTORE_INSTALLER_H_ 6 #define CHROME_BROWSER_EXTENSIONS_WEBSTORE_INSTALLER_H_
7 7
8 #include <list> 8 #include <list>
9 #include <string> 9 #include <string>
10 10
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 154
155 // The icon to use to display the extension while it is installing. 155 // The icon to use to display the extension while it is installing.
156 gfx::ImageSkia installing_icon; 156 gfx::ImageSkia installing_icon;
157 157
158 // A dummy extension created from |manifest|; 158 // A dummy extension created from |manifest|;
159 scoped_refptr<Extension> dummy_extension; 159 scoped_refptr<Extension> dummy_extension;
160 160
161 // Required minimum version. 161 // Required minimum version.
162 scoped_ptr<Version> minimum_version; 162 scoped_ptr<Version> minimum_version;
163 163
164 // Ephemeral apps are transiently installed.
165 bool is_ephemeral;
166
167 // The authuser index required to download the item being installed. May be 164 // The authuser index required to download the item being installed. May be
168 // the empty string, in which case no authuser parameter is used. 165 // the empty string, in which case no authuser parameter is used.
169 std::string authuser; 166 std::string authuser;
170 167
171 private: 168 private:
172 Approval(); 169 Approval();
173 }; 170 };
174 171
175 // Gets the Approval associated with the |download|, or NULL if there's none. 172 // Gets the Approval associated with the |download|, or NULL if there's none.
176 // Note that the Approval is owned by |download|. 173 // Note that the Approval is owned by |download|.
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 std::list<SharedModuleInfo::ImportInfo> pending_modules_; 283 std::list<SharedModuleInfo::ImportInfo> pending_modules_;
287 // Total extension modules we need download and install (the main module and 284 // Total extension modules we need download and install (the main module and
288 // depedences). 285 // depedences).
289 int total_modules_; 286 int total_modules_;
290 bool download_started_; 287 bool download_started_;
291 }; 288 };
292 289
293 } // namespace extensions 290 } // namespace extensions
294 291
295 #endif // CHROME_BROWSER_EXTENSIONS_WEBSTORE_INSTALLER_H_ 292 #endif // CHROME_BROWSER_EXTENSIONS_WEBSTORE_INSTALLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/install_tracker_unittest.cc ('k') | chrome/browser/extensions/webstore_installer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698