| 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/memory/ptr_util.h" | 11 #include "base/memory/ptr_util.h" |
| 12 #include "base/strings/string16.h" | 12 #include "base/strings/string16.h" |
| 13 #include "base/strings/stringprintf.h" | 13 #include "base/strings/stringprintf.h" |
| 14 #include "base/values.h" | 14 #include "base/values.h" |
| 15 #include "components/signin/core/browser/signin_manager_base.h" | 15 #include "components/signin/core/browser/signin_manager_base.h" |
| 16 #include "components/sync/api/time.h" | |
| 17 #include "components/sync/driver/sync_service.h" | 16 #include "components/sync/driver/sync_service.h" |
| 18 #include "components/sync/engine/cycle/sync_cycle_snapshot.h" | 17 #include "components/sync/engine/cycle/sync_cycle_snapshot.h" |
| 19 #include "components/sync/engine/sync_status.h" | 18 #include "components/sync/engine/sync_status.h" |
| 20 #include "components/sync/engine/sync_string_conversions.h" | 19 #include "components/sync/engine/sync_string_conversions.h" |
| 20 #include "components/sync/model/time.h" |
| 21 #include "components/sync/protocol/proto_enum_conversions.h" | 21 #include "components/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 syncer { | 26 namespace syncer { |
| 27 | 27 |
| 28 namespace sync_ui_util { | 28 namespace sync_ui_util { |
| 29 | 29 |
| 30 const char kIdentityTitle[] = "Identity"; | 30 const char kIdentityTitle[] = "Identity"; |
| (...skipping 484 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 515 } | 515 } |
| 516 | 516 |
| 517 about_info->Set("type_status", service->GetTypeStatusMap()); | 517 about_info->Set("type_status", service->GetTypeStatusMap()); |
| 518 | 518 |
| 519 return about_info; | 519 return about_info; |
| 520 } | 520 } |
| 521 | 521 |
| 522 } // namespace sync_ui_util | 522 } // namespace sync_ui_util |
| 523 | 523 |
| 524 } // namespace syncer | 524 } // namespace syncer |
| OLD | NEW |