| 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 12 matching lines...) Expand all Loading... |
| 23 #include "chrome/browser/signin/token_service_factory.h" | 23 #include "chrome/browser/signin/token_service_factory.h" |
| 24 #include "chrome/browser/sync/profile_sync_service.h" | 24 #include "chrome/browser/sync/profile_sync_service.h" |
| 25 #include "chrome/common/chrome_notification_types.h" | 25 #include "chrome/common/chrome_notification_types.h" |
| 26 #include "chrome/common/chrome_switches.h" | 26 #include "chrome/common/chrome_switches.h" |
| 27 #include "chrome/common/pref_names.h" | 27 #include "chrome/common/pref_names.h" |
| 28 #include "content/public/browser/notification_service.h" | 28 #include "content/public/browser/notification_service.h" |
| 29 #include "google_apis/gaia/gaia_auth_fetcher.h" | 29 #include "google_apis/gaia/gaia_auth_fetcher.h" |
| 30 #include "google_apis/gaia/gaia_constants.h" | 30 #include "google_apis/gaia/gaia_constants.h" |
| 31 #include "google_apis/gaia/gaia_urls.h" | 31 #include "google_apis/gaia/gaia_urls.h" |
| 32 #include "net/cookies/cookie_monster.h" | 32 #include "net/cookies/cookie_monster.h" |
| 33 #include "unicode/regex.h" | 33 #include "third_party/icu/public/i18n/unicode/regex.h" |
| 34 | 34 |
| 35 using namespace signin_internals_util; | 35 using namespace signin_internals_util; |
| 36 | 36 |
| 37 namespace { | 37 namespace { |
| 38 | 38 |
| 39 const char kGetInfoDisplayEmailKey[] = "displayEmail"; | 39 const char kGetInfoDisplayEmailKey[] = "displayEmail"; |
| 40 const char kGetInfoEmailKey[] = "email"; | 40 const char kGetInfoEmailKey[] = "email"; |
| 41 const char kGetInfoServicesKey[] = "allServices"; | 41 const char kGetInfoServicesKey[] = "allServices"; |
| 42 const char kGooglePlusServiceKey[] = "googleme"; | 42 const char kGooglePlusServiceKey[] = "googleme"; |
| 43 | 43 |
| (...skipping 582 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 626 NotifySigninValueChanged(field, value)); | 626 NotifySigninValueChanged(field, value)); |
| 627 } | 627 } |
| 628 | 628 |
| 629 void SigninManager::NotifyDiagnosticsObservers( | 629 void SigninManager::NotifyDiagnosticsObservers( |
| 630 const TimedSigninStatusField& field, | 630 const TimedSigninStatusField& field, |
| 631 const std::string& value) { | 631 const std::string& value) { |
| 632 FOR_EACH_OBSERVER(SigninDiagnosticsObserver, | 632 FOR_EACH_OBSERVER(SigninDiagnosticsObserver, |
| 633 signin_diagnostics_observers_, | 633 signin_diagnostics_observers_, |
| 634 NotifySigninValueChanged(field, value)); | 634 NotifySigninValueChanged(field, value)); |
| 635 } | 635 } |
| OLD | NEW |