| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/signin/signin_manager.h" | 5 #include "chrome/browser/signin/signin_manager.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 #include "content/public/browser/notification_service.h" | 40 #include "content/public/browser/notification_service.h" |
| 41 #include "content/public/browser/render_process_host.h" | 41 #include "content/public/browser/render_process_host.h" |
| 42 #include "google_apis/gaia/gaia_auth_fetcher.h" | 42 #include "google_apis/gaia/gaia_auth_fetcher.h" |
| 43 #include "google_apis/gaia/gaia_auth_util.h" | 43 #include "google_apis/gaia/gaia_auth_util.h" |
| 44 #include "google_apis/gaia/gaia_constants.h" | 44 #include "google_apis/gaia/gaia_constants.h" |
| 45 #include "google_apis/gaia/gaia_urls.h" | 45 #include "google_apis/gaia/gaia_urls.h" |
| 46 #include "net/url_request/url_request_context.h" | 46 #include "net/url_request/url_request_context.h" |
| 47 #include "third_party/icu/public/i18n/unicode/regex.h" | 47 #include "third_party/icu/public/i18n/unicode/regex.h" |
| 48 | 48 |
| 49 #if defined(ENABLE_CONFIGURATION_POLICY) && !defined(OS_CHROMEOS) | 49 #if defined(ENABLE_CONFIGURATION_POLICY) && !defined(OS_CHROMEOS) |
| 50 #include "chrome/browser/policy/user_policy_signin_service.h" | 50 #include "chrome/browser/policy/cloud/user_policy_signin_service.h" |
| 51 #include "chrome/browser/policy/user_policy_signin_service_factory.h" | 51 #include "chrome/browser/policy/cloud/user_policy_signin_service_factory.h" |
| 52 #endif | 52 #endif |
| 53 | 53 |
| 54 using namespace signin_internals_util; | 54 using namespace signin_internals_util; |
| 55 | 55 |
| 56 using content::BrowserThread; | 56 using content::BrowserThread; |
| 57 | 57 |
| 58 namespace { | 58 namespace { |
| 59 | 59 |
| 60 const char kGetInfoDisplayEmailKey[] = "displayEmail"; | 60 const char kGetInfoDisplayEmailKey[] = "displayEmail"; |
| 61 const char kGetInfoEmailKey[] = "email"; | 61 const char kGetInfoEmailKey[] = "email"; |
| (...skipping 871 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 933 NotifySigninValueChanged(field, value)); | 933 NotifySigninValueChanged(field, value)); |
| 934 } | 934 } |
| 935 | 935 |
| 936 void SigninManager::NotifyDiagnosticsObservers( | 936 void SigninManager::NotifyDiagnosticsObservers( |
| 937 const TimedSigninStatusField& field, | 937 const TimedSigninStatusField& field, |
| 938 const std::string& value) { | 938 const std::string& value) { |
| 939 FOR_EACH_OBSERVER(SigninDiagnosticsObserver, | 939 FOR_EACH_OBSERVER(SigninDiagnosticsObserver, |
| 940 signin_diagnostics_observers_, | 940 signin_diagnostics_observers_, |
| 941 NotifySigninValueChanged(field, value)); | 941 NotifySigninValueChanged(field, value)); |
| 942 } | 942 } |
| OLD | NEW |