| Index: chrome/browser/ui/webui/options/browser_options_handler.cc
|
| diff --git a/chrome/browser/ui/webui/options/browser_options_handler.cc b/chrome/browser/ui/webui/options/browser_options_handler.cc
|
| index 277d5d35a6445ad7a22814177d13af8c5990eef2..d3683e354c7cf5d75d2b654c0dd91bec7f875b0c 100644
|
| --- a/chrome/browser/ui/webui/options/browser_options_handler.cc
|
| +++ b/chrome/browser/ui/webui/options/browser_options_handler.cc
|
| @@ -106,6 +106,7 @@
|
| #include "extensions/browser/extension_registry.h"
|
| #include "google_apis/gaia/gaia_auth_util.h"
|
| #include "google_apis/gaia/google_service_auth_error.h"
|
| +#include "printing/features/features.h"
|
| #include "third_party/skia/include/core/SkBitmap.h"
|
| #include "ui/base/l10n/l10n_util.h"
|
| #include "ui/base/webui/web_ui_util.h"
|
| @@ -570,7 +571,7 @@ void BrowserOptionsHandler::GetLocalizedValues(base::DictionaryValue* values) {
|
| IDS_OPTIONS_ENABLE_DO_NOT_TRACK_BUBBLE_TITLE);
|
| RegisterTitle(values, "spellingConfirmOverlay",
|
| IDS_CONTENT_CONTEXT_SPELLING_ASK_GOOGLE);
|
| -#if defined(ENABLE_PRINT_PREVIEW)
|
| +#if BUILDFLAG(ENABLE_PRINT_PREVIEW)
|
| RegisterCloudPrintValues(values);
|
| #endif
|
|
|
| @@ -756,7 +757,7 @@ void BrowserOptionsHandler::GetLocalizedValues(base::DictionaryValue* values) {
|
| #endif
|
| }
|
|
|
| -#if defined(ENABLE_PRINT_PREVIEW)
|
| +#if BUILDFLAG(ENABLE_PRINT_PREVIEW)
|
| void BrowserOptionsHandler::RegisterCloudPrintValues(
|
| base::DictionaryValue* values) {
|
| values->SetString("cloudPrintOptionLabel",
|
| @@ -764,7 +765,7 @@ void BrowserOptionsHandler::RegisterCloudPrintValues(
|
| IDS_CLOUD_PRINT_CHROMEOS_OPTION_LABEL,
|
| l10n_util::GetStringUTF16(IDS_GOOGLE_CLOUD_PRINT)));
|
| }
|
| -#endif // defined(ENABLE_PRINT_PREVIEW)
|
| +#endif // BUILDFLAG(ENABLE_PRINT_PREVIEW)
|
|
|
| void BrowserOptionsHandler::RegisterMessages() {
|
| web_ui()->RegisterMessageCallback(
|
|
|