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

Unified Diff: chrome/browser/extensions/updater/extension_updater.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
Index: chrome/browser/extensions/updater/extension_updater.cc
diff --git a/chrome/browser/extensions/updater/extension_updater.cc b/chrome/browser/extensions/updater/extension_updater.cc
index 6561c750c2659e7a25fb4123d22865a66a95d507..0a373a964284bd2a8b869dbecee017d491c3382b 100644
--- a/chrome/browser/extensions/updater/extension_updater.cc
+++ b/chrome/browser/extensions/updater/extension_updater.cc
@@ -6,6 +6,7 @@
#include <algorithm>
#include <set>
+#include <vector>
#include "base/bind.h"
#include "base/files/file_util.h"
@@ -22,7 +23,7 @@
#include "chrome/browser/extensions/extension_service.h"
#include "chrome/browser/extensions/pending_extension_manager.h"
#include "chrome/browser/profiles/profile.h"
-#include "components/omaha_client/omaha_query_params.h"
+#include "components/update_client/update_query_params.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/notification_details.h"
#include "content/public/browser/notification_service.h"
@@ -44,7 +45,7 @@ using base::TimeDelta;
using content::BrowserThread;
using extensions::Extension;
using extensions::ExtensionSet;
-using omaha_client::OmahaQueryParams;
+using update_client::UpdateQueryParams;
typedef extensions::ExtensionDownloaderDelegate::Error Error;
typedef extensions::ExtensionDownloaderDelegate::PingResult PingResult;
@@ -127,7 +128,7 @@ void DetermineForcedUpdatesOnBlockingPool(
std::string nacl_arch;
if (p->GetString(extensions::manifest_keys::kNaClArch,
&nacl_arch) &&
- nacl_arch == OmahaQueryParams::GetNaclArch()) {
+ nacl_arch == UpdateQueryParams::GetNaclArch()) {
std::string subpath;
if (p->GetString(extensions::manifest_keys::kSubPackagePath,
&subpath)) {
@@ -145,7 +146,7 @@ void DetermineForcedUpdatesOnBlockingPool(
if (force)
forced_updates->insert(extension->id());
- }
+ }
}
BrowserThread::PostTask(
BrowserThread::UI,

Powered by Google App Engine
This is Rietveld 408576698