| 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/sync_driver/about_sync_util.h" | 5 #include "components/sync_driver/about_sync_util.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 #include <utility> | 8 #include <utility> |
| 9 | 9 |
| 10 #include "base/location.h" | 10 #include "base/location.h" |
| 11 #include "base/strings/string16.h" | 11 #include "base/strings/string16.h" |
| 12 #include "base/strings/stringprintf.h" | 12 #include "base/strings/stringprintf.h" |
| 13 #include "base/values.h" | 13 #include "base/values.h" |
| 14 #include "components/signin/core/browser/signin_manager_base.h" | 14 #include "components/signin/core/browser/signin_manager_base.h" |
| 15 #include "components/sync/api/time.h" |
| 16 #include "components/sync/base/sync_string_conversions.h" |
| 17 #include "components/sync/engine/sync_status.h" |
| 18 #include "components/sync/protocol/proto_enum_conversions.h" |
| 19 #include "components/sync/sessions/sync_session_snapshot.h" |
| 15 #include "components/sync_driver/sync_service.h" | 20 #include "components/sync_driver/sync_service.h" |
| 16 #include "components/version_info/version_info.h" | 21 #include "components/version_info/version_info.h" |
| 17 #include "sync/api/time.h" | |
| 18 #include "sync/internal_api/public/engine/sync_status.h" | |
| 19 #include "sync/internal_api/public/sessions/sync_session_snapshot.h" | |
| 20 #include "sync/internal_api/public/util/sync_string_conversions.h" | |
| 21 #include "sync/protocol/proto_enum_conversions.h" | |
| 22 | 22 |
| 23 using base::DictionaryValue; | 23 using base::DictionaryValue; |
| 24 using base::ListValue; | 24 using base::ListValue; |
| 25 | 25 |
| 26 namespace sync_driver { | 26 namespace sync_driver { |
| 27 | 27 |
| 28 namespace sync_ui_util { | 28 namespace sync_ui_util { |
| 29 | 29 |
| 30 const char kIdentityTitle[] = "Identity"; | 30 const char kIdentityTitle[] = "Identity"; |
| 31 const char kDetailsKey[] = "details"; | 31 const char kDetailsKey[] = "details"; |
| (...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 526 } | 526 } |
| 527 | 527 |
| 528 about_info->Set("type_status", service->GetTypeStatusMap()); | 528 about_info->Set("type_status", service->GetTypeStatusMap()); |
| 529 | 529 |
| 530 return about_info; | 530 return about_info; |
| 531 } | 531 } |
| 532 | 532 |
| 533 } // namespace sync_ui_util | 533 } // namespace sync_ui_util |
| 534 | 534 |
| 535 } // namespace sync_driver | 535 } // namespace sync_driver |
| OLD | NEW |