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

Side by Side Diff: components/browser_sync/profile_sync_service.cc

Issue 2508003002: [Sync] Move ChangeProcessor to model/. (Closed)
Patch Set: Created 4 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
« no previous file with comments | « no previous file | components/browser_sync/profile_sync_service_mock.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "components/browser_sync/profile_sync_service.h" 5 #include "components/browser_sync/profile_sync_service.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <cstddef> 9 #include <cstddef>
10 #include <map> 10 #include <map>
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 #include "components/sync/base/passphrase_type.h" 43 #include "components/sync/base/passphrase_type.h"
44 #include "components/sync/base/pref_names.h" 44 #include "components/sync/base/pref_names.h"
45 #include "components/sync/base/report_unrecoverable_error.h" 45 #include "components/sync/base/report_unrecoverable_error.h"
46 #include "components/sync/base/stop_source.h" 46 #include "components/sync/base/stop_source.h"
47 #include "components/sync/base/system_encryptor.h" 47 #include "components/sync/base/system_encryptor.h"
48 #include "components/sync/device_info/device_info.h" 48 #include "components/sync/device_info/device_info.h"
49 #include "components/sync/device_info/device_info_sync_bridge.h" 49 #include "components/sync/device_info/device_info_sync_bridge.h"
50 #include "components/sync/device_info/device_info_sync_service.h" 50 #include "components/sync/device_info/device_info_sync_service.h"
51 #include "components/sync/device_info/device_info_tracker.h" 51 #include "components/sync/device_info/device_info_tracker.h"
52 #include "components/sync/driver/backend_migrator.h" 52 #include "components/sync/driver/backend_migrator.h"
53 #include "components/sync/driver/change_processor.h"
54 #include "components/sync/driver/directory_data_type_controller.h" 53 #include "components/sync/driver/directory_data_type_controller.h"
55 #include "components/sync/driver/glue/sync_backend_host_impl.h" 54 #include "components/sync/driver/glue/sync_backend_host_impl.h"
56 #include "components/sync/driver/signin_manager_wrapper.h" 55 #include "components/sync/driver/signin_manager_wrapper.h"
57 #include "components/sync/driver/sync_api_component_factory.h" 56 #include "components/sync/driver/sync_api_component_factory.h"
58 #include "components/sync/driver/sync_driver_switches.h" 57 #include "components/sync/driver/sync_driver_switches.h"
59 #include "components/sync/driver/sync_error_controller.h" 58 #include "components/sync/driver/sync_error_controller.h"
60 #include "components/sync/driver/sync_type_preference_provider.h" 59 #include "components/sync/driver/sync_type_preference_provider.h"
61 #include "components/sync/driver/sync_util.h" 60 #include "components/sync/driver/sync_util.h"
62 #include "components/sync/driver/user_selectable_sync_type.h" 61 #include "components/sync/driver/user_selectable_sync_type.h"
63 #include "components/sync/engine/configure_reason.h" 62 #include "components/sync/engine/configure_reason.h"
64 #include "components/sync/engine/cycle/model_neutral_state.h" 63 #include "components/sync/engine/cycle/model_neutral_state.h"
65 #include "components/sync/engine/cycle/type_debug_info_observer.h" 64 #include "components/sync/engine/cycle/type_debug_info_observer.h"
66 #include "components/sync/engine/net/http_bridge_network_resources.h" 65 #include "components/sync/engine/net/http_bridge_network_resources.h"
67 #include "components/sync/engine/net/network_resources.h" 66 #include "components/sync/engine/net/network_resources.h"
68 #include "components/sync/engine/sync_encryption_handler.h" 67 #include "components/sync/engine/sync_encryption_handler.h"
69 #include "components/sync/engine/sync_string_conversions.h" 68 #include "components/sync/engine/sync_string_conversions.h"
70 #include "components/sync/js/js_event_details.h" 69 #include "components/sync/js/js_event_details.h"
70 #include "components/sync/model/change_processor.h"
71 #include "components/sync/model/model_type_change_processor.h" 71 #include "components/sync/model/model_type_change_processor.h"
72 #include "components/sync/model/model_type_store.h" 72 #include "components/sync/model/model_type_store.h"
73 #include "components/sync/model/sync_error.h" 73 #include "components/sync/model/sync_error.h"
74 #include "components/sync/protocol/sync.pb.h" 74 #include "components/sync/protocol/sync.pb.h"
75 #include "components/sync/syncable/directory.h" 75 #include "components/sync/syncable/directory.h"
76 #include "components/sync/syncable/sync_db_util.h" 76 #include "components/sync/syncable/sync_db_util.h"
77 #include "components/sync/syncable/syncable_read_transaction.h" 77 #include "components/sync/syncable/syncable_read_transaction.h"
78 #include "components/sync_preferences/pref_service_syncable.h" 78 #include "components/sync_preferences/pref_service_syncable.h"
79 #include "components/sync_sessions/favicon_cache.h" 79 #include "components/sync_sessions/favicon_cache.h"
80 #include "components/sync_sessions/session_data_type_controller.h" 80 #include "components/sync_sessions/session_data_type_controller.h"
(...skipping 2453 matching lines...) Expand 10 before | Expand all | Expand 10 after
2534 2534
2535 DCHECK(startup_controller_->IsSetupInProgress()); 2535 DCHECK(startup_controller_->IsSetupInProgress());
2536 startup_controller_->SetSetupInProgress(false); 2536 startup_controller_->SetSetupInProgress(false);
2537 2537
2538 if (IsBackendInitialized()) 2538 if (IsBackendInitialized())
2539 ReconfigureDatatypeManager(); 2539 ReconfigureDatatypeManager();
2540 NotifyObservers(); 2540 NotifyObservers();
2541 } 2541 }
2542 2542
2543 } // namespace browser_sync 2543 } // namespace browser_sync
OLDNEW
« no previous file with comments | « no previous file | components/browser_sync/profile_sync_service_mock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698