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

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

Issue 803313003: Rename omaha_client and similar tokens to update_client in all contexts. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: rebase to master Created 5 years, 11 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/extensions/webstore_installer.cc ('k') | chrome/browser/omaha_client/OWNERS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 7b2aa595e3ec4e6ce205082365f969c14a863e7c..e61084a1c83fb7e40842b2d18d0567d727e88f8d 100644
--- a/chrome/browser/extensions/webstore_installer_unittest.cc
+++ b/chrome/browser/extensions/webstore_installer_unittest.cc
@@ -6,14 +6,14 @@
#include "base/strings/stringprintf.h"
#include "chrome/browser/extensions/webstore_installer.h"
-#include "chrome/browser/omaha_client/chrome_omaha_query_params_delegate.h"
+#include "chrome/browser/update_client/chrome_update_query_params_delegate.h"
#include "components/crx_file/id_util.h"
-#include "components/omaha_client/omaha_query_params.h"
+#include "components/update_client/update_query_params.h"
#include "net/base/escape.h"
#include "testing/gtest/include/gtest/gtest.h"
using base::StringPrintf;
-using omaha_client::OmahaQueryParams;
+using update_client::UpdateQueryParams;
namespace extensions {
@@ -29,18 +29,18 @@ TEST(WebstoreInstallerTest, PlatformParams) {
WebstoreInstaller::INSTALL_SOURCE_INLINE);
std::string query = url.query();
EXPECT_TRUE(
- Contains(query, StringPrintf("os=%s", OmahaQueryParams::GetOS())));
+ Contains(query, StringPrintf("os=%s", UpdateQueryParams::GetOS())));
EXPECT_TRUE(
- Contains(query, StringPrintf("arch=%s", OmahaQueryParams::GetArch())));
+ Contains(query, StringPrintf("arch=%s", UpdateQueryParams::GetArch())));
EXPECT_TRUE(Contains(
- query, StringPrintf("nacl_arch=%s", OmahaQueryParams::GetNaclArch())));
+ query, StringPrintf("nacl_arch=%s", UpdateQueryParams::GetNaclArch())));
EXPECT_TRUE(
Contains(query,
net::EscapeQueryParamValue(
StringPrintf("installsource=%s", source.c_str()), true)));
EXPECT_TRUE(Contains(
query,
- StringPrintf("lang=%s", ChromeOmahaQueryParamsDelegate::GetLang())));
+ StringPrintf("lang=%s", ChromeUpdateQueryParamsDelegate::GetLang())));
}
} // namespace extensions
« no previous file with comments | « chrome/browser/extensions/webstore_installer.cc ('k') | chrome/browser/omaha_client/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698