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

Unified Diff: chrome/browser/update_client/chrome_update_query_params_delegate_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
Index: chrome/browser/update_client/chrome_update_query_params_delegate_unittest.cc
diff --git a/chrome/browser/update_client/chrome_update_query_params_delegate_unittest.cc b/chrome/browser/update_client/chrome_update_query_params_delegate_unittest.cc
index 76026d300e9bfe99b8bc23becc82d3331ce60c3a..5525d88b1cb3723d5c776793fd5d4d83d7db3736 100644
--- a/chrome/browser/update_client/chrome_update_query_params_delegate_unittest.cc
+++ b/chrome/browser/update_client/chrome_update_query_params_delegate_unittest.cc
@@ -6,8 +6,8 @@
#include "base/strings/stringprintf.h"
#include "chrome/browser/update_client/chrome_update_query_params_delegate.h"
-#include "chrome/common/chrome_version_info.h"
#include "components/update_client/update_query_params.h"
+#include "components/version_info/version_info.h"
#include "testing/gtest/include/gtest/gtest.h"
using base::StringPrintf;
@@ -37,9 +37,9 @@ void TestParams(update_client::UpdateQueryParams::ProdId prod_id) {
params,
StringPrintf("prodchannel=%s",
ChromeUpdateQueryParamsDelegate::GetChannelString())));
- EXPECT_TRUE(Contains(
- params,
- StringPrintf("prodversion=%s", chrome::VersionInfo().Version().c_str())));
+ EXPECT_TRUE(
+ Contains(params, StringPrintf("prodversion=%s",
+ version_info::GetVersionNumber().c_str())));
EXPECT_TRUE(Contains(
params,
StringPrintf("lang=%s", ChromeUpdateQueryParamsDelegate::GetLang())));
« no previous file with comments | « chrome/browser/update_client/chrome_update_query_params_delegate.cc ('k') | chrome/browser/upgrade_detector_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698