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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_HEADER_HELPER_H_ 5 #ifndef COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_HEADER_HELPER_H_
6 #define COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_HEADER_HELPER_H_ 6 #define COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_HEADER_HELPER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
11 #include "build/build_config.h" 11 #include "components/signin/core/common/signin_features.h"
12 #include "url/gurl.h" 12 #include "url/gurl.h"
13 13
14 namespace content_settings { 14 namespace content_settings {
15 class CookieSettings; 15 class CookieSettings;
16 } 16 }
17 17
18 namespace net { 18 namespace net {
19 class URLRequest; 19 class URLRequest;
20 } 20 }
21 21
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 const GURL& redirect_url, 148 const GURL& redirect_url,
149 const std::string& account_id, 149 const std::string& account_id,
150 bool sync_enabled, 150 bool sync_enabled,
151 const content_settings::CookieSettings* cookie_settings, 151 const content_settings::CookieSettings* cookie_settings,
152 int profile_mode_mask); 152 int profile_mode_mask);
153 153
154 // Returns the parameters contained in the X-Chrome-Manage-Accounts response 154 // Returns the parameters contained in the X-Chrome-Manage-Accounts response
155 // header. 155 // header.
156 ManageAccountsParams BuildManageAccountsParams(const std::string& header_value); 156 ManageAccountsParams BuildManageAccountsParams(const std::string& header_value);
157 157
158 #if !defined(OS_IOS) && !defined(OS_ANDROID) 158 #if BUILDFLAG(ENABLE_DICE_SUPPORT)
159 // Returns the parameters contained in the X-Chrome-ID-Consistency-Response 159 // Returns the parameters contained in the X-Chrome-ID-Consistency-Response
160 // response header. 160 // response header.
161 // Returns DiceAction::NONE in case of error (such as missing or malformed 161 // Returns DiceAction::NONE in case of error (such as missing or malformed
162 // parameters). 162 // parameters).
163 DiceResponseParams BuildDiceResponseParams(const std::string& header_value); 163 DiceResponseParams BuildDiceResponseParams(const std::string& header_value);
164 #endif 164 #endif
165 165
166 } // namespace signin 166 } // namespace signin
167 167
168 #endif // COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_HEADER_HELPER_H_ 168 #endif // COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_HEADER_HELPER_H_
OLDNEW
« 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