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/browser_sync/browser/profile_sync_service.h" | 5 #include "components/browser_sync/browser/profile_sync_service.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 #include <cstddef> | 8 #include <cstddef> |
9 #include <map> | 9 #include <map> |
10 #include <utility> | 10 #include <utility> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "base/bind.h" | 13 #include "base/bind.h" |
14 #include "base/bind_helpers.h" | 14 #include "base/bind_helpers.h" |
15 #include "base/callback.h" | 15 #include "base/callback.h" |
16 #include "base/command_line.h" | 16 #include "base/command_line.h" |
17 #include "base/compiler_specific.h" | 17 #include "base/compiler_specific.h" |
18 #include "base/files/file_util.h" | 18 #include "base/files/file_util.h" |
19 #include "base/logging.h" | 19 #include "base/logging.h" |
20 #include "base/macros.h" | 20 #include "base/macros.h" |
21 #include "base/memory/ref_counted.h" | 21 #include "base/memory/ref_counted.h" |
22 #include "base/metrics/histogram.h" | 22 #include "base/metrics/histogram.h" |
23 #include "base/profiler/scoped_tracker.h" | 23 #include "base/profiler/scoped_tracker.h" |
24 #include "base/single_thread_task_runner.h" | 24 #include "base/single_thread_task_runner.h" |
25 #include "base/strings/string16.h" | 25 #include "base/strings/string16.h" |
26 #include "base/strings/stringprintf.h" | 26 #include "base/strings/stringprintf.h" |
27 #include "base/thread_task_runner_handle.h" | |
28 #include "base/threading/thread_restrictions.h" | 27 #include "base/threading/thread_restrictions.h" |
| 28 #include "base/threading/thread_task_runner_handle.h" |
29 #include "base/time/time.h" | 29 #include "base/time/time.h" |
30 #include "build/build_config.h" | 30 #include "build/build_config.h" |
31 #include "components/autofill/core/common/autofill_pref_names.h" | 31 #include "components/autofill/core/common/autofill_pref_names.h" |
32 #include "components/browser_sync/common/browser_sync_switches.h" | 32 #include "components/browser_sync/common/browser_sync_switches.h" |
33 #include "components/history/core/browser/typed_url_data_type_controller.h" | 33 #include "components/history/core/browser/typed_url_data_type_controller.h" |
34 #include "components/invalidation/impl/invalidation_prefs.h" | 34 #include "components/invalidation/impl/invalidation_prefs.h" |
35 #include "components/invalidation/public/invalidation_service.h" | 35 #include "components/invalidation/public/invalidation_service.h" |
36 #include "components/pref_registry/pref_registry_syncable.h" | 36 #include "components/pref_registry/pref_registry_syncable.h" |
37 #include "components/prefs/json_pref_store.h" | 37 #include "components/prefs/json_pref_store.h" |
38 #include "components/signin/core/browser/about_signin_internals.h" | 38 #include "components/signin/core/browser/about_signin_internals.h" |
(...skipping 2493 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2532 } | 2532 } |
2533 | 2533 |
2534 std::string ProfileSyncService::unrecoverable_error_message() const { | 2534 std::string ProfileSyncService::unrecoverable_error_message() const { |
2535 return unrecoverable_error_message_; | 2535 return unrecoverable_error_message_; |
2536 } | 2536 } |
2537 | 2537 |
2538 tracked_objects::Location ProfileSyncService::unrecoverable_error_location() | 2538 tracked_objects::Location ProfileSyncService::unrecoverable_error_location() |
2539 const { | 2539 const { |
2540 return unrecoverable_error_location_; | 2540 return unrecoverable_error_location_; |
2541 } | 2541 } |
OLD | NEW |