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

Unified Diff: chrome/browser/component_updater/component_updater_service.h

Issue 334783002: Componentize component_updater: Move some paths/constants to component. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge origin/master 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/component_updater/component_updater_service.h
diff --git a/chrome/browser/component_updater/component_updater_service.h b/chrome/browser/component_updater/component_updater_service.h
index 2f2fca631c203e8554c9efd5c0cb7ed357f0a065..a57f12c2038c03c77dbb92fb99af8573dc0a66e8 100644
--- a/chrome/browser/component_updater/component_updater_service.h
+++ b/chrome/browser/component_updater/component_updater_service.h
@@ -71,7 +71,7 @@ class ComponentInstaller {
struct CrxComponent {
std::vector<uint8> pk_hash;
ComponentInstaller* installer;
- Version version;
+ base::Version version;
std::string fingerprint;
std::string name;
bool allow_background_download;
@@ -250,7 +250,9 @@ class OnDemandUpdater {
// Creates the component updater. You must pass a valid |config| allocated on
// the heap which the component updater will own.
ComponentUpdateService* ComponentUpdateServiceFactory(
- ComponentUpdateService::Configurator* config);
+ ComponentUpdateService::Configurator* config,
+ const std::string& application_version,
Sorin Jianu 2014/06/19 00:48:22 we can get rid of the members if we can make them
+ const std::string& platform_name);
} // namespace component_updater
#endif // CHROME_BROWSER_COMPONENT_UPDATER_COMPONENT_UPDATER_SERVICE_H_

Powered by Google App Engine
This is Rietveld 408576698