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

Unified Diff: chrome/browser/sync/sync_stopped_reporter_unittest.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
« no previous file with comments | « chrome/browser/sync/sync_stopped_reporter.cc ('k') | chrome/browser/tracing/crash_service_uploader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/sync_stopped_reporter_unittest.cc
diff --git a/chrome/browser/sync/sync_stopped_reporter_unittest.cc b/chrome/browser/sync/sync_stopped_reporter_unittest.cc
index 5e9d6d67b0cf0817c0bb1c840dd78ab3c623ee83..eab9f14e3b48a0557d49cb04bb5c1f4e8134782a 100644
--- a/chrome/browser/sync/sync_stopped_reporter_unittest.cc
+++ b/chrome/browser/sync/sync_stopped_reporter_unittest.cc
@@ -9,7 +9,6 @@
#include "base/test/test_simple_task_runner.h"
#include "base/threading/non_thread_safe.h"
#include "chrome/browser/sync/glue/local_device_info_provider_impl.h"
-#include "chrome/common/chrome_version_info.h"
#include "net/http/http_status_code.h"
#include "net/url_request/test_url_fetcher_factory.h"
#include "net/url_request/url_request_test_util.h"
@@ -61,9 +60,7 @@ class SyncStoppedReporterTest : public testing::Test {
}
static std::string GetUserAgent() {
- chrome::VersionInfo version_info;
- return browser_sync::LocalDeviceInfoProviderImpl::MakeUserAgentForSyncApi(
- version_info);
+ return browser_sync::LocalDeviceInfoProviderImpl::MakeUserAgentForSyncApi();
}
private:
« no previous file with comments | « chrome/browser/sync/sync_stopped_reporter.cc ('k') | chrome/browser/tracing/crash_service_uploader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698