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 "components/signin/core/browser/about_signin_internals.h" | 5 #include "components/signin/core/browser/about_signin_internals.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 | 8 |
9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
10 #include "base/hash.h" | 10 #include "base/hash.h" |
11 #include "base/i18n/time_formatting.h" | 11 #include "base/i18n/time_formatting.h" |
12 #include "base/logging.h" | 12 #include "base/logging.h" |
13 #include "base/prefs/pref_service.h" | |
14 #include "base/profiler/scoped_tracker.h" | 13 #include "base/profiler/scoped_tracker.h" |
15 #include "base/strings/stringprintf.h" | 14 #include "base/strings/stringprintf.h" |
16 #include "base/strings/utf_string_conversions.h" | 15 #include "base/strings/utf_string_conversions.h" |
17 #include "base/trace_event/trace_event.h" | 16 #include "base/trace_event/trace_event.h" |
18 #include "build/build_config.h" | 17 #include "build/build_config.h" |
19 #include "components/pref_registry/pref_registry_syncable.h" | 18 #include "components/pref_registry/pref_registry_syncable.h" |
| 19 #include "components/prefs/pref_service.h" |
20 #include "components/signin/core/browser/account_tracker_service.h" | 20 #include "components/signin/core/browser/account_tracker_service.h" |
21 #include "components/signin/core/browser/profile_oauth2_token_service.h" | 21 #include "components/signin/core/browser/profile_oauth2_token_service.h" |
22 #include "components/signin/core/browser/signin_client.h" | 22 #include "components/signin/core/browser/signin_client.h" |
23 #include "components/signin/core/browser/signin_internals_util.h" | 23 #include "components/signin/core/browser/signin_internals_util.h" |
24 #include "components/signin/core/browser/signin_manager.h" | 24 #include "components/signin/core/browser/signin_manager.h" |
25 #include "components/signin/core/common/profile_management_switches.h" | 25 #include "components/signin/core/common/profile_management_switches.h" |
26 #include "components/signin/core/common/signin_switches.h" | 26 #include "components/signin/core/common/signin_switches.h" |
27 #include "net/base/backoff_entry.h" | 27 #include "net/base/backoff_entry.h" |
28 | 28 |
29 using base::Time; | 29 using base::Time; |
(...skipping 637 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
667 } | 667 } |
668 | 668 |
669 for(const std::string& account_id : accounts_in_token_service) { | 669 for(const std::string& account_id : accounts_in_token_service) { |
670 base::DictionaryValue* entry = new base::DictionaryValue(); | 670 base::DictionaryValue* entry = new base::DictionaryValue(); |
671 entry->SetString("accountId", account_id); | 671 entry->SetString("accountId", account_id); |
672 account_info->Append(entry); | 672 account_info->Append(entry); |
673 } | 673 } |
674 | 674 |
675 return signin_status; | 675 return signin_status; |
676 } | 676 } |
OLD | NEW |