| Index: chrome/browser/extensions/api/runtime/chrome_runtime_api_delegate.cc
|
| diff --git a/chrome/browser/extensions/api/runtime/chrome_runtime_api_delegate.cc b/chrome/browser/extensions/api/runtime/chrome_runtime_api_delegate.cc
|
| index 9d9ce57b7a026929dac87c837d4c1c41632f851c..72cc78b5d4252c839e6bc2188bd28edd9424ecc3 100644
|
| --- a/chrome/browser/extensions/api/runtime/chrome_runtime_api_delegate.cc
|
| +++ b/chrome/browser/extensions/api/runtime/chrome_runtime_api_delegate.cc
|
| @@ -4,6 +4,9 @@
|
|
|
| #include "chrome/browser/extensions/api/runtime/chrome_runtime_api_delegate.h"
|
|
|
| +#include <string>
|
| +#include <utility>
|
| +
|
| #include "base/message_loop/message_loop.h"
|
| #include "base/metrics/histogram.h"
|
| #include "base/time/time.h"
|
| @@ -13,7 +16,7 @@
|
| #include "chrome/browser/ui/browser_finder.h"
|
| #include "chrome/browser/ui/browser_navigator.h"
|
| #include "chrome/browser/ui/browser_window.h"
|
| -#include "components/omaha_client/omaha_query_params.h"
|
| +#include "components/update_client/update_query_params.h"
|
| #include "content/public/browser/notification_service.h"
|
| #include "extensions/browser/extension_system.h"
|
| #include "extensions/browser/notification_types.h"
|
| @@ -181,7 +184,7 @@ void ChromeRuntimeAPIDelegate::OpenURL(const GURL& uninstall_url) {
|
| }
|
|
|
| bool ChromeRuntimeAPIDelegate::GetPlatformInfo(PlatformInfo* info) {
|
| - const char* os = omaha_client::OmahaQueryParams::GetOS();
|
| + const char* os = update_client::UpdateQueryParams::GetOS();
|
| if (strcmp(os, "mac") == 0) {
|
| info->os = PlatformInfo::OS_MAC_;
|
| } else if (strcmp(os, "win") == 0) {
|
| @@ -197,7 +200,7 @@ bool ChromeRuntimeAPIDelegate::GetPlatformInfo(PlatformInfo* info) {
|
| return false;
|
| }
|
|
|
| - const char* arch = omaha_client::OmahaQueryParams::GetArch();
|
| + const char* arch = update_client::UpdateQueryParams::GetArch();
|
| if (strcmp(arch, "arm") == 0) {
|
| info->arch = PlatformInfo::ARCH_ARM;
|
| } else if (strcmp(arch, "x86") == 0) {
|
| @@ -209,7 +212,7 @@ bool ChromeRuntimeAPIDelegate::GetPlatformInfo(PlatformInfo* info) {
|
| return false;
|
| }
|
|
|
| - const char* nacl_arch = omaha_client::OmahaQueryParams::GetNaclArch();
|
| + const char* nacl_arch = update_client::UpdateQueryParams::GetNaclArch();
|
| if (strcmp(nacl_arch, "arm") == 0) {
|
| info->nacl_arch = PlatformInfo::NACL_ARCH_ARM;
|
| } else if (strcmp(nacl_arch, "x86-32") == 0) {
|
|
|