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

Unified Diff: chrome/common/sync_util_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/common/sync_util.cc ('k') | chrome/renderer/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/sync_util_unittest.cc
diff --git a/chrome/common/sync_util_unittest.cc b/chrome/common/sync_util_unittest.cc
index 88a0b0c55721276b08d95881070e9ac93bd57f1e..d9325cff863972a7df46837611403407f59f515f 100644
--- a/chrome/common/sync_util_unittest.cc
+++ b/chrome/common/sync_util_unittest.cc
@@ -7,7 +7,6 @@
#include "base/command_line.h"
#include "base/strings/string_util.h"
#include "chrome/common/chrome_switches.h"
-#include "chrome/common/chrome_version_info.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"
@@ -39,8 +38,7 @@ TEST(SyncUtilTest, GetSyncServiceURLWithBadCommandLineSwitch) {
}
TEST(SyncUtilTest, MakeUserAgentForSync) {
- chrome::VersionInfo version_info;
- std::string user_agent = MakeUserAgentForSync(version_info, "TEST");
+ std::string user_agent = MakeUserAgentForSync("TEST");
ASSERT_TRUE(base::StartsWith(user_agent, "Chrome TEST",
base::CompareCase::SENSITIVE));
}
« no previous file with comments | « chrome/common/sync_util.cc ('k') | chrome/renderer/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698