Commit c4aedb7d authored by Yuta Hijikata's avatar Yuta Hijikata Committed by Chromium LUCI CQ

Lacros: Rename deprecated macro name.

This change renames deprecated macro IS_LACROS to IS_CHROMEOS_LACROS.

Bug: 1052397
Change-Id: I55fe9e33983a75f340d953b12c8c72d69b7eee6b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2623733Reviewed-by: default avatarAvi Drissman <avi@chromium.org>
Commit-Queue: Yuta Hijikata <ythjkt@chromium.org>
Cr-Commit-Position: refs/heads/master@{#842880}
parent c24f67ea
......@@ -33,7 +33,7 @@ void ChromeBrowserMainExtraPartsOzone::PreEarlyInitialization() {
void ChromeBrowserMainExtraPartsOzone::PostMainMessageLoopStart() {
auto shutdown_cb = base::BindOnce([] {
#if BUILDFLAG(IS_LACROS)
#if BUILDFLAG(IS_CHROMEOS_LACROS)
// Force a crash so that a crash report is generated.
LOG(FATAL) << "Wayland protocol error.";
#else
......
......@@ -97,7 +97,7 @@
#include "extensions/common/constants.h"
#endif
#if BUILDFLAG(IS_LACROS)
#if BUILDFLAG(IS_CHROMEOS_LACROS)
#include "chrome/browser/lacros/cert_db_initializer_factory.h"
#include "chrome/browser/lacros/client_cert_store_lacros.h"
#endif
......@@ -584,7 +584,7 @@ ProfileNetworkContextService::CreateClientCertStore() {
std::make_unique<net::ClientCertStoreNSS>(
base::BindRepeating(&CreateCryptoModuleBlockingPasswordDelegate,
kCryptoModulePasswordClientAuth));
#if BUILDFLAG(IS_LACROS)
#if BUILDFLAG(IS_CHROMEOS_LACROS)
CertDbInitializer* cert_db_initializer =
CertDbInitializerFactory::GetForProfileIfExists(profile_);
if (!cert_db_initializer || !profile_->IsMainProfile()) {
......@@ -595,7 +595,7 @@ ProfileNetworkContextService::CreateClientCertStore() {
store = std::make_unique<ClientCertStoreLacros>(cert_db_initializer,
std::move(store));
#endif // BUILDFLAG(IS_LACROS)
#endif // BUILDFLAG(IS_CHROMEOS_LACROS)
return store;
#elif defined(OS_WIN)
......
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