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

Unified Diff: chrome/browser/extensions/webstore_installer_unittest.cc

Issue 333353005: Move OmahaQueryParams to a component and add a delegate interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 6 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/extensions/webstore_installer_unittest.cc
diff --git a/chrome/browser/extensions/webstore_installer_unittest.cc b/chrome/browser/extensions/webstore_installer_unittest.cc
index c1170035afc09e9115eafbf082887965a1fc6dd9..fbc48cbe14588c1b97bf5c83cc981a816226edfb 100644
--- a/chrome/browser/extensions/webstore_installer_unittest.cc
+++ b/chrome/browser/extensions/webstore_installer_unittest.cc
@@ -6,13 +6,14 @@
#include "base/strings/stringprintf.h"
#include "chrome/browser/extensions/webstore_installer.h"
-#include "chrome/browser/omaha_query_params/omaha_query_params.h"
+#include "chrome/browser/omaha_query_params/chrome_omaha_query_params_delegate.h"
+#include "components/omaha_query_params/omaha_query_params.h"
#include "extensions/common/id_util.h"
#include "net/base/escape.h"
#include "testing/gtest/include/gtest/gtest.h"
using base::StringPrintf;
-using chrome::OmahaQueryParams;
+using omaha_query_params::OmahaQueryParams;
namespace extensions {
@@ -37,8 +38,9 @@ TEST(WebstoreInstallerTest, PlatformParams) {
Contains(query,
net::EscapeQueryParamValue(
StringPrintf("installsource=%s", source.c_str()), true)));
- EXPECT_TRUE(
- Contains(query, StringPrintf("lang=%s", OmahaQueryParams::GetLang())));
+ EXPECT_TRUE(Contains(
+ query,
+ StringPrintf("lang=%s", ChromeOmahaQueryParamsDelegate::GetLang())));
}
} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698