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

Side by Side Diff: chrome/browser/signin/chrome_signin_helper.h

Issue 2918403009: [Dice] Parse the Dice response header (Closed)
Patch Set: Remove logout url 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 CHROME_BROWSER_SIGNIN_CHROME_SIGNIN_HELPER_H_ 5 #ifndef CHROME_BROWSER_SIGNIN_CHROME_SIGNIN_HELPER_H_
6 #define CHROME_BROWSER_SIGNIN_CHROME_SIGNIN_HELPER_H_ 6 #define CHROME_BROWSER_SIGNIN_CHROME_SIGNIN_HELPER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 namespace net { 10 namespace net {
(...skipping 13 matching lines...) Expand all
24 // with the exception of requests from gaia webview. Must be called on IO 24 // with the exception of requests from gaia webview. Must be called on IO
25 // thread. 25 // thread.
26 // Returns true if the account consistency header was added to the request. 26 // Returns true if the account consistency header was added to the request.
27 // Removes the header if it is already in the headers but should not be there. 27 // Removes the header if it is already in the headers but should not be there.
28 void FixAccountConsistencyRequestHeader(net::URLRequest* request, 28 void FixAccountConsistencyRequestHeader(net::URLRequest* request,
29 const GURL& redirect_url, 29 const GURL& redirect_url,
30 ProfileIOData* io_data, 30 ProfileIOData* io_data,
31 int child_id, 31 int child_id,
32 int route_id); 32 int route_id);
33 33
34 // Looks for the X-Chrome-Manage-Accounts response header, and if found, 34 // Processes account consistency response headers (X-Chrome-Manage-Accounts and
35 // tries to show the avatar bubble in the browser identified by the 35 // Dice). |redirect_url| is empty if the request is not a redirect.
36 // child/route id. Must be called on IO thread. 36 void ProcessAccountConsistencyResponseHeaders(net::URLRequest* request,
37 void ProcessMirrorResponseHeaderIfExists(net::URLRequest* request, 37 const GURL& redirect_url,
38 ProfileIOData* io_data, 38 ProfileIOData* io_data,
39 int child_id, 39 int child_id,
40 int route_id); 40 int route_id);
41 41
42 }; // namespace signin 42 }; // namespace signin
43 43
44 #endif // CHROME_BROWSER_SIGNIN_CHROME_SIGNIN_HELPER_H_ 44 #endif // CHROME_BROWSER_SIGNIN_CHROME_SIGNIN_HELPER_H_
OLDNEW
« no previous file with comments | « chrome/browser/loader/chrome_resource_dispatcher_host_delegate.cc ('k') | chrome/browser/signin/chrome_signin_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698