Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(166)

Unified Diff: components/signin/core/browser/signin_header_helper.h

Issue 2946693002: Use GN buildflags and features to configure account consistency (Closed)
Patch Set: fix Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/signin/core/browser/BUILD.gn ('k') | components/signin/core/browser/signin_header_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/signin/core/browser/signin_header_helper.h
diff --git a/components/signin/core/browser/signin_header_helper.h b/components/signin/core/browser/signin_header_helper.h
index c7249b2328f30b8cda4cfea962d63b1b5c2b2ec6..28c57b0b81b1228a5bb8ad0c14fcf483fea990b6 100644
--- a/components/signin/core/browser/signin_header_helper.h
+++ b/components/signin/core/browser/signin_header_helper.h
@@ -8,7 +8,7 @@
#include <map>
#include <string>
-#include "build/build_config.h"
+#include "components/signin/core/common/signin_features.h"
#include "url/gurl.h"
namespace content_settings {
@@ -155,7 +155,7 @@ void AppendOrRemoveAccountConsistentyRequestHeader(
// header.
ManageAccountsParams BuildManageAccountsParams(const std::string& header_value);
-#if !defined(OS_IOS) && !defined(OS_ANDROID)
+#if BUILDFLAG(ENABLE_DICE_SUPPORT)
// Returns the parameters contained in the X-Chrome-ID-Consistency-Response
// response header.
// Returns DiceAction::NONE in case of error (such as missing or malformed
« no previous file with comments | « components/signin/core/browser/BUILD.gn ('k') | components/signin/core/browser/signin_header_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698