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

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

Issue 2408463002: [Sync] Move network-related code from core/ to engine/net/. (Closed)
Patch Set: Rename SyncAPIServerConnectionManager to 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
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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 "core/change_record.h", 139 "core/change_record.h",
140 "core/configure_reason.h", 140 "core/configure_reason.h",
141 "core/data_batch_impl.cc", 141 "core/data_batch_impl.cc",
142 "core/data_batch_impl.h", 142 "core/data_batch_impl.h",
143 "core/data_type_association_stats.cc", 143 "core/data_type_association_stats.cc",
144 "core/data_type_association_stats.h", 144 "core/data_type_association_stats.h",
145 "core/data_type_debug_info_listener.cc", 145 "core/data_type_debug_info_listener.cc",
146 "core/data_type_debug_info_listener.h", 146 "core/data_type_debug_info_listener.h",
147 "core/delete_journal.cc", 147 "core/delete_journal.cc",
148 "core/delete_journal.h", 148 "core/delete_journal.h",
149 "core/http_bridge.cc",
150 "core/http_bridge.h",
151 "core/http_bridge_network_resources.cc",
152 "core/http_bridge_network_resources.h",
153 "core/http_post_provider_factory.h",
154 "core/http_post_provider_interface.h",
155 "core/internal_components_factory.h", 149 "core/internal_components_factory.h",
156 "core/internal_components_factory_impl.cc", 150 "core/internal_components_factory_impl.cc",
157 "core/internal_components_factory_impl.h", 151 "core/internal_components_factory_impl.h",
158 "core/model_type_connector.cc", 152 "core/model_type_connector.cc",
159 "core/model_type_connector.h", 153 "core/model_type_connector.h",
160 "core/model_type_processor.cc", 154 "core/model_type_processor.cc",
161 "core/model_type_processor.h", 155 "core/model_type_processor.h",
162 "core/model_type_processor_proxy.cc", 156 "core/model_type_processor_proxy.cc",
163 "core/model_type_processor_proxy.h", 157 "core/model_type_processor_proxy.h",
164 "core/model_type_store_backend.cc", 158 "core/model_type_store_backend.cc",
165 "core/model_type_store_backend.h", 159 "core/model_type_store_backend.h",
166 "core/model_type_store_impl.cc", 160 "core/model_type_store_impl.cc",
167 "core/model_type_store_impl.h", 161 "core/model_type_store_impl.h",
168 "core/network_resources.h",
169 "core/non_blocking_sync_common.cc", 162 "core/non_blocking_sync_common.cc",
170 "core/non_blocking_sync_common.h", 163 "core/non_blocking_sync_common.h",
171 "core/processor_entity_tracker.cc", 164 "core/processor_entity_tracker.cc",
172 "core/processor_entity_tracker.h", 165 "core/processor_entity_tracker.h",
173 "core/read_node.cc", 166 "core/read_node.cc",
174 "core/read_node.h", 167 "core/read_node.h",
175 "core/read_transaction.cc", 168 "core/read_transaction.cc",
176 "core/read_transaction.h", 169 "core/read_transaction.h",
177 "core/shared_model_type_processor.cc", 170 "core/shared_model_type_processor.cc",
178 "core/shared_model_type_processor.h", 171 "core/shared_model_type_processor.h",
(...skipping 27 matching lines...) Expand all
206 "core_impl/model_type_connector_proxy.cc", 199 "core_impl/model_type_connector_proxy.cc",
207 "core_impl/model_type_connector_proxy.h", 200 "core_impl/model_type_connector_proxy.h",
208 "core_impl/protocol_event_buffer.cc", 201 "core_impl/protocol_event_buffer.cc",
209 "core_impl/protocol_event_buffer.h", 202 "core_impl/protocol_event_buffer.h",
210 "core_impl/sync_encryption_handler_impl.cc", 203 "core_impl/sync_encryption_handler_impl.cc",
211 "core_impl/sync_encryption_handler_impl.h", 204 "core_impl/sync_encryption_handler_impl.h",
212 "core_impl/sync_manager_impl.cc", 205 "core_impl/sync_manager_impl.cc",
213 "core_impl/sync_manager_impl.h", 206 "core_impl/sync_manager_impl.h",
214 "core_impl/syncapi_internal.cc", 207 "core_impl/syncapi_internal.cc",
215 "core_impl/syncapi_internal.h", 208 "core_impl/syncapi_internal.h",
216 "core_impl/syncapi_server_connection_manager.cc",
217 "core_impl/syncapi_server_connection_manager.h",
218 "device_info/device_count_metrics_provider.cc", 209 "device_info/device_count_metrics_provider.cc",
219 "device_info/device_count_metrics_provider.h", 210 "device_info/device_count_metrics_provider.h",
220 "device_info/device_info.cc", 211 "device_info/device_info.cc",
221 "device_info/device_info.h", 212 "device_info/device_info.h",
222 "device_info/device_info_data_type_controller.cc", 213 "device_info/device_info_data_type_controller.cc",
223 "device_info/device_info_data_type_controller.h", 214 "device_info/device_info_data_type_controller.h",
224 "device_info/device_info_service.cc", 215 "device_info/device_info_service.cc",
225 "device_info/device_info_service.h", 216 "device_info/device_info_service.h",
226 "device_info/device_info_sync_service.cc", 217 "device_info/device_info_sync_service.cc",
227 "device_info/device_info_sync_service.h", 218 "device_info/device_info_sync_service.h",
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
357 "engine/events/get_updates_response_event.cc", 348 "engine/events/get_updates_response_event.cc",
358 "engine/events/get_updates_response_event.h", 349 "engine/events/get_updates_response_event.h",
359 "engine/events/normal_get_updates_request_event.cc", 350 "engine/events/normal_get_updates_request_event.cc",
360 "engine/events/normal_get_updates_request_event.h", 351 "engine/events/normal_get_updates_request_event.h",
361 "engine/events/poll_get_updates_request_event.cc", 352 "engine/events/poll_get_updates_request_event.cc",
362 "engine/events/poll_get_updates_request_event.h", 353 "engine/events/poll_get_updates_request_event.h",
363 "engine/events/protocol_event.cc", 354 "engine/events/protocol_event.cc",
364 "engine/events/protocol_event.h", 355 "engine/events/protocol_event.h",
365 "engine/model_safe_worker.cc", 356 "engine/model_safe_worker.cc",
366 "engine/model_safe_worker.h", 357 "engine/model_safe_worker.h",
358 "engine/net/http_bridge.cc",
359 "engine/net/http_bridge.h",
360 "engine/net/http_bridge_network_resources.cc",
361 "engine/net/http_bridge_network_resources.h",
362 "engine/net/http_post_provider_factory.h",
363 "engine/net/http_post_provider_interface.h",
364 "engine/net/network_resources.h",
367 "engine/passive_model_worker.cc", 365 "engine/passive_model_worker.cc",
368 "engine/passive_model_worker.h", 366 "engine/passive_model_worker.h",
369 "engine/polling_constants.cc", 367 "engine/polling_constants.cc",
370 "engine/polling_constants.h", 368 "engine/polling_constants.h",
371 "engine/sync_status.cc", 369 "engine/sync_status.cc",
372 "engine/sync_status.h", 370 "engine/sync_status.h",
373 "engine/sync_string_conversions.cc", 371 "engine/sync_string_conversions.cc",
374 "engine/sync_string_conversions.h", 372 "engine/sync_string_conversions.h",
375 "engine_impl/all_status.cc", 373 "engine_impl/all_status.cc",
376 "engine_impl/all_status.h", 374 "engine_impl/all_status.h",
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
422 "engine_impl/get_updates_delegate.cc", 420 "engine_impl/get_updates_delegate.cc",
423 "engine_impl/get_updates_delegate.h", 421 "engine_impl/get_updates_delegate.h",
424 "engine_impl/get_updates_processor.cc", 422 "engine_impl/get_updates_processor.cc",
425 "engine_impl/get_updates_processor.h", 423 "engine_impl/get_updates_processor.h",
426 "engine_impl/model_type_registry.cc", 424 "engine_impl/model_type_registry.cc",
427 "engine_impl/model_type_registry.h", 425 "engine_impl/model_type_registry.h",
428 "engine_impl/model_type_worker.cc", 426 "engine_impl/model_type_worker.cc",
429 "engine_impl/model_type_worker.h", 427 "engine_impl/model_type_worker.h",
430 "engine_impl/net/server_connection_manager.cc", 428 "engine_impl/net/server_connection_manager.cc",
431 "engine_impl/net/server_connection_manager.h", 429 "engine_impl/net/server_connection_manager.h",
430 "engine_impl/net/server_connection_manager_impl.cc",
431 "engine_impl/net/server_connection_manager_impl.h",
432 "engine_impl/net/url_translator.cc", 432 "engine_impl/net/url_translator.cc",
433 "engine_impl/net/url_translator.h", 433 "engine_impl/net/url_translator.h",
434 "engine_impl/non_blocking_type_commit_contribution.cc", 434 "engine_impl/non_blocking_type_commit_contribution.cc",
435 "engine_impl/non_blocking_type_commit_contribution.h", 435 "engine_impl/non_blocking_type_commit_contribution.h",
436 "engine_impl/nudge_handler.cc", 436 "engine_impl/nudge_handler.cc",
437 "engine_impl/nudge_handler.h", 437 "engine_impl/nudge_handler.h",
438 "engine_impl/nudge_source.cc", 438 "engine_impl/nudge_source.cc",
439 "engine_impl/nudge_source.h", 439 "engine_impl/nudge_source.h",
440 "engine_impl/process_updates_util.cc", 440 "engine_impl/process_updates_util.cc",
441 "engine_impl/process_updates_util.h", 441 "engine_impl/process_updates_util.h",
(...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after
808 "base/node_ordinal_unittest.cc", 808 "base/node_ordinal_unittest.cc",
809 "base/ordinal_unittest.cc", 809 "base/ordinal_unittest.cc",
810 "base/proto_value_ptr_unittest.cc", 810 "base/proto_value_ptr_unittest.cc",
811 "base/protobuf_unittest.cc", 811 "base/protobuf_unittest.cc",
812 "base/sync_prefs_unittest.cc", 812 "base/sync_prefs_unittest.cc",
813 "base/system_encryptor_unittest.cc", 813 "base/system_encryptor_unittest.cc",
814 "base/unique_position_unittest.cc", 814 "base/unique_position_unittest.cc",
815 "base/weak_handle_unittest.cc", 815 "base/weak_handle_unittest.cc",
816 "core/change_record_unittest.cc", 816 "core/change_record_unittest.cc",
817 "core/data_batch_impl_unittest.cc", 817 "core/data_batch_impl_unittest.cc",
818 "core/http_bridge_unittest.cc",
819 "core/model_type_store_backend_unittest.cc", 818 "core/model_type_store_backend_unittest.cc",
820 "core/model_type_store_impl_unittest.cc", 819 "core/model_type_store_impl_unittest.cc",
821 "core/processor_entity_tracker_unittest.cc", 820 "core/processor_entity_tracker_unittest.cc",
822 "core/shared_model_type_processor_unittest.cc", 821 "core/shared_model_type_processor_unittest.cc",
823 "core/simple_metadata_change_list_unittest.cc", 822 "core/simple_metadata_change_list_unittest.cc",
824 "core_impl/debug_info_event_listener_unittest.cc", 823 "core_impl/debug_info_event_listener_unittest.cc",
825 "core_impl/js_mutation_event_observer_unittest.cc", 824 "core_impl/js_mutation_event_observer_unittest.cc",
826 "core_impl/js_sync_encryption_handler_observer_unittest.cc", 825 "core_impl/js_sync_encryption_handler_observer_unittest.cc",
827 "core_impl/js_sync_manager_observer_unittest.cc", 826 "core_impl/js_sync_manager_observer_unittest.cc",
828 "core_impl/model_type_connector_proxy_unittest.cc", 827 "core_impl/model_type_connector_proxy_unittest.cc",
829 "core_impl/protocol_event_buffer_unittest.cc", 828 "core_impl/protocol_event_buffer_unittest.cc",
830 "core_impl/sync_encryption_handler_impl_unittest.cc", 829 "core_impl/sync_encryption_handler_impl_unittest.cc",
831 "core_impl/sync_manager_impl_unittest.cc", 830 "core_impl/sync_manager_impl_unittest.cc",
832 "core_impl/syncapi_server_connection_manager_unittest.cc",
833 "device_info/device_count_metrics_provider_unittest.cc", 831 "device_info/device_count_metrics_provider_unittest.cc",
834 "device_info/device_info_data_type_controller_unittest.cc", 832 "device_info/device_info_data_type_controller_unittest.cc",
835 "device_info/device_info_service_unittest.cc", 833 "device_info/device_info_service_unittest.cc",
836 "device_info/device_info_sync_service_unittest.cc", 834 "device_info/device_info_sync_service_unittest.cc",
837 "device_info/device_info_util_unittest.cc", 835 "device_info/device_info_util_unittest.cc",
838 "device_info/local_device_info_provider_impl_unittest.cc", 836 "device_info/local_device_info_provider_impl_unittest.cc",
839 "driver/about_sync_util_unittest.cc", 837 "driver/about_sync_util_unittest.cc",
840 "driver/backend_migrator_unittest.cc", 838 "driver/backend_migrator_unittest.cc",
841 "driver/data_type_manager_impl_unittest.cc", 839 "driver/data_type_manager_impl_unittest.cc",
842 "driver/frontend_data_type_controller_unittest.cc", 840 "driver/frontend_data_type_controller_unittest.cc",
(...skipping 11 matching lines...) Expand all
854 "driver/sync_util_unittest.cc", 852 "driver/sync_util_unittest.cc",
855 "driver/ui_data_type_controller_unittest.cc", 853 "driver/ui_data_type_controller_unittest.cc",
856 "engine/attachments/attachment_store_frontend_unittest.cc", 854 "engine/attachments/attachment_store_frontend_unittest.cc",
857 "engine/attachments/attachment_store_test_template.h", 855 "engine/attachments/attachment_store_test_template.h",
858 "engine/attachments/fake_attachment_downloader_unittest.cc", 856 "engine/attachments/fake_attachment_downloader_unittest.cc",
859 "engine/attachments/fake_attachment_uploader_unittest.cc", 857 "engine/attachments/fake_attachment_uploader_unittest.cc",
860 "engine/attachments/in_memory_attachment_store_unittest.cc", 858 "engine/attachments/in_memory_attachment_store_unittest.cc",
861 "engine/attachments/on_disk_attachment_store_unittest.cc", 859 "engine/attachments/on_disk_attachment_store_unittest.cc",
862 "engine/cycle/sync_cycle_snapshot_unittest.cc", 860 "engine/cycle/sync_cycle_snapshot_unittest.cc",
863 "engine/model_safe_worker_unittest.cc", 861 "engine/model_safe_worker_unittest.cc",
862 "engine/net/http_bridge_unittest.cc",
864 "engine_impl/apply_control_data_updates_unittest.cc", 863 "engine_impl/apply_control_data_updates_unittest.cc",
865 "engine_impl/attachments/attachment_downloader_impl_unittest.cc", 864 "engine_impl/attachments/attachment_downloader_impl_unittest.cc",
866 "engine_impl/attachments/attachment_uploader_impl_unittest.cc", 865 "engine_impl/attachments/attachment_uploader_impl_unittest.cc",
867 "engine_impl/backoff_delay_provider_unittest.cc", 866 "engine_impl/backoff_delay_provider_unittest.cc",
868 "engine_impl/cycle/nudge_tracker_unittest.cc", 867 "engine_impl/cycle/nudge_tracker_unittest.cc",
869 "engine_impl/cycle/status_controller_unittest.cc", 868 "engine_impl/cycle/status_controller_unittest.cc",
870 "engine_impl/directory_commit_contribution_unittest.cc", 869 "engine_impl/directory_commit_contribution_unittest.cc",
871 "engine_impl/directory_update_handler_unittest.cc", 870 "engine_impl/directory_update_handler_unittest.cc",
872 "engine_impl/get_updates_processor_unittest.cc", 871 "engine_impl/get_updates_processor_unittest.cc",
873 "engine_impl/model_type_registry_unittest.cc", 872 "engine_impl/model_type_registry_unittest.cc",
874 "engine_impl/model_type_worker_unittest.cc", 873 "engine_impl/model_type_worker_unittest.cc",
874 "engine_impl/net/server_connection_manager_impl_unittest.cc",
875 "engine_impl/sync_scheduler_impl_unittest.cc", 875 "engine_impl/sync_scheduler_impl_unittest.cc",
876 "engine_impl/syncer_proto_util_unittest.cc", 876 "engine_impl/syncer_proto_util_unittest.cc",
877 "engine_impl/syncer_unittest.cc", 877 "engine_impl/syncer_unittest.cc",
878 "engine_impl/syncer_util_unittest.cc", 878 "engine_impl/syncer_util_unittest.cc",
879 "engine_impl/worker_entity_tracker_unittest.cc", 879 "engine_impl/worker_entity_tracker_unittest.cc",
880 "js/js_event_details_unittest.cc", 880 "js/js_event_details_unittest.cc",
881 "js/sync_js_controller_unittest.cc", 881 "js/sync_js_controller_unittest.cc",
882 "protocol/proto_enum_conversions_unittest.cc", 882 "protocol/proto_enum_conversions_unittest.cc",
883 "protocol/proto_value_conversions_unittest.cc", 883 "protocol/proto_value_conversions_unittest.cc",
884 "syncable/directory_backing_store_unittest.cc", 884 "syncable/directory_backing_store_unittest.cc",
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
933 "//third_party/protobuf:protobuf_lite", 933 "//third_party/protobuf:protobuf_lite",
934 "//url", 934 "//url",
935 ] 935 ]
936 936
937 if (is_chromeos) { 937 if (is_chromeos) {
938 # Required by get_session_name_unittest.cc on Chrome OS. 938 # Required by get_session_name_unittest.cc on Chrome OS.
939 deps += [ "//chromeos" ] 939 deps += [ "//chromeos" ]
940 } 940 }
941 941
942 if (is_ios) { 942 if (is_ios) {
943 sources -= [ "core/http_bridge_unittest.cc" ] 943 sources -= [ "engine/net/http_bridge_unittest.cc" ]
944 } 944 }
945 945
946 if (enable_configuration_policy) { 946 if (enable_configuration_policy) {
947 sources += [ "driver/sync_policy_handler_unittest.cc" ] 947 sources += [ "driver/sync_policy_handler_unittest.cc" ]
948 deps += [ 948 deps += [
949 "//components/policy:generated", 949 "//components/policy:generated",
950 "//components/policy/core/browser", 950 "//components/policy/core/browser",
951 ] 951 ]
952 } 952 }
953 953
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
1090 deps = [ 1090 deps = [
1091 ":fake_server_jni", 1091 ":fake_server_jni",
1092 ":sync", 1092 ":sync",
1093 ":test_support_sync_fake_server", 1093 ":test_support_sync_fake_server",
1094 "//base", 1094 "//base",
1095 "//testing/gtest", 1095 "//testing/gtest",
1096 "//url:url", 1096 "//url:url",
1097 ] 1097 ]
1098 } 1098 }
1099 } 1099 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698