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

Unified Diff: chrome/browser/component_updater/component_updater_ping_manager.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_ping_manager.h
diff --git a/chrome/browser/component_updater/component_updater_ping_manager.h b/chrome/browser/component_updater/component_updater_ping_manager.h
index 1bb0a8b9dd3f5fd442f991d68c7212168ffd71f5..87575439dbbbe755aebce3f98ddb90396047704a 100644
--- a/chrome/browser/component_updater/component_updater_ping_manager.h
+++ b/chrome/browser/component_updater/component_updater_ping_manager.h
@@ -20,13 +20,17 @@ struct CrxUpdateItem;
// and sends fire-and-forget pings when handling these events.
class PingManager {
public:
- PingManager(const GURL& ping_url,
+ PingManager(const std::string& application_version,
+ const std::string& platform_name,
+ const GURL& ping_url,
net::URLRequestContextGetter* url_request_context_getter);
~PingManager();
void OnUpdateComplete(const CrxUpdateItem* item);
private:
+ const std::string application_version_;
+ const std::string platform_name_;
const GURL ping_url_;
// This member is not owned by this class.

Powered by Google App Engine
This is Rietveld 408576698