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

Side by Side Diff: components/signin/core/browser/dice_header_helper.h

Issue 2923733003: [signin] Add DICe flow for account consistency requests. (Closed)
Patch Set: Add test for Dice disabled 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
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef COMPONENTS_SIGNIN_CORE_BROWSER_DICE_HEADER_HELPER_H_
6 #define COMPONENTS_SIGNIN_CORE_BROWSER_DICE_HEADER_HELPER_H_
7
8 #include <string>
9
10 #include "components/signin/core/browser/signin_header_helper.h"
11
12 class GURL;
13
14 namespace signin {
15
16 extern const char kDiceRequestHeader[];
17
18 // SigninHeaderHelper implementation managing the Dice header.
19 class DiceHeaderHelper : public SigninHeaderHelper {
20 private:
21 // SigninHeaderHelper implementation:
22 bool IsUrlEligibleForRequestHeader(const GURL& url) override;
23 std::string BuildRequestHeader(bool is_header_request,
24 const GURL& url,
25 const std::string& account_id,
26 int profile_mode_mask) override;
27 };
28
29 } // namespace signin
30
31 #endif // COMPONENTS_SIGNIN_CORE_BROWSER_DICE_HEADER_HELPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698