| 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" | 16 #include "components/sync/api/time.h" | 
| 17 #include "components/sync/driver/sync_service.h" | 17 #include "components/sync/driver/sync_service.h" | 
| 18 #include "components/sync/engine/cycle/sync_cycle_snapshot.h" | 18 #include "components/sync/engine/cycle/sync_cycle_snapshot.h" | 
| 19 #include "components/sync/engine/sync_status.h" | 19 #include "components/sync/engine/sync_status.h" | 
| 20 #include "components/sync/engine/sync_string_conversions.h" | 20 #include "components/sync/engine/sync_string_conversions.h" | 
| 21 #include "components/sync/protocol/proto_enum_conversions.h" | 21 #include "components/sync/protocol/proto_enum_conversions.h" | 
| 22 #include "components/version_info/version_info.h" |  | 
| 23 | 22 | 
| 24 using base::DictionaryValue; | 23 using base::DictionaryValue; | 
| 25 using base::ListValue; | 24 using base::ListValue; | 
| 26 | 25 | 
| 27 namespace sync_driver { | 26 namespace sync_driver { | 
| 28 | 27 | 
| 29 namespace sync_ui_util { | 28 namespace sync_ui_util { | 
| 30 | 29 | 
| 31 const char kIdentityTitle[] = "Identity"; | 30 const char kIdentityTitle[] = "Identity"; | 
| 32 const char kDetailsKey[] = "details"; | 31 const char kDetailsKey[] = "details"; | 
| (...skipping 484 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 517   } | 516   } | 
| 518 | 517 | 
| 519   about_info->Set("type_status", service->GetTypeStatusMap()); | 518   about_info->Set("type_status", service->GetTypeStatusMap()); | 
| 520 | 519 | 
| 521   return about_info; | 520   return about_info; | 
| 522 } | 521 } | 
| 523 | 522 | 
| 524 }  // namespace sync_ui_util | 523 }  // namespace sync_ui_util | 
| 525 | 524 | 
| 526 }  // namespace sync_driver | 525 }  // namespace sync_driver | 
| OLD | NEW | 
|---|