Commit 5539a960 authored by Hiroki Sato's avatar Hiroki Sato Committed by Commit Bot

Replace CHROMEOS macro with OS_CHROMEOS

CHROMEOS macro is defined in third_party/webrtc.
This CL replaces it with more appropriate macro.

Bug: None
Change-Id: Ia62a2a1e4b129f7aef7aadb2e7d8158ff06b22f3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2022045Reviewed-by: default avatarDavid Trainor <dtrainor@chromium.org>
Commit-Queue: Hiroki Sato <hirokisato@chromium.org>
Cr-Commit-Position: refs/heads/master@{#735660}
parent bd2231e3
......@@ -59,7 +59,7 @@ std::unique_ptr<download::Client> CreateBackgroundFetchDownloadClient(
return std::make_unique<BackgroundFetchDownloadClient>(profile);
}
#if defined(CHROMEOS)
#if defined(OS_CHROMEOS)
std::unique_ptr<download::Client> CreatePluginVmImageDownloadClient(
Profile* profile) {
return std::make_unique<plugin_vm::PluginVmImageDownloadClient>(profile);
......@@ -139,7 +139,7 @@ std::unique_ptr<KeyedService> DownloadServiceFactory::BuildServiceInstanceFor(
download::DownloadClient::BACKGROUND_FETCH,
base::BindOnce(&CreateBackgroundFetchDownloadClient), key)));
#if defined(CHROMEOS)
#if defined(OS_CHROMEOS)
if (!key->IsOffTheRecord()) {
clients->insert(std::make_pair(
download::DownloadClient::PLUGIN_VM_IMAGE,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment