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)); |
} |