Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(225)

Side by Side Diff: chrome/browser/sync/profile_sync_service.cc

Issue 1408003010: [sync] Componentize switches used by ProfileSyncService (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@more_pss_chrome_deps
Patch Set: Add BUILD.gn file Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 "chrome/browser/sync/profile_sync_service.h" 5 #include "chrome/browser/sync/profile_sync_service.h"
6 6
7 #include <cstddef> 7 #include <cstddef>
8 #include <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 13 matching lines...) Expand all
24 #include "base/strings/string16.h" 24 #include "base/strings/string16.h"
25 #include "base/strings/stringprintf.h" 25 #include "base/strings/stringprintf.h"
26 #include "base/thread_task_runner_handle.h" 26 #include "base/thread_task_runner_handle.h"
27 #include "base/threading/thread_restrictions.h" 27 #include "base/threading/thread_restrictions.h"
28 #include "base/time/time.h" 28 #include "base/time/time.h"
29 #include "build/build_config.h" 29 #include "build/build_config.h"
30 #include "chrome/browser/chrome_notification_types.h" 30 #include "chrome/browser/chrome_notification_types.h"
31 #include "chrome/browser/sync/glue/sync_backend_host.h" 31 #include "chrome/browser/sync/glue/sync_backend_host.h"
32 #include "chrome/browser/sync/glue/sync_backend_host_impl.h" 32 #include "chrome/browser/sync/glue/sync_backend_host_impl.h"
33 #include "chrome/browser/sync/sync_type_preference_provider.h" 33 #include "chrome/browser/sync/sync_type_preference_provider.h"
34 #include "chrome/common/chrome_switches.h"
35 #include "chrome/grit/generated_resources.h" 34 #include "chrome/grit/generated_resources.h"
36 #include "components/autofill/core/common/autofill_pref_names.h" 35 #include "components/autofill/core/common/autofill_pref_names.h"
36 #include "components/browser_sync/common/browser_sync_switches.h"
37 #include "components/history/core/browser/typed_url_data_type_controller.h" 37 #include "components/history/core/browser/typed_url_data_type_controller.h"
38 #include "components/invalidation/impl/invalidation_prefs.h" 38 #include "components/invalidation/impl/invalidation_prefs.h"
39 #include "components/invalidation/public/invalidation_service.h" 39 #include "components/invalidation/public/invalidation_service.h"
40 #include "components/pref_registry/pref_registry_syncable.h" 40 #include "components/pref_registry/pref_registry_syncable.h"
41 #include "components/signin/core/browser/about_signin_internals.h" 41 #include "components/signin/core/browser/about_signin_internals.h"
42 #include "components/signin/core/browser/profile_oauth2_token_service.h" 42 #include "components/signin/core/browser/profile_oauth2_token_service.h"
43 #include "components/signin/core/browser/signin_manager.h" 43 #include "components/signin/core/browser/signin_manager.h"
44 #include "components/signin/core/browser/signin_metrics.h" 44 #include "components/signin/core/browser/signin_metrics.h"
45 #include "components/sync_driver/backend_migrator.h" 45 #include "components/sync_driver/backend_migrator.h"
46 #include "components/sync_driver/change_processor.h" 46 #include "components/sync_driver/change_processor.h"
(...skipping 2647 matching lines...) Expand 10 before | Expand all | Expand 10 after
2694 } 2694 }
2695 2695
2696 std::string ProfileSyncService::unrecoverable_error_message() const { 2696 std::string ProfileSyncService::unrecoverable_error_message() const {
2697 return unrecoverable_error_message_; 2697 return unrecoverable_error_message_;
2698 } 2698 }
2699 2699
2700 tracked_objects::Location ProfileSyncService::unrecoverable_error_location() 2700 tracked_objects::Location ProfileSyncService::unrecoverable_error_location()
2701 const { 2701 const {
2702 return unrecoverable_error_location_; 2702 return unrecoverable_error_location_;
2703 } 2703 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698