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

Unified Diff: chrome/browser/sync/sync_stopped_reporter.cc

Issue 1269773002: Cleanup VersionInfo after componentization. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/sync/sync_stopped_reporter.cc
diff --git a/chrome/browser/sync/sync_stopped_reporter.cc b/chrome/browser/sync/sync_stopped_reporter.cc
index 917fe2e19a9f3f0fb97ced88cdf20bb5fed34c0d..b0145f5e3fdec3859f373be8a2fb1cc07fd2d2aa 100644
--- a/chrome/browser/sync/sync_stopped_reporter.cc
+++ b/chrome/browser/sync/sync_stopped_reporter.cc
@@ -12,7 +12,6 @@
#include "base/timer/timer.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/sync/glue/local_device_info_provider_impl.h"
-#include "chrome/common/chrome_version_info.h"
#include "net/base/load_flags.h"
#include "net/http/http_status_code.h"
#include "net/url_request/url_fetcher.h"
@@ -30,9 +29,7 @@ const char kEventEndpoint[] = "event";
const int kRequestTimeoutSeconds = 10;
std::string GetUserAgent() {
- chrome::VersionInfo version_info;
- return browser_sync::LocalDeviceInfoProviderImpl::MakeUserAgentForSyncApi(
- version_info);
+ return browser_sync::LocalDeviceInfoProviderImpl::MakeUserAgentForSyncApi();
}
} // namespace

Powered by Google App Engine
This is Rietveld 408576698