| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #include "chrome/browser/chromeos/login/profile_auth_data.h" | 5 #include "chrome/browser/chromeos/login/profile_auth_data.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/bind_helpers.h" | 10 #include "base/bind_helpers.h" |
| (...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 226 cookie_list.push_back(net::CanonicalCookie(GURL(kGAIACookieURL), | 226 cookie_list.push_back(net::CanonicalCookie(GURL(kGAIACookieURL), |
| 227 kCookieName, | 227 kCookieName, |
| 228 cookie_value, | 228 cookie_value, |
| 229 kGAIACookieDomain, | 229 kGAIACookieDomain, |
| 230 std::string(), | 230 std::string(), |
| 231 base::Time(), | 231 base::Time(), |
| 232 base::Time(), | 232 base::Time(), |
| 233 base::Time(), | 233 base::Time(), |
| 234 true, | 234 true, |
| 235 false, | 235 false, |
| 236 false, |
| 236 net::COOKIE_PRIORITY_DEFAULT)); | 237 net::COOKIE_PRIORITY_DEFAULT)); |
| 237 cookie_list.push_back(net::CanonicalCookie(GURL(kSAMLIdPCookieURL), | 238 cookie_list.push_back(net::CanonicalCookie(GURL(kSAMLIdPCookieURL), |
| 238 kCookieName, | 239 kCookieName, |
| 239 cookie_value, | 240 cookie_value, |
| 240 kSAMLIdPCookieDomain, | 241 kSAMLIdPCookieDomain, |
| 241 std::string(), | 242 std::string(), |
| 242 base::Time(), | 243 base::Time(), |
| 243 base::Time(), | 244 base::Time(), |
| 244 base::Time(), | 245 base::Time(), |
| 245 true, | 246 true, |
| 246 false, | 247 false, |
| 248 false, |
| 247 net::COOKIE_PRIORITY_DEFAULT)); | 249 net::COOKIE_PRIORITY_DEFAULT)); |
| 248 cookies->ImportCookies(cookie_list); | 250 cookies->ImportCookies(cookie_list); |
| 249 | 251 |
| 250 GetChannelIDs(browser_context)->SetChannelID(kChannelIDServerIdentifier, | 252 GetChannelIDs(browser_context)->SetChannelID(kChannelIDServerIdentifier, |
| 251 base::Time(), | 253 base::Time(), |
| 252 base::Time(), | 254 base::Time(), |
| 253 channel_id_private_key, | 255 channel_id_private_key, |
| 254 channel_id_cert); | 256 channel_id_cert); |
| 255 } | 257 } |
| 256 | 258 |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 333 PopulateUserBrowserContext(); | 335 PopulateUserBrowserContext(); |
| 334 | 336 |
| 335 Transfer(false, true); | 337 Transfer(false, true); |
| 336 | 338 |
| 337 VerifyTransferredUserProxyAuthEntry(); | 339 VerifyTransferredUserProxyAuthEntry(); |
| 338 VerifyUserCookies(kCookieValue2, kCookieValue1); | 340 VerifyUserCookies(kCookieValue2, kCookieValue1); |
| 339 VerifyUserChannelID(kChannelIDPrivateKey2, kChannelIDCert2); | 341 VerifyUserChannelID(kChannelIDPrivateKey2, kChannelIDCert2); |
| 340 } | 342 } |
| 341 | 343 |
| 342 } // namespace chromeos | 344 } // namespace chromeos |
| OLD | NEW |