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

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

Issue 2259383002: Consistently use namespaced base::Version in extensions code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 // Used to show the install dialog. 149 // Used to show the install dialog.
150 ExtensionInstallPrompt::ShowDialogCallback show_dialog_callback; 150 ExtensionInstallPrompt::ShowDialogCallback show_dialog_callback;
151 151
152 // The icon to use to display the extension while it is installing. 152 // The icon to use to display the extension while it is installing.
153 gfx::ImageSkia installing_icon; 153 gfx::ImageSkia installing_icon;
154 154
155 // A dummy extension created from |manifest|; 155 // A dummy extension created from |manifest|;
156 scoped_refptr<Extension> dummy_extension; 156 scoped_refptr<Extension> dummy_extension;
157 157
158 // Required minimum version. 158 // Required minimum version.
159 std::unique_ptr<Version> minimum_version; 159 std::unique_ptr<base::Version> minimum_version;
160 160
161 // The authuser index required to download the item being installed. May be 161 // The authuser index required to download the item being installed. May be
162 // the empty string, in which case no authuser parameter is used. 162 // the empty string, in which case no authuser parameter is used.
163 std::string authuser; 163 std::string authuser;
164 164
165 private: 165 private:
166 Approval(); 166 Approval();
167 }; 167 };
168 168
169 // Gets the Approval associated with the |download|, or NULL if there's none. 169 // Gets the Approval associated with the |download|, or NULL if there's none.
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 std::list<SharedModuleInfo::ImportInfo> pending_modules_; 280 std::list<SharedModuleInfo::ImportInfo> pending_modules_;
281 // Total extension modules we need download and install (the main module and 281 // Total extension modules we need download and install (the main module and
282 // depedences). 282 // depedences).
283 int total_modules_; 283 int total_modules_;
284 bool download_started_; 284 bool download_started_;
285 }; 285 };
286 286
287 } // namespace extensions 287 } // namespace extensions
288 288
289 #endif // CHROME_BROWSER_EXTENSIONS_WEBSTORE_INSTALLER_H_ 289 #endif // CHROME_BROWSER_EXTENSIONS_WEBSTORE_INSTALLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/updater/local_extension_cache.cc ('k') | chrome/browser/extensions/webstore_installer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698