| Index: chrome/browser/ui/browser_commands.cc
|
| diff --git a/chrome/browser/ui/browser_commands.cc b/chrome/browser/ui/browser_commands.cc
|
| index 077e4833d47dbe10482e23e6eef62e83dd803b3a..285a38281ab495484b0677550b8f9e27b9dc3df7 100644
|
| --- a/chrome/browser/ui/browser_commands.cc
|
| +++ b/chrome/browser/ui/browser_commands.cc
|
| @@ -87,6 +87,7 @@
|
| #include "extensions/features/features.h"
|
| #include "net/base/escape.h"
|
| #include "printing/features/features.h"
|
| +#include "rlz/features/features.h"
|
| #include "ui/events/keycodes/keyboard_codes.h"
|
|
|
| #if BUILDFLAG(ENABLE_EXTENSIONS)
|
| @@ -110,7 +111,7 @@
|
| #endif // BUILDFLAG(ENABLE_PRINT_PREVIEW)
|
| #endif // BUILDFLAG(ENABLE_PRINTING)
|
|
|
| -#if defined(ENABLE_RLZ)
|
| +#if BUILDFLAG(ENABLE_RLZ)
|
| #include "components/rlz/rlz_tracker.h" // nogncheck
|
| #endif
|
|
|
| @@ -473,7 +474,7 @@ void Home(Browser* browser, WindowOpenDisposition disposition) {
|
| content::RecordAction(UserMetricsAction("Home"));
|
|
|
| std::string extra_headers;
|
| -#if defined(ENABLE_RLZ)
|
| +#if BUILDFLAG(ENABLE_RLZ)
|
| // If the home page is a Google home page, add the RLZ header to the request.
|
| PrefService* pref_service = browser->profile()->GetPrefs();
|
| if (pref_service) {
|
| @@ -483,7 +484,7 @@ void Home(Browser* browser, WindowOpenDisposition disposition) {
|
| rlz::RLZTracker::ChromeHomePage());
|
| }
|
| }
|
| -#endif // defined(ENABLE_RLZ)
|
| +#endif // BUILDFLAG(ENABLE_RLZ)
|
|
|
| GURL url = browser->profile()->GetHomePage();
|
|
|
|
|