| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "ios/chrome/browser/signin/signin_client_impl.h" | 5 #include "ios/chrome/browser/signin/signin_client_impl.h" |
| 6 | 6 |
| 7 #include <stddef.h> |
| 8 |
| 7 #include "base/command_line.h" | 9 #include "base/command_line.h" |
| 8 #include "base/guid.h" | 10 #include "base/guid.h" |
| 9 #include "base/logging.h" | 11 #include "base/logging.h" |
| 10 #include "base/prefs/pref_service.h" | 12 #include "base/prefs/pref_service.h" |
| 11 #include "base/strings/utf_string_conversions.h" | 13 #include "base/strings/utf_string_conversions.h" |
| 12 #include "components/content_settings/core/browser/cookie_settings.h" | 14 #include "components/content_settings/core/browser/cookie_settings.h" |
| 13 #include "components/keyed_service/core/service_access_type.h" | 15 #include "components/keyed_service/core/service_access_type.h" |
| 14 #include "components/metrics/metrics_service.h" | 16 #include "components/metrics/metrics_service.h" |
| 15 #include "components/signin/core/browser/profile_oauth2_token_service.h" | 17 #include "components/signin/core/browser/profile_oauth2_token_service.h" |
| 16 #include "components/signin/core/browser/signin_cookie_changed_subscription.h" | 18 #include "components/signin/core/browser/signin_cookie_changed_subscription.h" |
| (...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 227 callback.Run(); | 229 callback.Run(); |
| 228 } | 230 } |
| 229 } | 231 } |
| 230 | 232 |
| 231 GaiaAuthFetcher* SigninClientImpl::CreateGaiaAuthFetcher( | 233 GaiaAuthFetcher* SigninClientImpl::CreateGaiaAuthFetcher( |
| 232 GaiaAuthConsumer* consumer, | 234 GaiaAuthConsumer* consumer, |
| 233 const std::string& source, | 235 const std::string& source, |
| 234 net::URLRequestContextGetter* getter) { | 236 net::URLRequestContextGetter* getter) { |
| 235 return new GaiaAuthFetcherIOS(consumer, source, getter, browser_state_); | 237 return new GaiaAuthFetcherIOS(consumer, source, getter, browser_state_); |
| 236 } | 238 } |
| OLD | NEW |