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

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

Issue 1728033002: components: Add out-of-line copy ctors for complex classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 <string> 8 #include <string>
9 9
10 #include "build/build_config.h" // For OS_IOS 10 #include "build/build_config.h" // For OS_IOS
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 59
60 // iOS has no notion of route and child IDs. 60 // iOS has no notion of route and child IDs.
61 #if !defined(OS_IOS) 61 #if !defined(OS_IOS)
62 // The child id associated with the web content of the request. 62 // The child id associated with the web content of the request.
63 int child_id; 63 int child_id;
64 // The route id associated with the web content of the request. 64 // The route id associated with the web content of the request.
65 int route_id; 65 int route_id;
66 #endif // !defined(OS_IOS) 66 #endif // !defined(OS_IOS)
67 67
68 ManageAccountsParams(); 68 ManageAccountsParams();
69 ManageAccountsParams(const ManageAccountsParams& other);
69 }; 70 };
70 71
71 // Returns true if signin cookies are allowed. 72 // Returns true if signin cookies are allowed.
72 bool SettingsAllowSigninCookies( 73 bool SettingsAllowSigninCookies(
73 const content_settings::CookieSettings* cookie_settings); 74 const content_settings::CookieSettings* cookie_settings);
74 75
75 // Returns the X-CHROME-CONNECTED cookie, or an empty string if it should not be 76 // Returns the X-CHROME-CONNECTED cookie, or an empty string if it should not be
76 // added to the request to |url|. 77 // added to the request to |url|.
77 std::string BuildMirrorRequestCookieIfPossible( 78 std::string BuildMirrorRequestCookieIfPossible(
78 const GURL& url, 79 const GURL& url,
(...skipping 18 matching lines...) Expand all
97 // Returns the parameters contained in the X-Chrome-Manage-Accounts response 98 // Returns the parameters contained in the X-Chrome-Manage-Accounts response
98 // header. 99 // header.
99 // If the request does not have a response header or if the header contains 100 // If the request does not have a response header or if the header contains
100 // garbage, then |service_type| is set to |GAIA_SERVICE_TYPE_NONE|. 101 // garbage, then |service_type| is set to |GAIA_SERVICE_TYPE_NONE|.
101 ManageAccountsParams BuildManageAccountsParamsIfExists(net::URLRequest* request, 102 ManageAccountsParams BuildManageAccountsParamsIfExists(net::URLRequest* request,
102 bool is_off_the_record); 103 bool is_off_the_record);
103 104
104 } // namespace signin 105 } // namespace signin
105 106
106 #endif // COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_HEADER_HELPER_H_ 107 #endif // COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_HEADER_HELPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698