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

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

Issue 481593002: Remove child/route parameters from ShouldBeginRequest and RequestBeginning. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: android build Created 6 years, 4 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 | Annotate | Revision Log
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_SIGNIN_HEADER_HELPER_H_ 5 #ifndef CHROME_BROWSER_SIGNIN_SIGNIN_HEADER_HELPER_H_
6 #define CHROME_BROWSER_SIGNIN_SIGNIN_HEADER_HELPER_H_ 6 #define CHROME_BROWSER_SIGNIN_SIGNIN_HEADER_HELPER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 namespace net { 10 namespace net {
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 ManageAccountsParams(); 62 ManageAccountsParams();
63 }; 63 };
64 64
65 // Adds X-Chrome-Connected header to all Gaia requests from a connected profile, 65 // Adds X-Chrome-Connected header to all Gaia requests from a connected profile,
66 // with the exception of requests from gaia webview. Must be called on IO 66 // with the exception of requests from gaia webview. Must be called on IO
67 // thread. 67 // thread.
68 // Returns true if the account management header was added to the request. 68 // Returns true if the account management header was added to the request.
69 bool AppendMirrorRequestHeaderIfPossible( 69 bool AppendMirrorRequestHeaderIfPossible(
70 net::URLRequest* request, 70 net::URLRequest* request,
71 const GURL& redirect_url, 71 const GURL& redirect_url,
72 ProfileIOData* io_data, 72 ProfileIOData* io_data);
73 int child_id,
74 int route_id);
75 73
76 // Looks for the X-Chrome-Manage-Accounts response header, and if found, 74 // Looks for the X-Chrome-Manage-Accounts response header, and if found,
77 // tries to show the avatar bubble in the browser identified by the 75 // tries to show the avatar bubble in the browser identified by the
78 // child/route id. Must be called on IO thread. 76 // child/route id. Must be called on IO thread.
79 void ProcessMirrorResponseHeaderIfExists( 77 void ProcessMirrorResponseHeaderIfExists(
80 net::URLRequest* request, 78 net::URLRequest* request,
81 ProfileIOData* io_data, 79 ProfileIOData* io_data,
82 int child_id, 80 int child_id,
83 int route_id); 81 int route_id);
84 82
85 }; // namespace signin 83 }; // namespace signin
86 84
87 #endif // CHROME_BROWSER_SIGNIN_SIGNIN_HEADER_HELPER_H_ 85 #endif // CHROME_BROWSER_SIGNIN_SIGNIN_HEADER_HELPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698