Commit 0c92315e authored by Sean McAllister's avatar Sean McAllister Committed by Commit Bot

Refactor OS_LINUX preprocessor directive for LaCrOS effort.

Currently, ChromeOS defines the OS_LINUX directive as well as
OS_CHROMEOS.  We're working to separate these two, so we're
making the fact that OS_LINUX == OS_LINUX || OS_CHROMEOS
explicit.

This is changes for /components/safe_browsing

This CL was uploaded by git cl split.

R=drubery@chromium.org

Bug: 1110266
Change-Id: Id895b4785eeea1828e2e2c753d24872412cf5984
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2370292Reviewed-by: default avatarDaniel Rubery <drubery@chromium.org>
Commit-Queue: Sean McAllister <smcallis@google.com>
Cr-Commit-Position: refs/heads/master@{#801275}
parent fbad027d
...@@ -116,7 +116,7 @@ std::ostream& operator<<(std::ostream& os, const ListIdentifier& id) { ...@@ -116,7 +116,7 @@ std::ostream& operator<<(std::ostream& os, const ListIdentifier& id) {
PlatformType GetCurrentPlatformType() { PlatformType GetCurrentPlatformType() {
#if defined(OS_WIN) #if defined(OS_WIN)
return WINDOWS_PLATFORM; return WINDOWS_PLATFORM;
#elif defined(OS_LINUX) #elif defined(OS_LINUX) || defined(OS_CHROMEOS)
return LINUX_PLATFORM; return LINUX_PLATFORM;
#elif defined(OS_IOS) #elif defined(OS_IOS)
return IOS_PLATFORM; return IOS_PLATFORM;
......
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