summaryrefslogtreecommitdiffstats
path: root/chrome/common/pref_names.h
diff options
context:
space:
mode:
authorbrettw <brettw@chromium.org>2015-11-25 14:24:44 -0800
committerCommit bot <commit-bot@chromium.org>2015-11-25 22:25:43 +0000
commitc7cde6acb654b2c9cef527c0e8ac262d480c9f06 (patch)
tree1732b7fd0e4832ea9b5e122b80dd74e45e50a6d0 /chrome/common/pref_names.h
parentd4bd2aafb9eb736fa1cf3844cb389c30d91aa7db (diff)
downloadchromium_src-c7cde6acb654b2c9cef527c0e8ac262d480c9f06.zip
chromium_src-c7cde6acb654b2c9cef527c0e8ac262d480c9f06.tar.gz
chromium_src-c7cde6acb654b2c9cef527c0e8ac262d480c9f06.tar.bz2
Revert of New build flag system, convert Google Now flag (patchset #2 id:20001 of https://codereview.chromium.org/1475513006/ )
Reason for revert: https://build.chromium.org/p/chromium.webkit/builders/WebKit%20Win%20x64%20Builder%20%28dbg%29/builds/69779/steps/compile/logs/stdio Original issue's description: > New build flag system, convert Google Now flag > > This generates headers with build flags rather than forcing them all to be global. It includes an accessor wrapper so that references to the flags will fail if the proper header is not included. > > Converts Google Now to use this and remove the global google now define and grit define. > > Adds support for grit define values of "true" and "false" for ease of integration with GN (they are mapped to the corresponding Python "True" and "False"). > > Adds dependencies from the main gyp targets to the new generated feature define target. Since GYP only does hard dependencies one level, this should reduce the chance that somebody adds more of these cases and forces to add a dependency. > > Reland of https://codereview.chromium.org/1458653002/ > TBR=mark@chromium.org > > Committed: https://crrev.com/cbc1cd295bc85219ad89326457cd7f5cf003d41c > Cr-Commit-Position: refs/heads/master@{#361741} TBR=mark@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Review URL: https://codereview.chromium.org/1480693003 Cr-Commit-Position: refs/heads/master@{#361749}
Diffstat (limited to 'chrome/common/pref_names.h')
-rw-r--r--chrome/common/pref_names.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/common/pref_names.h b/chrome/common/pref_names.h
index 79e1d12a..f82326b 100644
--- a/chrome/common/pref_names.h
+++ b/chrome/common/pref_names.h
@@ -10,7 +10,6 @@
#include <stddef.h>
#include "build/build_config.h"
-#include "chrome/common/features.h"
namespace prefs {
@@ -558,7 +557,7 @@ extern const char kGeolocationAccessToken[];
extern const char kGeolocationEnabled[];
#endif
-#if BUILDFLAG(ENABLE_GOOGLE_NOW)
+#if defined(ENABLE_GOOGLE_NOW)
extern const char kGoogleGeolocationAccessEnabled[];
#endif
extern const char kGoogleNowLauncherEnabled[];