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

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

Issue 2203673002: [Sync] Move //components/sync_driver to //components/sync/driver. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@sd-a
Patch Set: Full change rebased on static lib. Created 4 years, 4 months 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 "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 8
9 #include <cstddef> 9 #include <cstddef>
10 #include <map> 10 #include <map>
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 #include "components/sync/base/experiments.h" 48 #include "components/sync/base/experiments.h"
49 #include "components/sync/base/stop_source.h" 49 #include "components/sync/base/stop_source.h"
50 #include "components/sync/base/sync_db_util.h" 50 #include "components/sync/base/sync_db_util.h"
51 #include "components/sync/base/sync_string_conversions.h" 51 #include "components/sync/base/sync_string_conversions.h"
52 #include "components/sync/core/configure_reason.h" 52 #include "components/sync/core/configure_reason.h"
53 #include "components/sync/core/http_bridge_network_resources.h" 53 #include "components/sync/core/http_bridge_network_resources.h"
54 #include "components/sync/core/network_resources.h" 54 #include "components/sync/core/network_resources.h"
55 #include "components/sync/core/shared_model_type_processor.h" 55 #include "components/sync/core/shared_model_type_processor.h"
56 #include "components/sync/core/shutdown_reason.h" 56 #include "components/sync/core/shutdown_reason.h"
57 #include "components/sync/core/sync_encryption_handler.h" 57 #include "components/sync/core/sync_encryption_handler.h"
58 #include "components/sync/driver/backend_migrator.h"
59 #include "components/sync/driver/change_processor.h"
60 #include "components/sync/driver/data_type_controller.h"
61 #include "components/sync/driver/device_info.h"
62 #include "components/sync/driver/device_info_service.h"
63 #include "components/sync/driver/device_info_sync_service.h"
64 #include "components/sync/driver/device_info_tracker.h"
65 #include "components/sync/driver/glue/chrome_report_unrecoverable_error.h"
66 #include "components/sync/driver/glue/sync_backend_host.h"
67 #include "components/sync/driver/glue/sync_backend_host_impl.h"
68 #include "components/sync/driver/pref_names.h"
69 #include "components/sync/driver/signin_manager_wrapper.h"
70 #include "components/sync/driver/sync_api_component_factory.h"
71 #include "components/sync/driver/sync_client.h"
72 #include "components/sync/driver/sync_driver_switches.h"
73 #include "components/sync/driver/sync_error_controller.h"
74 #include "components/sync/driver/sync_stopped_reporter.h"
75 #include "components/sync/driver/sync_type_preference_provider.h"
76 #include "components/sync/driver/sync_util.h"
77 #include "components/sync/driver/system_encryptor.h"
78 #include "components/sync/driver/user_selectable_sync_type.h"
58 #include "components/sync/js/js_event_details.h" 79 #include "components/sync/js/js_event_details.h"
59 #include "components/sync/protocol/sync.pb.h" 80 #include "components/sync/protocol/sync.pb.h"
60 #include "components/sync/sessions/model_neutral_state.h" 81 #include "components/sync/sessions/model_neutral_state.h"
61 #include "components/sync/sessions/type_debug_info_observer.h" 82 #include "components/sync/sessions/type_debug_info_observer.h"
62 #include "components/sync/syncable/directory.h" 83 #include "components/sync/syncable/directory.h"
63 #include "components/sync_driver/backend_migrator.h"
64 #include "components/sync_driver/change_processor.h"
65 #include "components/sync_driver/data_type_controller.h"
66 #include "components/sync_driver/device_info.h"
67 #include "components/sync_driver/device_info_service.h"
68 #include "components/sync_driver/device_info_sync_service.h"
69 #include "components/sync_driver/device_info_tracker.h"
70 #include "components/sync_driver/glue/chrome_report_unrecoverable_error.h"
71 #include "components/sync_driver/glue/sync_backend_host.h"
72 #include "components/sync_driver/glue/sync_backend_host_impl.h"
73 #include "components/sync_driver/pref_names.h"
74 #include "components/sync_driver/signin_manager_wrapper.h"
75 #include "components/sync_driver/sync_api_component_factory.h"
76 #include "components/sync_driver/sync_client.h"
77 #include "components/sync_driver/sync_driver_switches.h"
78 #include "components/sync_driver/sync_error_controller.h"
79 #include "components/sync_driver/sync_stopped_reporter.h"
80 #include "components/sync_driver/sync_type_preference_provider.h"
81 #include "components/sync_driver/sync_util.h"
82 #include "components/sync_driver/system_encryptor.h"
83 #include "components/sync_driver/user_selectable_sync_type.h"
84 #include "components/sync_sessions/favicon_cache.h" 84 #include "components/sync_sessions/favicon_cache.h"
85 #include "components/sync_sessions/session_data_type_controller.h" 85 #include "components/sync_sessions/session_data_type_controller.h"
86 #include "components/sync_sessions/sessions_sync_manager.h" 86 #include "components/sync_sessions/sessions_sync_manager.h"
87 #include "components/sync_sessions/sync_sessions_client.h" 87 #include "components/sync_sessions/sync_sessions_client.h"
88 #include "components/syncable_prefs/pref_service_syncable.h" 88 #include "components/syncable_prefs/pref_service_syncable.h"
89 #include "components/version_info/version_info_values.h" 89 #include "components/version_info/version_info_values.h"
90 #include "net/cookies/cookie_monster.h" 90 #include "net/cookies/cookie_monster.h"
91 #include "net/url_request/url_request_context_getter.h" 91 #include "net/url_request/url_request_context_getter.h"
92 #include "ui/base/l10n/l10n_util.h" 92 #include "ui/base/l10n/l10n_util.h"
93 #include "ui/base/l10n/time_format.h" 93 #include "ui/base/l10n/time_format.h"
(...skipping 2441 matching lines...) Expand 10 before | Expand all | Expand 10 after
2535 if (--outstanding_setup_in_progress_handles_ != 0) 2535 if (--outstanding_setup_in_progress_handles_ != 0)
2536 return; 2536 return;
2537 2537
2538 DCHECK(startup_controller_->IsSetupInProgress()); 2538 DCHECK(startup_controller_->IsSetupInProgress());
2539 startup_controller_->SetSetupInProgress(false); 2539 startup_controller_->SetSetupInProgress(false);
2540 2540
2541 if (IsBackendInitialized()) 2541 if (IsBackendInitialized())
2542 ReconfigureDatatypeManager(); 2542 ReconfigureDatatypeManager();
2543 NotifyObservers(); 2543 NotifyObservers();
2544 } 2544 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698