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

Side by Side Diff: components/sync/BUILD.gn

Issue 2408463002: [Sync] Move network-related code from core/ to engine/net/. (Closed)
Patch Set: Use SyncServerConnectionManager instead of ServerConnectionManagerImpl. Created 4 years, 2 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
« no previous file with comments | « components/browser_sync/test_http_bridge_factory.h ('k') | components/sync/core/http_bridge.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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 import("//build/buildflag_header.gni") 5 import("//build/buildflag_header.gni")
6 import("//build/config/features.gni") 6 import("//build/config/features.gni")
7 import("//components/sync/protocol/protocol_sources.gni") 7 import("//components/sync/protocol/protocol_sources.gni")
8 import("//testing/test.gni") 8 import("//testing/test.gni")
9 9
10 static_library("sync") { 10 static_library("sync") {
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 "core/change_record.h", 86 "core/change_record.h",
87 "core/configure_reason.h", 87 "core/configure_reason.h",
88 "core/data_batch_impl.cc", 88 "core/data_batch_impl.cc",
89 "core/data_batch_impl.h", 89 "core/data_batch_impl.h",
90 "core/data_type_association_stats.cc", 90 "core/data_type_association_stats.cc",
91 "core/data_type_association_stats.h", 91 "core/data_type_association_stats.h",
92 "core/data_type_debug_info_listener.cc", 92 "core/data_type_debug_info_listener.cc",
93 "core/data_type_debug_info_listener.h", 93 "core/data_type_debug_info_listener.h",
94 "core/delete_journal.cc", 94 "core/delete_journal.cc",
95 "core/delete_journal.h", 95 "core/delete_journal.h",
96 "core/http_bridge.cc",
97 "core/http_bridge.h",
98 "core/http_bridge_network_resources.cc",
99 "core/http_bridge_network_resources.h",
100 "core/http_post_provider_factory.h",
101 "core/http_post_provider_interface.h",
102 "core/internal_components_factory.h", 96 "core/internal_components_factory.h",
103 "core/internal_components_factory_impl.cc", 97 "core/internal_components_factory_impl.cc",
104 "core/internal_components_factory_impl.h", 98 "core/internal_components_factory_impl.h",
105 "core/model_type_connector.cc", 99 "core/model_type_connector.cc",
106 "core/model_type_connector.h", 100 "core/model_type_connector.h",
107 "core/model_type_processor.cc", 101 "core/model_type_processor.cc",
108 "core/model_type_processor.h", 102 "core/model_type_processor.h",
109 "core/model_type_processor_proxy.cc", 103 "core/model_type_processor_proxy.cc",
110 "core/model_type_processor_proxy.h", 104 "core/model_type_processor_proxy.h",
111 "core/model_type_store_backend.cc", 105 "core/model_type_store_backend.cc",
112 "core/model_type_store_backend.h", 106 "core/model_type_store_backend.h",
113 "core/model_type_store_impl.cc", 107 "core/model_type_store_impl.cc",
114 "core/model_type_store_impl.h", 108 "core/model_type_store_impl.h",
115 "core/network_resources.h",
116 "core/non_blocking_sync_common.cc", 109 "core/non_blocking_sync_common.cc",
117 "core/non_blocking_sync_common.h", 110 "core/non_blocking_sync_common.h",
118 "core/processor_entity_tracker.cc", 111 "core/processor_entity_tracker.cc",
119 "core/processor_entity_tracker.h", 112 "core/processor_entity_tracker.h",
120 "core/read_node.cc", 113 "core/read_node.cc",
121 "core/read_node.h", 114 "core/read_node.h",
122 "core/read_transaction.cc", 115 "core/read_transaction.cc",
123 "core/read_transaction.h", 116 "core/read_transaction.h",
124 "core/shared_model_type_processor.cc", 117 "core/shared_model_type_processor.cc",
125 "core/shared_model_type_processor.h", 118 "core/shared_model_type_processor.h",
(...skipping 27 matching lines...) Expand all
153 "core_impl/model_type_connector_proxy.cc", 146 "core_impl/model_type_connector_proxy.cc",
154 "core_impl/model_type_connector_proxy.h", 147 "core_impl/model_type_connector_proxy.h",
155 "core_impl/protocol_event_buffer.cc", 148 "core_impl/protocol_event_buffer.cc",
156 "core_impl/protocol_event_buffer.h", 149 "core_impl/protocol_event_buffer.h",
157 "core_impl/sync_encryption_handler_impl.cc", 150 "core_impl/sync_encryption_handler_impl.cc",
158 "core_impl/sync_encryption_handler_impl.h", 151 "core_impl/sync_encryption_handler_impl.h",
159 "core_impl/sync_manager_impl.cc", 152 "core_impl/sync_manager_impl.cc",
160 "core_impl/sync_manager_impl.h", 153 "core_impl/sync_manager_impl.h",
161 "core_impl/syncapi_internal.cc", 154 "core_impl/syncapi_internal.cc",
162 "core_impl/syncapi_internal.h", 155 "core_impl/syncapi_internal.h",
163 "core_impl/syncapi_server_connection_manager.cc",
164 "core_impl/syncapi_server_connection_manager.h",
165 "device_info/device_count_metrics_provider.cc", 156 "device_info/device_count_metrics_provider.cc",
166 "device_info/device_count_metrics_provider.h", 157 "device_info/device_count_metrics_provider.h",
167 "device_info/device_info.cc", 158 "device_info/device_info.cc",
168 "device_info/device_info.h", 159 "device_info/device_info.h",
169 "device_info/device_info_data_type_controller.cc", 160 "device_info/device_info_data_type_controller.cc",
170 "device_info/device_info_data_type_controller.h", 161 "device_info/device_info_data_type_controller.h",
171 "device_info/device_info_service.cc", 162 "device_info/device_info_service.cc",
172 "device_info/device_info_service.h", 163 "device_info/device_info_service.h",
173 "device_info/device_info_sync_service.cc", 164 "device_info/device_info_sync_service.cc",
174 "device_info/device_info_sync_service.h", 165 "device_info/device_info_sync_service.h",
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 "engine/events/get_updates_response_event.cc", 295 "engine/events/get_updates_response_event.cc",
305 "engine/events/get_updates_response_event.h", 296 "engine/events/get_updates_response_event.h",
306 "engine/events/normal_get_updates_request_event.cc", 297 "engine/events/normal_get_updates_request_event.cc",
307 "engine/events/normal_get_updates_request_event.h", 298 "engine/events/normal_get_updates_request_event.h",
308 "engine/events/poll_get_updates_request_event.cc", 299 "engine/events/poll_get_updates_request_event.cc",
309 "engine/events/poll_get_updates_request_event.h", 300 "engine/events/poll_get_updates_request_event.h",
310 "engine/events/protocol_event.cc", 301 "engine/events/protocol_event.cc",
311 "engine/events/protocol_event.h", 302 "engine/events/protocol_event.h",
312 "engine/model_safe_worker.cc", 303 "engine/model_safe_worker.cc",
313 "engine/model_safe_worker.h", 304 "engine/model_safe_worker.h",
305 "engine/net/http_bridge.cc",
306 "engine/net/http_bridge.h",
307 "engine/net/http_bridge_network_resources.cc",
308 "engine/net/http_bridge_network_resources.h",
309 "engine/net/http_post_provider_factory.h",
310 "engine/net/http_post_provider_interface.h",
311 "engine/net/network_resources.h",
314 "engine/passive_model_worker.cc", 312 "engine/passive_model_worker.cc",
315 "engine/passive_model_worker.h", 313 "engine/passive_model_worker.h",
316 "engine/polling_constants.cc", 314 "engine/polling_constants.cc",
317 "engine/polling_constants.h", 315 "engine/polling_constants.h",
318 "engine/sync_status.cc", 316 "engine/sync_status.cc",
319 "engine/sync_status.h", 317 "engine/sync_status.h",
320 "engine/sync_string_conversions.cc", 318 "engine/sync_string_conversions.cc",
321 "engine/sync_string_conversions.h", 319 "engine/sync_string_conversions.h",
322 "engine_impl/all_status.cc", 320 "engine_impl/all_status.cc",
323 "engine_impl/all_status.h", 321 "engine_impl/all_status.h",
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
369 "engine_impl/get_updates_delegate.cc", 367 "engine_impl/get_updates_delegate.cc",
370 "engine_impl/get_updates_delegate.h", 368 "engine_impl/get_updates_delegate.h",
371 "engine_impl/get_updates_processor.cc", 369 "engine_impl/get_updates_processor.cc",
372 "engine_impl/get_updates_processor.h", 370 "engine_impl/get_updates_processor.h",
373 "engine_impl/model_type_registry.cc", 371 "engine_impl/model_type_registry.cc",
374 "engine_impl/model_type_registry.h", 372 "engine_impl/model_type_registry.h",
375 "engine_impl/model_type_worker.cc", 373 "engine_impl/model_type_worker.cc",
376 "engine_impl/model_type_worker.h", 374 "engine_impl/model_type_worker.h",
377 "engine_impl/net/server_connection_manager.cc", 375 "engine_impl/net/server_connection_manager.cc",
378 "engine_impl/net/server_connection_manager.h", 376 "engine_impl/net/server_connection_manager.h",
377 "engine_impl/net/sync_server_connection_manager.cc",
378 "engine_impl/net/sync_server_connection_manager.h",
379 "engine_impl/net/url_translator.cc", 379 "engine_impl/net/url_translator.cc",
380 "engine_impl/net/url_translator.h", 380 "engine_impl/net/url_translator.h",
381 "engine_impl/non_blocking_type_commit_contribution.cc", 381 "engine_impl/non_blocking_type_commit_contribution.cc",
382 "engine_impl/non_blocking_type_commit_contribution.h", 382 "engine_impl/non_blocking_type_commit_contribution.h",
383 "engine_impl/nudge_handler.cc", 383 "engine_impl/nudge_handler.cc",
384 "engine_impl/nudge_handler.h", 384 "engine_impl/nudge_handler.h",
385 "engine_impl/nudge_source.cc", 385 "engine_impl/nudge_source.cc",
386 "engine_impl/nudge_source.h", 386 "engine_impl/nudge_source.h",
387 "engine_impl/process_updates_util.cc", 387 "engine_impl/process_updates_util.cc",
388 "engine_impl/process_updates_util.h", 388 "engine_impl/process_updates_util.h",
(...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after
796 "base/node_ordinal_unittest.cc", 796 "base/node_ordinal_unittest.cc",
797 "base/ordinal_unittest.cc", 797 "base/ordinal_unittest.cc",
798 "base/proto_value_ptr_unittest.cc", 798 "base/proto_value_ptr_unittest.cc",
799 "base/protobuf_unittest.cc", 799 "base/protobuf_unittest.cc",
800 "base/sync_prefs_unittest.cc", 800 "base/sync_prefs_unittest.cc",
801 "base/system_encryptor_unittest.cc", 801 "base/system_encryptor_unittest.cc",
802 "base/unique_position_unittest.cc", 802 "base/unique_position_unittest.cc",
803 "base/weak_handle_unittest.cc", 803 "base/weak_handle_unittest.cc",
804 "core/change_record_unittest.cc", 804 "core/change_record_unittest.cc",
805 "core/data_batch_impl_unittest.cc", 805 "core/data_batch_impl_unittest.cc",
806 "core/http_bridge_unittest.cc",
807 "core/model_type_store_backend_unittest.cc", 806 "core/model_type_store_backend_unittest.cc",
808 "core/model_type_store_impl_unittest.cc", 807 "core/model_type_store_impl_unittest.cc",
809 "core/processor_entity_tracker_unittest.cc", 808 "core/processor_entity_tracker_unittest.cc",
810 "core/shared_model_type_processor_unittest.cc", 809 "core/shared_model_type_processor_unittest.cc",
811 "core/simple_metadata_change_list_unittest.cc", 810 "core/simple_metadata_change_list_unittest.cc",
812 "core_impl/debug_info_event_listener_unittest.cc", 811 "core_impl/debug_info_event_listener_unittest.cc",
813 "core_impl/js_mutation_event_observer_unittest.cc", 812 "core_impl/js_mutation_event_observer_unittest.cc",
814 "core_impl/js_sync_encryption_handler_observer_unittest.cc", 813 "core_impl/js_sync_encryption_handler_observer_unittest.cc",
815 "core_impl/js_sync_manager_observer_unittest.cc", 814 "core_impl/js_sync_manager_observer_unittest.cc",
816 "core_impl/model_type_connector_proxy_unittest.cc", 815 "core_impl/model_type_connector_proxy_unittest.cc",
817 "core_impl/protocol_event_buffer_unittest.cc", 816 "core_impl/protocol_event_buffer_unittest.cc",
818 "core_impl/sync_encryption_handler_impl_unittest.cc", 817 "core_impl/sync_encryption_handler_impl_unittest.cc",
819 "core_impl/sync_manager_impl_unittest.cc", 818 "core_impl/sync_manager_impl_unittest.cc",
820 "core_impl/syncapi_server_connection_manager_unittest.cc",
821 "device_info/device_count_metrics_provider_unittest.cc", 819 "device_info/device_count_metrics_provider_unittest.cc",
822 "device_info/device_info_data_type_controller_unittest.cc", 820 "device_info/device_info_data_type_controller_unittest.cc",
823 "device_info/device_info_service_unittest.cc", 821 "device_info/device_info_service_unittest.cc",
824 "device_info/device_info_sync_service_unittest.cc", 822 "device_info/device_info_sync_service_unittest.cc",
825 "device_info/device_info_util_unittest.cc", 823 "device_info/device_info_util_unittest.cc",
826 "device_info/local_device_info_provider_impl_unittest.cc", 824 "device_info/local_device_info_provider_impl_unittest.cc",
827 "driver/about_sync_util_unittest.cc", 825 "driver/about_sync_util_unittest.cc",
828 "driver/backend_migrator_unittest.cc", 826 "driver/backend_migrator_unittest.cc",
829 "driver/data_type_manager_impl_unittest.cc", 827 "driver/data_type_manager_impl_unittest.cc",
830 "driver/frontend_data_type_controller_unittest.cc", 828 "driver/frontend_data_type_controller_unittest.cc",
(...skipping 11 matching lines...) Expand all
842 "driver/sync_util_unittest.cc", 840 "driver/sync_util_unittest.cc",
843 "driver/ui_data_type_controller_unittest.cc", 841 "driver/ui_data_type_controller_unittest.cc",
844 "engine/attachments/attachment_store_frontend_unittest.cc", 842 "engine/attachments/attachment_store_frontend_unittest.cc",
845 "engine/attachments/attachment_store_test_template.h", 843 "engine/attachments/attachment_store_test_template.h",
846 "engine/attachments/fake_attachment_downloader_unittest.cc", 844 "engine/attachments/fake_attachment_downloader_unittest.cc",
847 "engine/attachments/fake_attachment_uploader_unittest.cc", 845 "engine/attachments/fake_attachment_uploader_unittest.cc",
848 "engine/attachments/in_memory_attachment_store_unittest.cc", 846 "engine/attachments/in_memory_attachment_store_unittest.cc",
849 "engine/attachments/on_disk_attachment_store_unittest.cc", 847 "engine/attachments/on_disk_attachment_store_unittest.cc",
850 "engine/cycle/sync_cycle_snapshot_unittest.cc", 848 "engine/cycle/sync_cycle_snapshot_unittest.cc",
851 "engine/model_safe_worker_unittest.cc", 849 "engine/model_safe_worker_unittest.cc",
850 "engine/net/http_bridge_unittest.cc",
852 "engine_impl/apply_control_data_updates_unittest.cc", 851 "engine_impl/apply_control_data_updates_unittest.cc",
853 "engine_impl/attachments/attachment_downloader_impl_unittest.cc", 852 "engine_impl/attachments/attachment_downloader_impl_unittest.cc",
854 "engine_impl/attachments/attachment_uploader_impl_unittest.cc", 853 "engine_impl/attachments/attachment_uploader_impl_unittest.cc",
855 "engine_impl/backoff_delay_provider_unittest.cc", 854 "engine_impl/backoff_delay_provider_unittest.cc",
856 "engine_impl/cycle/nudge_tracker_unittest.cc", 855 "engine_impl/cycle/nudge_tracker_unittest.cc",
857 "engine_impl/cycle/status_controller_unittest.cc", 856 "engine_impl/cycle/status_controller_unittest.cc",
858 "engine_impl/directory_commit_contribution_unittest.cc", 857 "engine_impl/directory_commit_contribution_unittest.cc",
859 "engine_impl/directory_update_handler_unittest.cc", 858 "engine_impl/directory_update_handler_unittest.cc",
860 "engine_impl/get_updates_processor_unittest.cc", 859 "engine_impl/get_updates_processor_unittest.cc",
861 "engine_impl/model_type_registry_unittest.cc", 860 "engine_impl/model_type_registry_unittest.cc",
862 "engine_impl/model_type_worker_unittest.cc", 861 "engine_impl/model_type_worker_unittest.cc",
862 "engine_impl/net/sync_server_connection_manager_unittest.cc",
863 "engine_impl/sync_scheduler_impl_unittest.cc", 863 "engine_impl/sync_scheduler_impl_unittest.cc",
864 "engine_impl/syncer_proto_util_unittest.cc", 864 "engine_impl/syncer_proto_util_unittest.cc",
865 "engine_impl/syncer_unittest.cc", 865 "engine_impl/syncer_unittest.cc",
866 "engine_impl/syncer_util_unittest.cc", 866 "engine_impl/syncer_util_unittest.cc",
867 "engine_impl/worker_entity_tracker_unittest.cc", 867 "engine_impl/worker_entity_tracker_unittest.cc",
868 "js/js_event_details_unittest.cc", 868 "js/js_event_details_unittest.cc",
869 "js/sync_js_controller_unittest.cc", 869 "js/sync_js_controller_unittest.cc",
870 "model/attachments/attachment_id_unittest.cc", 870 "model/attachments/attachment_id_unittest.cc",
871 "model/attachments/attachment_metadata_unittest.cc", 871 "model/attachments/attachment_metadata_unittest.cc",
872 "model/attachments/attachment_service_proxy_unittest.cc", 872 "model/attachments/attachment_service_proxy_unittest.cc",
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
934 "//third_party/protobuf:protobuf_lite", 934 "//third_party/protobuf:protobuf_lite",
935 "//url", 935 "//url",
936 ] 936 ]
937 937
938 if (is_chromeos) { 938 if (is_chromeos) {
939 # Required by get_session_name_unittest.cc on Chrome OS. 939 # Required by get_session_name_unittest.cc on Chrome OS.
940 deps += [ "//chromeos" ] 940 deps += [ "//chromeos" ]
941 } 941 }
942 942
943 if (is_ios) { 943 if (is_ios) {
944 sources -= [ "core/http_bridge_unittest.cc" ] 944 sources -= [ "engine/net/http_bridge_unittest.cc" ]
945 } 945 }
946 946
947 if (enable_configuration_policy) { 947 if (enable_configuration_policy) {
948 sources += [ "driver/sync_policy_handler_unittest.cc" ] 948 sources += [ "driver/sync_policy_handler_unittest.cc" ]
949 deps += [ 949 deps += [
950 "//components/policy:generated", 950 "//components/policy:generated",
951 "//components/policy/core/browser", 951 "//components/policy/core/browser",
952 ] 952 ]
953 } 953 }
954 954
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
1091 deps = [ 1091 deps = [
1092 ":fake_server_jni", 1092 ":fake_server_jni",
1093 ":sync", 1093 ":sync",
1094 ":test_support_sync_fake_server", 1094 ":test_support_sync_fake_server",
1095 "//base", 1095 "//base",
1096 "//testing/gtest", 1096 "//testing/gtest",
1097 "//url:url", 1097 "//url:url",
1098 ] 1098 ]
1099 } 1099 }
1100 } 1100 }
OLDNEW
« no previous file with comments | « components/browser_sync/test_http_bridge_factory.h ('k') | components/sync/core/http_bridge.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698