From b724d792dd5d67c67ea3119147e567fab9557ea7 Mon Sep 17 00:00:00 2001 From: Alexey Polyudov Date: Thu, 22 Oct 2020 11:16:50 -0700 Subject: [PATCH] OSS Fixes Signed-off-by: Alexey Polyudov Change-Id: I9a7d3c3d9790dc58c0d4c2bd2134499337b9a17b --- cpp/core/BUILD | 14 ++++++++++++++ cpp/core/core.cc | 14 ++++++++++++++ cpp/core/core.h | 14 ++++++++++++++ cpp/core/core_test.cc | 14 ++++++++++++++ cpp/core/internal/BUILD | 14 ++++++++++++++ cpp/core/internal/base_bwu_handler.h | 14 ++++++++++++++ cpp/core/internal/base_endpoint_channel.cc | 14 ++++++++++++++ cpp/core/internal/base_endpoint_channel.h | 14 ++++++++++++++ .../internal/base_endpoint_channel_test.cc | 14 ++++++++++++++ cpp/core/internal/base_pcp_handler.cc | 14 ++++++++++++++ cpp/core/internal/base_pcp_handler.h | 16 +++++++++++++++- cpp/core/internal/base_pcp_handler_test.cc | 14 ++++++++++++++ cpp/core/internal/ble_advertisement.cc | 14 ++++++++++++++ cpp/core/internal/ble_advertisement.h | 14 ++++++++++++++ cpp/core/internal/ble_advertisement_test.cc | 14 ++++++++++++++ cpp/core/internal/ble_endpoint_channel.cc | 14 ++++++++++++++ cpp/core/internal/ble_endpoint_channel.h | 14 ++++++++++++++ cpp/core/internal/bluetooth_device_name.cc | 14 ++++++++++++++ cpp/core/internal/bluetooth_device_name.h | 14 ++++++++++++++ .../internal/bluetooth_device_name_test.cc | 14 ++++++++++++++ .../internal/bluetooth_endpoint_channel.cc | 14 ++++++++++++++ cpp/core/internal/bluetooth_endpoint_channel.h | 14 ++++++++++++++ cpp/core/internal/bwu_handler.h | 14 ++++++++++++++ cpp/core/internal/bwu_manager.cc | 14 ++++++++++++++ cpp/core/internal/bwu_manager.h | 14 ++++++++++++++ cpp/core/internal/bwu_manager_test.cc | 14 ++++++++++++++ cpp/core/internal/client_proxy.cc | 14 ++++++++++++++ cpp/core/internal/client_proxy.h | 14 ++++++++++++++ cpp/core/internal/client_proxy_test.cc | 14 ++++++++++++++ cpp/core/internal/encryption_runner.cc | 14 ++++++++++++++ cpp/core/internal/encryption_runner.h | 14 ++++++++++++++ cpp/core/internal/encryption_runner_test.cc | 14 ++++++++++++++ cpp/core/internal/endpoint_channel.h | 14 ++++++++++++++ cpp/core/internal/endpoint_channel_manager.cc | 14 ++++++++++++++ cpp/core/internal/endpoint_channel_manager.h | 14 ++++++++++++++ .../internal/endpoint_channel_manager_test.cc | 14 ++++++++++++++ cpp/core/internal/endpoint_manager.cc | 14 ++++++++++++++ cpp/core/internal/endpoint_manager.h | 14 ++++++++++++++ cpp/core/internal/endpoint_manager_test.cc | 14 ++++++++++++++ cpp/core/internal/internal_payload.cc | 14 ++++++++++++++ cpp/core/internal/internal_payload.h | 14 ++++++++++++++ cpp/core/internal/internal_payload_factory.cc | 14 ++++++++++++++ cpp/core/internal/internal_payload_factory.h | 14 ++++++++++++++ .../internal/internal_payload_factory_test.cc | 14 ++++++++++++++ cpp/core/internal/mediums/BUILD | 14 ++++++++++++++ cpp/core/internal/mediums/ble.cc | 14 ++++++++++++++ cpp/core/internal/mediums/ble.h | 14 ++++++++++++++ cpp/core/internal/mediums/ble_test.cc | 14 ++++++++++++++ cpp/core/internal/mediums/ble_v2/BUILD | 14 ++++++++++++++ .../ble_v2/advertisement_read_result.cc | 14 ++++++++++++++ .../mediums/ble_v2/advertisement_read_result.h | 14 ++++++++++++++ .../ble_v2/advertisement_read_result_test.cc | 14 ++++++++++++++ .../mediums/ble_v2/ble_advertisement.cc | 14 ++++++++++++++ .../mediums/ble_v2/ble_advertisement.h | 14 ++++++++++++++ .../mediums/ble_v2/ble_advertisement_header.cc | 14 ++++++++++++++ .../mediums/ble_v2/ble_advertisement_header.h | 14 ++++++++++++++ .../ble_v2/ble_advertisement_header_test.cc | 14 ++++++++++++++ .../mediums/ble_v2/ble_advertisement_test.cc | 14 ++++++++++++++ cpp/core/internal/mediums/ble_v2/ble_packet.cc | 14 ++++++++++++++ cpp/core/internal/mediums/ble_v2/ble_packet.h | 14 ++++++++++++++ .../internal/mediums/ble_v2/ble_packet_test.cc | 14 ++++++++++++++ .../internal/mediums/ble_v2/ble_peripheral.h | 14 ++++++++++++++ .../mediums/ble_v2/ble_peripheral_test.cc | 14 ++++++++++++++ .../ble_v2/discovered_peripheral_callback.h | 14 ++++++++++++++ cpp/core/internal/mediums/bloom_filter.cc | 14 ++++++++++++++ cpp/core/internal/mediums/bloom_filter.h | 14 ++++++++++++++ cpp/core/internal/mediums/bloom_filter_test.cc | 14 ++++++++++++++ cpp/core/internal/mediums/bluetooth_classic.cc | 14 ++++++++++++++ cpp/core/internal/mediums/bluetooth_classic.h | 14 ++++++++++++++ .../internal/mediums/bluetooth_classic_test.cc | 14 ++++++++++++++ cpp/core/internal/mediums/bluetooth_radio.cc | 14 ++++++++++++++ cpp/core/internal/mediums/bluetooth_radio.h | 14 ++++++++++++++ .../internal/mediums/bluetooth_radio_test.cc | 14 ++++++++++++++ .../internal/mediums/lost_entity_tracker.h | 14 ++++++++++++++ .../mediums/lost_entity_tracker_test.cc | 14 ++++++++++++++ cpp/core/internal/mediums/mediums.cc | 14 ++++++++++++++ cpp/core/internal/mediums/mediums.h | 14 ++++++++++++++ cpp/core/internal/mediums/utils.cc | 14 ++++++++++++++ cpp/core/internal/mediums/utils.h | 14 ++++++++++++++ cpp/core/internal/mediums/uuid.cc | 14 ++++++++++++++ cpp/core/internal/mediums/uuid.h | 14 ++++++++++++++ cpp/core/internal/mediums/uuid_test.cc | 14 ++++++++++++++ cpp/core/internal/mediums/webrtc.cc | 14 ++++++++++++++ cpp/core/internal/mediums/webrtc.h | 14 ++++++++++++++ cpp/core/internal/mediums/webrtc/BUILD | 14 ++++++++++++++ .../internal/mediums/webrtc/connection_flow.cc | 14 ++++++++++++++ .../internal/mediums/webrtc/connection_flow.h | 14 ++++++++++++++ .../mediums/webrtc/connection_flow_test.cc | 14 ++++++++++++++ .../mediums/webrtc/data_channel_listener.h | 14 ++++++++++++++ .../webrtc/data_channel_observer_impl.cc | 14 ++++++++++++++ .../webrtc/data_channel_observer_impl.h | 14 ++++++++++++++ .../webrtc/local_ice_candidate_listener.h | 14 ++++++++++++++ .../webrtc/peer_connection_observer_impl.cc | 14 ++++++++++++++ .../webrtc/peer_connection_observer_impl.h | 14 ++++++++++++++ cpp/core/internal/mediums/webrtc/peer_id.cc | 14 ++++++++++++++ cpp/core/internal/mediums/webrtc/peer_id.h | 14 ++++++++++++++ .../internal/mediums/webrtc/peer_id_test.cc | 14 ++++++++++++++ .../webrtc/session_description_wrapper.h | 14 ++++++++++++++ .../mediums/webrtc/signaling_frames.cc | 14 ++++++++++++++ .../internal/mediums/webrtc/signaling_frames.h | 14 ++++++++++++++ .../mediums/webrtc/signaling_frames_test.cc | 14 ++++++++++++++ .../internal/mediums/webrtc/webrtc_socket.cc | 14 ++++++++++++++ .../internal/mediums/webrtc/webrtc_socket.h | 14 ++++++++++++++ .../mediums/webrtc/webrtc_socket_test.cc | 14 ++++++++++++++ .../mediums/webrtc/webrtc_socket_wrapper.h | 14 ++++++++++++++ cpp/core/internal/mediums/webrtc_test.cc | 14 ++++++++++++++ cpp/core/internal/mediums/wifi_lan.cc | 14 ++++++++++++++ cpp/core/internal/mediums/wifi_lan.h | 14 ++++++++++++++ cpp/core/internal/mediums/wifi_lan_test.cc | 14 ++++++++++++++ cpp/core/internal/message_lite.h | 14 ++++++++++++++ cpp/core/internal/mock_service_controller.h | 14 ++++++++++++++ cpp/core/internal/offline_frames.cc | 14 ++++++++++++++ cpp/core/internal/offline_frames.h | 14 ++++++++++++++ cpp/core/internal/offline_frames_test.cc | 14 ++++++++++++++ .../internal/offline_service_controller.cc | 14 ++++++++++++++ cpp/core/internal/offline_service_controller.h | 14 ++++++++++++++ .../offline_service_controller_test.cc | 14 ++++++++++++++ cpp/core/internal/offline_simulation_user.cc | 14 ++++++++++++++ cpp/core/internal/offline_simulation_user.h | 14 ++++++++++++++ cpp/core/internal/p2p_cluster_pcp_handler.cc | 14 ++++++++++++++ cpp/core/internal/p2p_cluster_pcp_handler.h | 14 ++++++++++++++ .../internal/p2p_cluster_pcp_handler_test.cc | 14 ++++++++++++++ .../internal/p2p_point_to_point_pcp_handler.cc | 14 ++++++++++++++ .../internal/p2p_point_to_point_pcp_handler.h | 14 ++++++++++++++ cpp/core/internal/p2p_star_pcp_handler.cc | 14 ++++++++++++++ cpp/core/internal/p2p_star_pcp_handler.h | 14 ++++++++++++++ cpp/core/internal/payload_manager.cc | 14 ++++++++++++++ cpp/core/internal/payload_manager.h | 14 ++++++++++++++ cpp/core/internal/payload_manager_test.cc | 14 ++++++++++++++ cpp/core/internal/pcp.h | 14 ++++++++++++++ cpp/core/internal/pcp_handler.h | 18 ++++++++++++++++-- cpp/core/internal/pcp_manager.cc | 14 ++++++++++++++ cpp/core/internal/pcp_manager.h | 16 +++++++++++++++- cpp/core/internal/pcp_manager_test.cc | 14 ++++++++++++++ cpp/core/internal/service_controller.h | 16 +++++++++++++++- cpp/core/internal/service_controller_router.cc | 14 ++++++++++++++ cpp/core/internal/service_controller_router.h | 16 +++++++++++++++- .../internal/service_controller_router_test.cc | 14 ++++++++++++++ cpp/core/internal/simulation_user.cc | 14 ++++++++++++++ cpp/core/internal/simulation_user.h | 14 ++++++++++++++ cpp/core/internal/webrtc_bwu_handler.cc | 14 ++++++++++++++ cpp/core/internal/webrtc_bwu_handler.h | 14 ++++++++++++++ cpp/core/internal/webrtc_endpoint_channel.cc | 14 ++++++++++++++ cpp/core/internal/webrtc_endpoint_channel.h | 14 ++++++++++++++ cpp/core/internal/wifi_lan_endpoint_channel.cc | 14 ++++++++++++++ cpp/core/internal/wifi_lan_endpoint_channel.h | 14 ++++++++++++++ cpp/core/internal/wifi_lan_service_info.cc | 14 ++++++++++++++ cpp/core/internal/wifi_lan_service_info.h | 14 ++++++++++++++ .../internal/wifi_lan_service_info_test.cc | 14 ++++++++++++++ cpp/core/listeners.h | 14 ++++++++++++++ cpp/core/listeners_test.cc | 14 ++++++++++++++ cpp/core/options.h | 14 ++++++++++++++ cpp/core/params.h | 14 ++++++++++++++ cpp/core/payload.h | 14 ++++++++++++++ cpp/core/payload_test.cc | 14 ++++++++++++++ cpp/core/status.h | 14 ++++++++++++++ cpp/core/status_test.cc | 14 ++++++++++++++ cpp/core/strategy.cc | 14 ++++++++++++++ cpp/core/strategy.h | 14 ++++++++++++++ cpp/core/strategy_test.cc | 14 ++++++++++++++ cpp/platform/api/BUILD | 14 ++++++++++++++ cpp/platform/api/atomic_boolean.h | 14 ++++++++++++++ cpp/platform/api/atomic_reference.h | 14 ++++++++++++++ cpp/platform/api/ble.h | 14 ++++++++++++++ cpp/platform/api/ble_v2.h | 14 ++++++++++++++ cpp/platform/api/bluetooth_adapter.h | 14 ++++++++++++++ cpp/platform/api/bluetooth_classic.h | 14 ++++++++++++++ cpp/platform/api/cancelable.h | 14 ++++++++++++++ cpp/platform/api/condition_variable.h | 14 ++++++++++++++ cpp/platform/api/count_down_latch.h | 14 ++++++++++++++ cpp/platform/api/crypto.h | 14 ++++++++++++++ cpp/platform/api/executor.h | 14 ++++++++++++++ cpp/platform/api/future.h | 14 ++++++++++++++ cpp/platform/api/input_file.h | 14 ++++++++++++++ cpp/platform/api/listenable_future.h | 14 ++++++++++++++ cpp/platform/api/log_message.h | 14 ++++++++++++++ cpp/platform/api/mutex.h | 14 ++++++++++++++ cpp/platform/api/output_file.h | 14 ++++++++++++++ cpp/platform/api/platform.h | 14 ++++++++++++++ cpp/platform/api/scheduled_executor.h | 14 ++++++++++++++ cpp/platform/api/server_sync.h | 14 ++++++++++++++ cpp/platform/api/settable_future.h | 14 ++++++++++++++ cpp/platform/api/submittable_executor.h | 14 ++++++++++++++ cpp/platform/api/system_clock.h | 14 ++++++++++++++ cpp/platform/api/webrtc.h | 14 ++++++++++++++ cpp/platform/api/wifi.h | 14 ++++++++++++++ cpp/platform/api/wifi_lan.h | 14 ++++++++++++++ cpp/platform/base/BUILD | 14 ++++++++++++++ cpp/platform/base/base64_utils.cc | 14 ++++++++++++++ cpp/platform/base/base64_utils.h | 14 ++++++++++++++ cpp/platform/base/base_input_stream.cc | 14 ++++++++++++++ cpp/platform/base/base_input_stream.h | 14 ++++++++++++++ cpp/platform/base/base_mutex_lock.h | 14 ++++++++++++++ cpp/platform/base/base_pipe.cc | 14 ++++++++++++++ cpp/platform/base/base_pipe.h | 14 ++++++++++++++ cpp/platform/base/bluetooth_utils.cc | 14 ++++++++++++++ cpp/platform/base/bluetooth_utils.h | 14 ++++++++++++++ cpp/platform/base/bluetooth_utils_test.cc | 14 ++++++++++++++ cpp/platform/base/byte_array.h | 14 ++++++++++++++ cpp/platform/base/byte_array_test.cc | 14 ++++++++++++++ cpp/platform/base/callable.h | 14 ++++++++++++++ cpp/platform/base/exception.h | 14 ++++++++++++++ cpp/platform/base/exception_test.cc | 14 ++++++++++++++ cpp/platform/base/input_stream.h | 14 ++++++++++++++ cpp/platform/base/listeners.h | 14 ++++++++++++++ cpp/platform/base/logging.h | 14 ++++++++++++++ cpp/platform/base/medium_environment.cc | 14 ++++++++++++++ cpp/platform/base/medium_environment.h | 14 ++++++++++++++ cpp/platform/base/output_stream.h | 14 ++++++++++++++ cpp/platform/base/payload_id.h | 14 ++++++++++++++ cpp/platform/base/prng.cc | 14 ++++++++++++++ cpp/platform/base/prng.h | 14 ++++++++++++++ cpp/platform/base/prng_test.cc | 14 ++++++++++++++ cpp/platform/base/runnable.h | 14 ++++++++++++++ cpp/platform/base/socket.h | 14 ++++++++++++++ cpp/platform/base/types.h | 14 ++++++++++++++ cpp/platform/config/BUILD | 14 ++++++++++++++ cpp/platform/config/config.h | 14 ++++++++++++++ cpp/platform/config/string.h | 14 ++++++++++++++ cpp/platform/impl/g3/BUILD | 14 ++++++++++++++ cpp/platform/impl/g3/atomic_boolean.h | 16 +++++++++++++++- cpp/platform/impl/g3/atomic_reference.h | 14 ++++++++++++++ cpp/platform/impl/g3/ble.cc | 14 ++++++++++++++ cpp/platform/impl/g3/ble.h | 14 ++++++++++++++ cpp/platform/impl/g3/bluetooth_adapter.cc | 14 ++++++++++++++ cpp/platform/impl/g3/bluetooth_adapter.h | 14 ++++++++++++++ cpp/platform/impl/g3/bluetooth_classic.cc | 14 ++++++++++++++ cpp/platform/impl/g3/bluetooth_classic.h | 14 ++++++++++++++ cpp/platform/impl/g3/condition_variable.h | 14 ++++++++++++++ cpp/platform/impl/g3/count_down_latch.h | 14 ++++++++++++++ cpp/platform/impl/g3/crypto.cc | 14 ++++++++++++++ cpp/platform/impl/g3/log_message.cc | 14 ++++++++++++++ cpp/platform/impl/g3/log_message.h | 16 +++++++++++++++- cpp/platform/impl/g3/multi_thread_executor.h | 14 ++++++++++++++ cpp/platform/impl/g3/mutex.h | 14 ++++++++++++++ cpp/platform/impl/g3/pipe.h | 14 ++++++++++++++ cpp/platform/impl/g3/platform.cc | 14 ++++++++++++++ cpp/platform/impl/g3/scheduled_executor.cc | 14 ++++++++++++++ cpp/platform/impl/g3/scheduled_executor.h | 14 ++++++++++++++ cpp/platform/impl/g3/single_thread_executor.h | 14 ++++++++++++++ cpp/platform/impl/g3/system_clock.cc | 14 ++++++++++++++ cpp/platform/impl/g3/webrtc.cc | 14 ++++++++++++++ cpp/platform/impl/g3/webrtc.h | 14 ++++++++++++++ cpp/platform/impl/g3/wifi_lan.cc | 14 ++++++++++++++ cpp/platform/impl/g3/wifi_lan.h | 14 ++++++++++++++ cpp/platform/impl/ios/BUILD | 14 ++++++++++++++ cpp/platform/impl/ios/atomic_boolean.h | 14 ++++++++++++++ cpp/platform/impl/ios/atomic_reference.h | 14 ++++++++++++++ cpp/platform/impl/ios/condition_variable.h | 14 ++++++++++++++ cpp/platform/impl/ios/count_down_latch.h | 14 ++++++++++++++ cpp/platform/impl/ios/log_message.h | 14 ++++++++++++++ cpp/platform/impl/ios/log_message.mm | 14 ++++++++++++++ cpp/platform/impl/ios/multi_thread_executor.h | 14 ++++++++++++++ cpp/platform/impl/ios/mutex.h | 14 ++++++++++++++ cpp/platform/impl/ios/platform.mm | 14 ++++++++++++++ cpp/platform/impl/ios/scheduled_executor.h | 14 ++++++++++++++ cpp/platform/impl/ios/scheduled_executor.mm | 14 ++++++++++++++ cpp/platform/impl/ios/single_thread_executor.h | 14 ++++++++++++++ cpp/platform/impl/shared/BUILD | 14 ++++++++++++++ cpp/platform/impl/shared/file.cc | 14 ++++++++++++++ cpp/platform/impl/shared/file.h | 14 ++++++++++++++ cpp/platform/impl/shared/file_test.cc | 14 ++++++++++++++ .../impl/shared/posix_condition_variable.cc | 14 ++++++++++++++ .../impl/shared/posix_condition_variable.h | 14 ++++++++++++++ cpp/platform/impl/shared/posix_mutex.cc | 14 ++++++++++++++ cpp/platform/impl/shared/posix_mutex.h | 14 ++++++++++++++ cpp/platform/public/BUILD | 14 ++++++++++++++ cpp/platform/public/atomic_boolean.h | 16 +++++++++++++++- cpp/platform/public/atomic_boolean_test.cc | 14 ++++++++++++++ cpp/platform/public/atomic_reference.h | 14 ++++++++++++++ cpp/platform/public/atomic_reference_test.cc | 14 ++++++++++++++ cpp/platform/public/ble.cc | 14 ++++++++++++++ cpp/platform/public/ble.h | 14 ++++++++++++++ cpp/platform/public/ble_test.cc | 14 ++++++++++++++ cpp/platform/public/bluetooth_adapter.h | 14 ++++++++++++++ cpp/platform/public/bluetooth_adapter_test.cc | 14 ++++++++++++++ cpp/platform/public/bluetooth_classic.cc | 14 ++++++++++++++ cpp/platform/public/bluetooth_classic.h | 14 ++++++++++++++ cpp/platform/public/bluetooth_classic_test.cc | 14 ++++++++++++++ cpp/platform/public/cancelable.h | 14 ++++++++++++++ cpp/platform/public/cancelable_alarm.h | 14 ++++++++++++++ cpp/platform/public/cancelable_alarm_test.cc | 14 ++++++++++++++ cpp/platform/public/condition_variable.h | 14 ++++++++++++++ cpp/platform/public/condition_variable_test.cc | 14 ++++++++++++++ cpp/platform/public/count_down_latch.h | 14 ++++++++++++++ cpp/platform/public/count_down_latch_test.cc | 14 ++++++++++++++ cpp/platform/public/crypto.h | 14 ++++++++++++++ cpp/platform/public/crypto_test.cc | 14 ++++++++++++++ cpp/platform/public/file.h | 14 ++++++++++++++ cpp/platform/public/future.h | 14 ++++++++++++++ cpp/platform/public/future_test.cc | 14 ++++++++++++++ cpp/platform/public/logging.h | 14 ++++++++++++++ cpp/platform/public/logging_test.cc | 14 ++++++++++++++ cpp/platform/public/multi_thread_executor.h | 14 ++++++++++++++ .../public/multi_thread_executor_test.cc | 14 ++++++++++++++ cpp/platform/public/mutex.h | 14 ++++++++++++++ cpp/platform/public/mutex_lock.h | 14 ++++++++++++++ cpp/platform/public/mutex_test.cc | 14 ++++++++++++++ cpp/platform/public/pipe.cc | 14 ++++++++++++++ cpp/platform/public/pipe.h | 14 ++++++++++++++ cpp/platform/public/pipe_test.cc | 14 ++++++++++++++ cpp/platform/public/scheduled_executor.h | 14 ++++++++++++++ cpp/platform/public/scheduled_executor_test.cc | 14 ++++++++++++++ cpp/platform/public/settable_future.h | 14 ++++++++++++++ cpp/platform/public/single_thread_executor.h | 14 ++++++++++++++ .../public/single_thread_executor_test.cc | 14 ++++++++++++++ cpp/platform/public/submittable_executor.h | 14 ++++++++++++++ cpp/platform/public/system_clock.h | 14 ++++++++++++++ cpp/platform/public/webrtc.h | 14 ++++++++++++++ cpp/platform/public/wifi_lan.cc | 14 ++++++++++++++ cpp/platform/public/wifi_lan.h | 14 ++++++++++++++ cpp/platform/public/wifi_lan_test.cc | 14 ++++++++++++++ 312 files changed, 4377 insertions(+), 9 deletions(-) diff --git a/cpp/core/BUILD b/cpp/core/BUILD index 1e5c1d42..64e39601 100644 --- a/cpp/core/BUILD +++ b/cpp/core/BUILD @@ -1,3 +1,17 @@ +# Copyright 2020 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + cc_library( name = "core", srcs = [ diff --git a/cpp/core/core.cc b/cpp/core/core.cc index 6a2f33cc..11dd795f 100644 --- a/cpp/core/core.cc +++ b/cpp/core/core.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/core.h" #include diff --git a/cpp/core/core.h b/cpp/core/core.h index ee6f8486..3f23e10c 100644 --- a/cpp/core/core.h +++ b/cpp/core/core.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef CORE_CORE_H_ #define CORE_CORE_H_ diff --git a/cpp/core/core_test.cc b/cpp/core/core_test.cc index ac9351e7..76cd8f08 100644 --- a/cpp/core/core_test.cc +++ b/cpp/core/core_test.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/core.h" #include "core/internal/client_proxy.h" diff --git a/cpp/core/internal/BUILD b/cpp/core/internal/BUILD index 6baa01da..35e04611 100644 --- a/cpp/core/internal/BUILD +++ b/cpp/core/internal/BUILD @@ -1,3 +1,17 @@ +# Copyright 2020 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + cc_library( name = "internal", srcs = [ diff --git a/cpp/core/internal/base_bwu_handler.h b/cpp/core/internal/base_bwu_handler.h index 33703d46..41722c9b 100644 --- a/cpp/core/internal/base_bwu_handler.h +++ b/cpp/core/internal/base_bwu_handler.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef CORE_INTERNAL_BASE_BWU_HANDLER_H_ #define CORE_INTERNAL_BASE_BWU_HANDLER_H_ diff --git a/cpp/core/internal/base_endpoint_channel.cc b/cpp/core/internal/base_endpoint_channel.cc index beffa04a..6914e806 100644 --- a/cpp/core/internal/base_endpoint_channel.cc +++ b/cpp/core/internal/base_endpoint_channel.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/base_endpoint_channel.h" #include diff --git a/cpp/core/internal/base_endpoint_channel.h b/cpp/core/internal/base_endpoint_channel.h index 10285aa1..c23c6888 100644 --- a/cpp/core/internal/base_endpoint_channel.h +++ b/cpp/core/internal/base_endpoint_channel.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef CORE_INTERNAL_BASE_ENDPOINT_CHANNEL_H_ #define CORE_INTERNAL_BASE_ENDPOINT_CHANNEL_H_ diff --git a/cpp/core/internal/base_endpoint_channel_test.cc b/cpp/core/internal/base_endpoint_channel_test.cc index e8f16533..e71aebcf 100644 --- a/cpp/core/internal/base_endpoint_channel_test.cc +++ b/cpp/core/internal/base_endpoint_channel_test.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/base_endpoint_channel.h" #include diff --git a/cpp/core/internal/base_pcp_handler.cc b/cpp/core/internal/base_pcp_handler.cc index 6d74be82..fd4eb5f3 100644 --- a/cpp/core/internal/base_pcp_handler.cc +++ b/cpp/core/internal/base_pcp_handler.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/base_pcp_handler.h" #include diff --git a/cpp/core/internal/base_pcp_handler.h b/cpp/core/internal/base_pcp_handler.h index c7a6ff0b..32b900c5 100644 --- a/cpp/core/internal/base_pcp_handler.h +++ b/cpp/core/internal/base_pcp_handler.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef CORE_INTERNAL_BASE_PCP_HANDLER_H_ #define CORE_INTERNAL_BASE_PCP_HANDLER_H_ @@ -98,7 +112,7 @@ class BasePcpHandler : public PcpHandler, // Starts advertising. Once successfully started, changes ClientProxy's state. // Notifies ConnectionListener (info.listener) in case of any event. // See - // https://source.corp.google.com/piper///depot/google3/core/listeners.h;l=78 + // cpp/core/listeners.h Status StartAdvertising(ClientProxy* client, const std::string& service_id, const ConnectionOptions& options, const ConnectionRequestInfo& info) override; diff --git a/cpp/core/internal/base_pcp_handler_test.cc b/cpp/core/internal/base_pcp_handler_test.cc index 29246f9f..1b6ea7e8 100644 --- a/cpp/core/internal/base_pcp_handler_test.cc +++ b/cpp/core/internal/base_pcp_handler_test.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/base_pcp_handler.h" #include diff --git a/cpp/core/internal/ble_advertisement.cc b/cpp/core/internal/ble_advertisement.cc index 805edd4d..82bc49ab 100644 --- a/cpp/core/internal/ble_advertisement.cc +++ b/cpp/core/internal/ble_advertisement.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/ble_advertisement.h" #include diff --git a/cpp/core/internal/ble_advertisement.h b/cpp/core/internal/ble_advertisement.h index 6f262fec..d4658a42 100644 --- a/cpp/core/internal/ble_advertisement.h +++ b/cpp/core/internal/ble_advertisement.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef CORE_INTERNAL_BLE_ADVERTISEMENT_H_ #define CORE_INTERNAL_BLE_ADVERTISEMENT_H_ diff --git a/cpp/core/internal/ble_advertisement_test.cc b/cpp/core/internal/ble_advertisement_test.cc index 58a9d9dc..516da55d 100644 --- a/cpp/core/internal/ble_advertisement_test.cc +++ b/cpp/core/internal/ble_advertisement_test.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/ble_advertisement.h" #include "core/internal/base_pcp_handler.h" diff --git a/cpp/core/internal/ble_endpoint_channel.cc b/cpp/core/internal/ble_endpoint_channel.cc index 543327d5..181327ce 100644 --- a/cpp/core/internal/ble_endpoint_channel.cc +++ b/cpp/core/internal/ble_endpoint_channel.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/ble_endpoint_channel.h" #include diff --git a/cpp/core/internal/ble_endpoint_channel.h b/cpp/core/internal/ble_endpoint_channel.h index 5672558a..b7ecc5aa 100644 --- a/cpp/core/internal/ble_endpoint_channel.h +++ b/cpp/core/internal/ble_endpoint_channel.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef CORE_INTERNAL_BLE_ENDPOINT_CHANNEL_H_ #define CORE_INTERNAL_BLE_ENDPOINT_CHANNEL_H_ diff --git a/cpp/core/internal/bluetooth_device_name.cc b/cpp/core/internal/bluetooth_device_name.cc index 850c5031..f968aff2 100644 --- a/cpp/core/internal/bluetooth_device_name.cc +++ b/cpp/core/internal/bluetooth_device_name.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/bluetooth_device_name.h" #include diff --git a/cpp/core/internal/bluetooth_device_name.h b/cpp/core/internal/bluetooth_device_name.h index 859fe480..a2ce550e 100644 --- a/cpp/core/internal/bluetooth_device_name.h +++ b/cpp/core/internal/bluetooth_device_name.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef CORE_INTERNAL_BLUETOOTH_DEVICE_NAME_H_ #define CORE_INTERNAL_BLUETOOTH_DEVICE_NAME_H_ diff --git a/cpp/core/internal/bluetooth_device_name_test.cc b/cpp/core/internal/bluetooth_device_name_test.cc index 31d456e5..95dc6fb1 100644 --- a/cpp/core/internal/bluetooth_device_name_test.cc +++ b/cpp/core/internal/bluetooth_device_name_test.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/bluetooth_device_name.h" #include diff --git a/cpp/core/internal/bluetooth_endpoint_channel.cc b/cpp/core/internal/bluetooth_endpoint_channel.cc index 63bf83bb..a1a9ecdc 100644 --- a/cpp/core/internal/bluetooth_endpoint_channel.cc +++ b/cpp/core/internal/bluetooth_endpoint_channel.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/bluetooth_endpoint_channel.h" #include diff --git a/cpp/core/internal/bluetooth_endpoint_channel.h b/cpp/core/internal/bluetooth_endpoint_channel.h index ab67653c..6f9d9757 100644 --- a/cpp/core/internal/bluetooth_endpoint_channel.h +++ b/cpp/core/internal/bluetooth_endpoint_channel.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef CORE_INTERNAL_BLUETOOTH_ENDPOINT_CHANNEL_H_ #define CORE_INTERNAL_BLUETOOTH_ENDPOINT_CHANNEL_H_ diff --git a/cpp/core/internal/bwu_handler.h b/cpp/core/internal/bwu_handler.h index a3a4587b..4ef9f9d7 100644 --- a/cpp/core/internal/bwu_handler.h +++ b/cpp/core/internal/bwu_handler.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef CORE_INTERNAL_BWU_HANDLER_H_ #define CORE_INTERNAL_BWU_HANDLER_H_ diff --git a/cpp/core/internal/bwu_manager.cc b/cpp/core/internal/bwu_manager.cc index 30bdb773..d6432d51 100644 --- a/cpp/core/internal/bwu_manager.cc +++ b/cpp/core/internal/bwu_manager.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/bwu_manager.h" #include diff --git a/cpp/core/internal/bwu_manager.h b/cpp/core/internal/bwu_manager.h index 0cc73c84..e1bc0e3e 100644 --- a/cpp/core/internal/bwu_manager.h +++ b/cpp/core/internal/bwu_manager.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef CORE_INTERNAL_BWU_MANAGER_H_ #define CORE_INTERNAL_BWU_MANAGER_H_ diff --git a/cpp/core/internal/bwu_manager_test.cc b/cpp/core/internal/bwu_manager_test.cc index 00556c08..7a5358f4 100644 --- a/cpp/core/internal/bwu_manager_test.cc +++ b/cpp/core/internal/bwu_manager_test.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/bwu_manager.h" #include diff --git a/cpp/core/internal/client_proxy.cc b/cpp/core/internal/client_proxy.cc index 93081562..f9b97169 100644 --- a/cpp/core/internal/client_proxy.cc +++ b/cpp/core/internal/client_proxy.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/client_proxy.h" #include diff --git a/cpp/core/internal/client_proxy.h b/cpp/core/internal/client_proxy.h index 6bc8ebc5..c94ac0cf 100644 --- a/cpp/core/internal/client_proxy.h +++ b/cpp/core/internal/client_proxy.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef CORE_INTERNAL_CLIENT_PROXY_H_ #define CORE_INTERNAL_CLIENT_PROXY_H_ diff --git a/cpp/core/internal/client_proxy_test.cc b/cpp/core/internal/client_proxy_test.cc index 2e7a92cd..f3ee1726 100644 --- a/cpp/core/internal/client_proxy_test.cc +++ b/cpp/core/internal/client_proxy_test.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/client_proxy.h" #include diff --git a/cpp/core/internal/encryption_runner.cc b/cpp/core/internal/encryption_runner.cc index 7d2e531d..24832a60 100644 --- a/cpp/core/internal/encryption_runner.cc +++ b/cpp/core/internal/encryption_runner.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/encryption_runner.h" #include diff --git a/cpp/core/internal/encryption_runner.h b/cpp/core/internal/encryption_runner.h index 1e6c365a..bc1b4cf9 100644 --- a/cpp/core/internal/encryption_runner.h +++ b/cpp/core/internal/encryption_runner.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef CORE_INTERNAL_ENCRYPTION_RUNNER_H_ #define CORE_INTERNAL_ENCRYPTION_RUNNER_H_ diff --git a/cpp/core/internal/encryption_runner_test.cc b/cpp/core/internal/encryption_runner_test.cc index 32c921a0..f2ed6b55 100644 --- a/cpp/core/internal/encryption_runner_test.cc +++ b/cpp/core/internal/encryption_runner_test.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/encryption_runner.h" #include "core/internal/client_proxy.h" diff --git a/cpp/core/internal/endpoint_channel.h b/cpp/core/internal/endpoint_channel.h index 3d3e3c65..057a1102 100644 --- a/cpp/core/internal/endpoint_channel.h +++ b/cpp/core/internal/endpoint_channel.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef CORE_INTERNAL_ENDPOINT_CHANNEL_H_ #define CORE_INTERNAL_ENDPOINT_CHANNEL_H_ diff --git a/cpp/core/internal/endpoint_channel_manager.cc b/cpp/core/internal/endpoint_channel_manager.cc index a13e5f97..bb3c5202 100644 --- a/cpp/core/internal/endpoint_channel_manager.cc +++ b/cpp/core/internal/endpoint_channel_manager.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/endpoint_channel_manager.h" #include diff --git a/cpp/core/internal/endpoint_channel_manager.h b/cpp/core/internal/endpoint_channel_manager.h index 93dab29e..31ce2cd2 100644 --- a/cpp/core/internal/endpoint_channel_manager.h +++ b/cpp/core/internal/endpoint_channel_manager.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef CORE_INTERNAL_ENDPOINT_CHANNEL_MANAGER_H_ #define CORE_INTERNAL_ENDPOINT_CHANNEL_MANAGER_H_ diff --git a/cpp/core/internal/endpoint_channel_manager_test.cc b/cpp/core/internal/endpoint_channel_manager_test.cc index 01d40846..f278a1d2 100644 --- a/cpp/core/internal/endpoint_channel_manager_test.cc +++ b/cpp/core/internal/endpoint_channel_manager_test.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/endpoint_channel_manager.h" #include "gmock/gmock.h" diff --git a/cpp/core/internal/endpoint_manager.cc b/cpp/core/internal/endpoint_manager.cc index 08779491..5e53bb91 100644 --- a/cpp/core/internal/endpoint_manager.cc +++ b/cpp/core/internal/endpoint_manager.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/endpoint_manager.h" #include diff --git a/cpp/core/internal/endpoint_manager.h b/cpp/core/internal/endpoint_manager.h index bd40159d..c343e53c 100644 --- a/cpp/core/internal/endpoint_manager.h +++ b/cpp/core/internal/endpoint_manager.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef CORE_INTERNAL_ENDPOINT_MANAGER_H_ #define CORE_INTERNAL_ENDPOINT_MANAGER_H_ diff --git a/cpp/core/internal/endpoint_manager_test.cc b/cpp/core/internal/endpoint_manager_test.cc index f29f4e99..4c214e70 100644 --- a/cpp/core/internal/endpoint_manager_test.cc +++ b/cpp/core/internal/endpoint_manager_test.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/endpoint_manager.h" #include diff --git a/cpp/core/internal/internal_payload.cc b/cpp/core/internal/internal_payload.cc index c9591b42..079e1f47 100644 --- a/cpp/core/internal/internal_payload.cc +++ b/cpp/core/internal/internal_payload.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/internal_payload.h" namespace location { diff --git a/cpp/core/internal/internal_payload.h b/cpp/core/internal/internal_payload.h index e08b8074..6ffcde58 100644 --- a/cpp/core/internal/internal_payload.h +++ b/cpp/core/internal/internal_payload.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef CORE_INTERNAL_INTERNAL_PAYLOAD_H_ #define CORE_INTERNAL_INTERNAL_PAYLOAD_H_ diff --git a/cpp/core/internal/internal_payload_factory.cc b/cpp/core/internal/internal_payload_factory.cc index 6cbf4da3..08e30dd5 100644 --- a/cpp/core/internal/internal_payload_factory.cc +++ b/cpp/core/internal/internal_payload_factory.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/internal_payload_factory.h" #include diff --git a/cpp/core/internal/internal_payload_factory.h b/cpp/core/internal/internal_payload_factory.h index f5afde13..cd7efc56 100644 --- a/cpp/core/internal/internal_payload_factory.h +++ b/cpp/core/internal/internal_payload_factory.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef CORE_INTERNAL_INTERNAL_PAYLOAD_FACTORY_H_ #define CORE_INTERNAL_INTERNAL_PAYLOAD_FACTORY_H_ diff --git a/cpp/core/internal/internal_payload_factory_test.cc b/cpp/core/internal/internal_payload_factory_test.cc index 24fc2f9c..d5b55c9d 100644 --- a/cpp/core/internal/internal_payload_factory_test.cc +++ b/cpp/core/internal/internal_payload_factory_test.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/internal_payload_factory.h" #include "core/internal/offline_frames.h" diff --git a/cpp/core/internal/mediums/BUILD b/cpp/core/internal/mediums/BUILD index a1b900d1..d52e2ac9 100644 --- a/cpp/core/internal/mediums/BUILD +++ b/cpp/core/internal/mediums/BUILD @@ -1,3 +1,17 @@ +# Copyright 2020 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + cc_library( name = "mediums", srcs = [ diff --git a/cpp/core/internal/mediums/ble.cc b/cpp/core/internal/mediums/ble.cc index 5c14dd54..3c21d8ce 100644 --- a/cpp/core/internal/mediums/ble.cc +++ b/cpp/core/internal/mediums/ble.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/mediums/ble.h" #include diff --git a/cpp/core/internal/mediums/ble.h b/cpp/core/internal/mediums/ble.h index 83f7ed3f..8ced26a9 100644 --- a/cpp/core/internal/mediums/ble.h +++ b/cpp/core/internal/mediums/ble.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef CORE_INTERNAL_MEDIUMS_BLE_H_ #define CORE_INTERNAL_MEDIUMS_BLE_H_ diff --git a/cpp/core/internal/mediums/ble_test.cc b/cpp/core/internal/mediums/ble_test.cc index d5a9df31..95b32d7d 100644 --- a/cpp/core/internal/mediums/ble_test.cc +++ b/cpp/core/internal/mediums/ble_test.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/mediums/ble.h" #include diff --git a/cpp/core/internal/mediums/ble_v2/BUILD b/cpp/core/internal/mediums/ble_v2/BUILD index d3596825..10b1aafb 100644 --- a/cpp/core/internal/mediums/ble_v2/BUILD +++ b/cpp/core/internal/mediums/ble_v2/BUILD @@ -1,3 +1,17 @@ +# Copyright 2020 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + cc_library( name = "ble_v2", srcs = [ diff --git a/cpp/core/internal/mediums/ble_v2/advertisement_read_result.cc b/cpp/core/internal/mediums/ble_v2/advertisement_read_result.cc index 28b593cd..bf1328cc 100644 --- a/cpp/core/internal/mediums/ble_v2/advertisement_read_result.cc +++ b/cpp/core/internal/mediums/ble_v2/advertisement_read_result.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/mediums/ble_v2/advertisement_read_result.h" #include diff --git a/cpp/core/internal/mediums/ble_v2/advertisement_read_result.h b/cpp/core/internal/mediums/ble_v2/advertisement_read_result.h index a9ae74d1..03c97d2d 100644 --- a/cpp/core/internal/mediums/ble_v2/advertisement_read_result.h +++ b/cpp/core/internal/mediums/ble_v2/advertisement_read_result.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef CORE_INTERNAL_MEDIUMS_BLE_V2_ADVERTISEMENT_READ_RESULT_H_ #define CORE_INTERNAL_MEDIUMS_BLE_V2_ADVERTISEMENT_READ_RESULT_H_ diff --git a/cpp/core/internal/mediums/ble_v2/advertisement_read_result_test.cc b/cpp/core/internal/mediums/ble_v2/advertisement_read_result_test.cc index bdf41a70..90ce51c9 100644 --- a/cpp/core/internal/mediums/ble_v2/advertisement_read_result_test.cc +++ b/cpp/core/internal/mediums/ble_v2/advertisement_read_result_test.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/mediums/ble_v2/advertisement_read_result.h" #include "gtest/gtest.h" diff --git a/cpp/core/internal/mediums/ble_v2/ble_advertisement.cc b/cpp/core/internal/mediums/ble_v2/ble_advertisement.cc index de8e382b..a2afa609 100644 --- a/cpp/core/internal/mediums/ble_v2/ble_advertisement.cc +++ b/cpp/core/internal/mediums/ble_v2/ble_advertisement.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/mediums/ble_v2/ble_advertisement.h" #include diff --git a/cpp/core/internal/mediums/ble_v2/ble_advertisement.h b/cpp/core/internal/mediums/ble_v2/ble_advertisement.h index 8bef3916..176f4bfd 100644 --- a/cpp/core/internal/mediums/ble_v2/ble_advertisement.h +++ b/cpp/core/internal/mediums/ble_v2/ble_advertisement.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef CORE_INTERNAL_MEDIUMS_BLE_V2_BLE_ADVERTISEMENT_H_ #define CORE_INTERNAL_MEDIUMS_BLE_V2_BLE_ADVERTISEMENT_H_ diff --git a/cpp/core/internal/mediums/ble_v2/ble_advertisement_header.cc b/cpp/core/internal/mediums/ble_v2/ble_advertisement_header.cc index 293e3d9b..704e01bd 100644 --- a/cpp/core/internal/mediums/ble_v2/ble_advertisement_header.cc +++ b/cpp/core/internal/mediums/ble_v2/ble_advertisement_header.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/mediums/ble_v2/ble_advertisement_header.h" #include diff --git a/cpp/core/internal/mediums/ble_v2/ble_advertisement_header.h b/cpp/core/internal/mediums/ble_v2/ble_advertisement_header.h index 2c214b4e..fbf0d457 100644 --- a/cpp/core/internal/mediums/ble_v2/ble_advertisement_header.h +++ b/cpp/core/internal/mediums/ble_v2/ble_advertisement_header.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef CORE_INTERNAL_MEDIUMS_BLE_V2_BLE_ADVERTISEMENT_HEADER_H_ #define CORE_INTERNAL_MEDIUMS_BLE_V2_BLE_ADVERTISEMENT_HEADER_H_ diff --git a/cpp/core/internal/mediums/ble_v2/ble_advertisement_header_test.cc b/cpp/core/internal/mediums/ble_v2/ble_advertisement_header_test.cc index c24a2b03..4e82f1c3 100644 --- a/cpp/core/internal/mediums/ble_v2/ble_advertisement_header_test.cc +++ b/cpp/core/internal/mediums/ble_v2/ble_advertisement_header_test.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/mediums/ble_v2/ble_advertisement_header.h" #include "platform/base/base64_utils.h" diff --git a/cpp/core/internal/mediums/ble_v2/ble_advertisement_test.cc b/cpp/core/internal/mediums/ble_v2/ble_advertisement_test.cc index 0c5a62b8..b77f6122 100644 --- a/cpp/core/internal/mediums/ble_v2/ble_advertisement_test.cc +++ b/cpp/core/internal/mediums/ble_v2/ble_advertisement_test.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/mediums/ble_v2/ble_advertisement.h" #include diff --git a/cpp/core/internal/mediums/ble_v2/ble_packet.cc b/cpp/core/internal/mediums/ble_v2/ble_packet.cc index d58fb7db..1eddf094 100644 --- a/cpp/core/internal/mediums/ble_v2/ble_packet.cc +++ b/cpp/core/internal/mediums/ble_v2/ble_packet.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/mediums/ble_v2/ble_packet.h" #include "platform/base/base_input_stream.h" diff --git a/cpp/core/internal/mediums/ble_v2/ble_packet.h b/cpp/core/internal/mediums/ble_v2/ble_packet.h index c5af2cbd..b559d4ad 100644 --- a/cpp/core/internal/mediums/ble_v2/ble_packet.h +++ b/cpp/core/internal/mediums/ble_v2/ble_packet.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef CORE_INTERNAL_MEDIUMS_BLE_V2_BLE_PACKET_H_ #define CORE_INTERNAL_MEDIUMS_BLE_V2_BLE_PACKET_H_ diff --git a/cpp/core/internal/mediums/ble_v2/ble_packet_test.cc b/cpp/core/internal/mediums/ble_v2/ble_packet_test.cc index 11984546..df52c3d6 100644 --- a/cpp/core/internal/mediums/ble_v2/ble_packet_test.cc +++ b/cpp/core/internal/mediums/ble_v2/ble_packet_test.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/mediums/ble_v2/ble_packet.h" #include "gtest/gtest.h" diff --git a/cpp/core/internal/mediums/ble_v2/ble_peripheral.h b/cpp/core/internal/mediums/ble_v2/ble_peripheral.h index bc61c59f..e3b51a41 100644 --- a/cpp/core/internal/mediums/ble_v2/ble_peripheral.h +++ b/cpp/core/internal/mediums/ble_v2/ble_peripheral.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef CORE_INTERNAL_MEDIUMS_BLE_V2_BLE_PERIPHERAL_H_ #define CORE_INTERNAL_MEDIUMS_BLE_V2_BLE_PERIPHERAL_H_ diff --git a/cpp/core/internal/mediums/ble_v2/ble_peripheral_test.cc b/cpp/core/internal/mediums/ble_v2/ble_peripheral_test.cc index f5a41c00..c0a4ecb0 100644 --- a/cpp/core/internal/mediums/ble_v2/ble_peripheral_test.cc +++ b/cpp/core/internal/mediums/ble_v2/ble_peripheral_test.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/mediums/ble_v2/ble_peripheral.h" #include "gtest/gtest.h" diff --git a/cpp/core/internal/mediums/ble_v2/discovered_peripheral_callback.h b/cpp/core/internal/mediums/ble_v2/discovered_peripheral_callback.h index c23ed828..8aacfed4 100644 --- a/cpp/core/internal/mediums/ble_v2/discovered_peripheral_callback.h +++ b/cpp/core/internal/mediums/ble_v2/discovered_peripheral_callback.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef CORE_INTERNAL_MEDIUMS_BLE_V2_DISCOVERED_PERIPHERAL_CALLBACK_H_ #define CORE_INTERNAL_MEDIUMS_BLE_V2_DISCOVERED_PERIPHERAL_CALLBACK_H_ diff --git a/cpp/core/internal/mediums/bloom_filter.cc b/cpp/core/internal/mediums/bloom_filter.cc index e74861ba..20a2370b 100644 --- a/cpp/core/internal/mediums/bloom_filter.cc +++ b/cpp/core/internal/mediums/bloom_filter.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/mediums/bloom_filter.h" #include "absl/numeric/int128.h" diff --git a/cpp/core/internal/mediums/bloom_filter.h b/cpp/core/internal/mediums/bloom_filter.h index 7150d864..3d3f45c9 100644 --- a/cpp/core/internal/mediums/bloom_filter.h +++ b/cpp/core/internal/mediums/bloom_filter.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef CORE_INTERNAL_MEDIUMS_BLOOM_FILTER_H_ #define CORE_INTERNAL_MEDIUMS_BLOOM_FILTER_H_ diff --git a/cpp/core/internal/mediums/bloom_filter_test.cc b/cpp/core/internal/mediums/bloom_filter_test.cc index 96d80c15..70e846a6 100644 --- a/cpp/core/internal/mediums/bloom_filter_test.cc +++ b/cpp/core/internal/mediums/bloom_filter_test.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/mediums/bloom_filter.h" #include diff --git a/cpp/core/internal/mediums/bluetooth_classic.cc b/cpp/core/internal/mediums/bluetooth_classic.cc index 63e8df68..503a30de 100644 --- a/cpp/core/internal/mediums/bluetooth_classic.cc +++ b/cpp/core/internal/mediums/bluetooth_classic.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/mediums/bluetooth_classic.h" #include diff --git a/cpp/core/internal/mediums/bluetooth_classic.h b/cpp/core/internal/mediums/bluetooth_classic.h index 18262767..a7162ec7 100644 --- a/cpp/core/internal/mediums/bluetooth_classic.h +++ b/cpp/core/internal/mediums/bluetooth_classic.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef CORE_INTERNAL_MEDIUMS_BLUETOOTH_CLASSIC_H_ #define CORE_INTERNAL_MEDIUMS_BLUETOOTH_CLASSIC_H_ diff --git a/cpp/core/internal/mediums/bluetooth_classic_test.cc b/cpp/core/internal/mediums/bluetooth_classic_test.cc index 7294c131..49dd9f2b 100644 --- a/cpp/core/internal/mediums/bluetooth_classic_test.cc +++ b/cpp/core/internal/mediums/bluetooth_classic_test.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/mediums/bluetooth_classic.h" #include diff --git a/cpp/core/internal/mediums/bluetooth_radio.cc b/cpp/core/internal/mediums/bluetooth_radio.cc index ca0e2f23..e0ec8614 100644 --- a/cpp/core/internal/mediums/bluetooth_radio.cc +++ b/cpp/core/internal/mediums/bluetooth_radio.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/mediums/bluetooth_radio.h" #include "platform/base/exception.h" diff --git a/cpp/core/internal/mediums/bluetooth_radio.h b/cpp/core/internal/mediums/bluetooth_radio.h index a1f7211b..31cd6735 100644 --- a/cpp/core/internal/mediums/bluetooth_radio.h +++ b/cpp/core/internal/mediums/bluetooth_radio.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef CORE_INTERNAL_MEDIUMS_BLUETOOTH_RADIO_H_ #define CORE_INTERNAL_MEDIUMS_BLUETOOTH_RADIO_H_ diff --git a/cpp/core/internal/mediums/bluetooth_radio_test.cc b/cpp/core/internal/mediums/bluetooth_radio_test.cc index 8f8e3a93..1a10383d 100644 --- a/cpp/core/internal/mediums/bluetooth_radio_test.cc +++ b/cpp/core/internal/mediums/bluetooth_radio_test.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/mediums/bluetooth_radio.h" #include "gmock/gmock.h" diff --git a/cpp/core/internal/mediums/lost_entity_tracker.h b/cpp/core/internal/mediums/lost_entity_tracker.h index 8a4cd32c..024cb1c3 100644 --- a/cpp/core/internal/mediums/lost_entity_tracker.h +++ b/cpp/core/internal/mediums/lost_entity_tracker.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef CORE_INTERNAL_MEDIUMS_LOST_ENTITY_TRACKER_H_ #define CORE_INTERNAL_MEDIUMS_LOST_ENTITY_TRACKER_H_ diff --git a/cpp/core/internal/mediums/lost_entity_tracker_test.cc b/cpp/core/internal/mediums/lost_entity_tracker_test.cc index 5c6e10c0..0c934e73 100644 --- a/cpp/core/internal/mediums/lost_entity_tracker_test.cc +++ b/cpp/core/internal/mediums/lost_entity_tracker_test.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/mediums/lost_entity_tracker.h" #include "gtest/gtest.h" diff --git a/cpp/core/internal/mediums/mediums.cc b/cpp/core/internal/mediums/mediums.cc index ff85310b..04f098b3 100644 --- a/cpp/core/internal/mediums/mediums.cc +++ b/cpp/core/internal/mediums/mediums.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/mediums/mediums.h" namespace location { diff --git a/cpp/core/internal/mediums/mediums.h b/cpp/core/internal/mediums/mediums.h index 5266dde1..4c6127eb 100644 --- a/cpp/core/internal/mediums/mediums.h +++ b/cpp/core/internal/mediums/mediums.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef CORE_INTERNAL_MEDIUMS_MEDIUMS_H_ #define CORE_INTERNAL_MEDIUMS_MEDIUMS_H_ diff --git a/cpp/core/internal/mediums/utils.cc b/cpp/core/internal/mediums/utils.cc index 410f0495..f57ba8f7 100644 --- a/cpp/core/internal/mediums/utils.cc +++ b/cpp/core/internal/mediums/utils.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/mediums/utils.h" #include diff --git a/cpp/core/internal/mediums/utils.h b/cpp/core/internal/mediums/utils.h index b3e01a55..28f275ce 100644 --- a/cpp/core/internal/mediums/utils.h +++ b/cpp/core/internal/mediums/utils.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef CORE_INTERNAL_MEDIUMS_UTILS_H_ #define CORE_INTERNAL_MEDIUMS_UTILS_H_ diff --git a/cpp/core/internal/mediums/uuid.cc b/cpp/core/internal/mediums/uuid.cc index 0208fd17..bca74c48 100644 --- a/cpp/core/internal/mediums/uuid.cc +++ b/cpp/core/internal/mediums/uuid.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/mediums/uuid.h" #include diff --git a/cpp/core/internal/mediums/uuid.h b/cpp/core/internal/mediums/uuid.h index 630ae518..0cfb7caa 100644 --- a/cpp/core/internal/mediums/uuid.h +++ b/cpp/core/internal/mediums/uuid.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef CORE_INTERNAL_MEDIUMS_UUID_H_ #define CORE_INTERNAL_MEDIUMS_UUID_H_ diff --git a/cpp/core/internal/mediums/uuid_test.cc b/cpp/core/internal/mediums/uuid_test.cc index 9d59fadc..2289ef6d 100644 --- a/cpp/core/internal/mediums/uuid_test.cc +++ b/cpp/core/internal/mediums/uuid_test.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/mediums/uuid.h" #include "platform/public/crypto.h" diff --git a/cpp/core/internal/mediums/webrtc.cc b/cpp/core/internal/mediums/webrtc.cc index 9c46feec..c91fc270 100644 --- a/cpp/core/internal/mediums/webrtc.cc +++ b/cpp/core/internal/mediums/webrtc.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/mediums/webrtc.h" #include diff --git a/cpp/core/internal/mediums/webrtc.h b/cpp/core/internal/mediums/webrtc.h index 92f3d95e..92832c5d 100644 --- a/cpp/core/internal/mediums/webrtc.h +++ b/cpp/core/internal/mediums/webrtc.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef CORE_INTERNAL_MEDIUMS_WEBRTC_H_ #define CORE_INTERNAL_MEDIUMS_WEBRTC_H_ diff --git a/cpp/core/internal/mediums/webrtc/BUILD b/cpp/core/internal/mediums/webrtc/BUILD index cb614815..72178d27 100644 --- a/cpp/core/internal/mediums/webrtc/BUILD +++ b/cpp/core/internal/mediums/webrtc/BUILD @@ -1,3 +1,17 @@ +# Copyright 2020 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + cc_library( name = "webrtc", srcs = [ diff --git a/cpp/core/internal/mediums/webrtc/connection_flow.cc b/cpp/core/internal/mediums/webrtc/connection_flow.cc index fb724487..c8c18b4b 100644 --- a/cpp/core/internal/mediums/webrtc/connection_flow.cc +++ b/cpp/core/internal/mediums/webrtc/connection_flow.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/mediums/webrtc/connection_flow.h" #include diff --git a/cpp/core/internal/mediums/webrtc/connection_flow.h b/cpp/core/internal/mediums/webrtc/connection_flow.h index 47fbb58f..926a1403 100644 --- a/cpp/core/internal/mediums/webrtc/connection_flow.h +++ b/cpp/core/internal/mediums/webrtc/connection_flow.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef CORE_INTERNAL_MEDIUMS_WEBRTC_CONNECTION_FLOW_H_ #define CORE_INTERNAL_MEDIUMS_WEBRTC_CONNECTION_FLOW_H_ diff --git a/cpp/core/internal/mediums/webrtc/connection_flow_test.cc b/cpp/core/internal/mediums/webrtc/connection_flow_test.cc index 6dec5c59..b3504019 100644 --- a/cpp/core/internal/mediums/webrtc/connection_flow_test.cc +++ b/cpp/core/internal/mediums/webrtc/connection_flow_test.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/mediums/webrtc/connection_flow.h" #include diff --git a/cpp/core/internal/mediums/webrtc/data_channel_listener.h b/cpp/core/internal/mediums/webrtc/data_channel_listener.h index 319889fd..f645e250 100644 --- a/cpp/core/internal/mediums/webrtc/data_channel_listener.h +++ b/cpp/core/internal/mediums/webrtc/data_channel_listener.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef CORE_INTERNAL_MEDIUMS_WEBRTC_DATA_CHANNEL_LISTENER_H_ #define CORE_INTERNAL_MEDIUMS_WEBRTC_DATA_CHANNEL_LISTENER_H_ diff --git a/cpp/core/internal/mediums/webrtc/data_channel_observer_impl.cc b/cpp/core/internal/mediums/webrtc/data_channel_observer_impl.cc index ca46199b..cba998d6 100644 --- a/cpp/core/internal/mediums/webrtc/data_channel_observer_impl.cc +++ b/cpp/core/internal/mediums/webrtc/data_channel_observer_impl.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/mediums/webrtc/data_channel_observer_impl.h" namespace location { diff --git a/cpp/core/internal/mediums/webrtc/data_channel_observer_impl.h b/cpp/core/internal/mediums/webrtc/data_channel_observer_impl.h index 4cb6d277..4de3f346 100644 --- a/cpp/core/internal/mediums/webrtc/data_channel_observer_impl.h +++ b/cpp/core/internal/mediums/webrtc/data_channel_observer_impl.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef CORE_INTERNAL_MEDIUMS_WEBRTC_DATA_CHANNEL_OBSERVER_IMPL_H_ #define CORE_INTERNAL_MEDIUMS_WEBRTC_DATA_CHANNEL_OBSERVER_IMPL_H_ diff --git a/cpp/core/internal/mediums/webrtc/local_ice_candidate_listener.h b/cpp/core/internal/mediums/webrtc/local_ice_candidate_listener.h index dc4c9a42..24085193 100644 --- a/cpp/core/internal/mediums/webrtc/local_ice_candidate_listener.h +++ b/cpp/core/internal/mediums/webrtc/local_ice_candidate_listener.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef CORE_INTERNAL_MEDIUMS_WEBRTC_LOCAL_ICE_CANDIDATE_LISTENER_H_ #define CORE_INTERNAL_MEDIUMS_WEBRTC_LOCAL_ICE_CANDIDATE_LISTENER_H_ diff --git a/cpp/core/internal/mediums/webrtc/peer_connection_observer_impl.cc b/cpp/core/internal/mediums/webrtc/peer_connection_observer_impl.cc index a86a1eaa..ec21286f 100644 --- a/cpp/core/internal/mediums/webrtc/peer_connection_observer_impl.cc +++ b/cpp/core/internal/mediums/webrtc/peer_connection_observer_impl.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/mediums/webrtc/peer_connection_observer_impl.h" #include "core/internal/mediums/webrtc/connection_flow.h" diff --git a/cpp/core/internal/mediums/webrtc/peer_connection_observer_impl.h b/cpp/core/internal/mediums/webrtc/peer_connection_observer_impl.h index a8aee854..b7d3be47 100644 --- a/cpp/core/internal/mediums/webrtc/peer_connection_observer_impl.h +++ b/cpp/core/internal/mediums/webrtc/peer_connection_observer_impl.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef CORE_INTERNAL_MEDIUMS_WEBRTC_PEER_CONNECTION_OBSERVER_IMPL_H_ #define CORE_INTERNAL_MEDIUMS_WEBRTC_PEER_CONNECTION_OBSERVER_IMPL_H_ diff --git a/cpp/core/internal/mediums/webrtc/peer_id.cc b/cpp/core/internal/mediums/webrtc/peer_id.cc index 513ae9d6..455e2de8 100644 --- a/cpp/core/internal/mediums/webrtc/peer_id.cc +++ b/cpp/core/internal/mediums/webrtc/peer_id.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/mediums/webrtc/peer_id.h" #include diff --git a/cpp/core/internal/mediums/webrtc/peer_id.h b/cpp/core/internal/mediums/webrtc/peer_id.h index a52c6b5d..a6df2e92 100644 --- a/cpp/core/internal/mediums/webrtc/peer_id.h +++ b/cpp/core/internal/mediums/webrtc/peer_id.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef CORE_INTERNAL_MEDIUMS_WEBRTC_PEER_ID_H_ #define CORE_INTERNAL_MEDIUMS_WEBRTC_PEER_ID_H_ diff --git a/cpp/core/internal/mediums/webrtc/peer_id_test.cc b/cpp/core/internal/mediums/webrtc/peer_id_test.cc index 3cbac2eb..06832e30 100644 --- a/cpp/core/internal/mediums/webrtc/peer_id_test.cc +++ b/cpp/core/internal/mediums/webrtc/peer_id_test.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/mediums/webrtc/peer_id.h" #include diff --git a/cpp/core/internal/mediums/webrtc/session_description_wrapper.h b/cpp/core/internal/mediums/webrtc/session_description_wrapper.h index fd597e0e..dd594917 100644 --- a/cpp/core/internal/mediums/webrtc/session_description_wrapper.h +++ b/cpp/core/internal/mediums/webrtc/session_description_wrapper.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef CORE_INTERNAL_MEDIUMS_WEBRTC_SESSION_DESCRIPTION_WRAPPER_H_ #define CORE_INTERNAL_MEDIUMS_WEBRTC_SESSION_DESCRIPTION_WRAPPER_H_ diff --git a/cpp/core/internal/mediums/webrtc/signaling_frames.cc b/cpp/core/internal/mediums/webrtc/signaling_frames.cc index 0de3718f..284ce55b 100644 --- a/cpp/core/internal/mediums/webrtc/signaling_frames.cc +++ b/cpp/core/internal/mediums/webrtc/signaling_frames.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/mediums/webrtc/signaling_frames.h" namespace location { diff --git a/cpp/core/internal/mediums/webrtc/signaling_frames.h b/cpp/core/internal/mediums/webrtc/signaling_frames.h index 847072e1..067bb31c 100644 --- a/cpp/core/internal/mediums/webrtc/signaling_frames.h +++ b/cpp/core/internal/mediums/webrtc/signaling_frames.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef CORE_INTERNAL_MEDIUMS_WEBRTC_SIGNALING_FRAMES_H_ #define CORE_INTERNAL_MEDIUMS_WEBRTC_SIGNALING_FRAMES_H_ diff --git a/cpp/core/internal/mediums/webrtc/signaling_frames_test.cc b/cpp/core/internal/mediums/webrtc/signaling_frames_test.cc index 47594e6d..aabd3866 100644 --- a/cpp/core/internal/mediums/webrtc/signaling_frames_test.cc +++ b/cpp/core/internal/mediums/webrtc/signaling_frames_test.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/mediums/webrtc/signaling_frames.h" #include diff --git a/cpp/core/internal/mediums/webrtc/webrtc_socket.cc b/cpp/core/internal/mediums/webrtc/webrtc_socket.cc index 159cfaed..f8ad4cf7 100644 --- a/cpp/core/internal/mediums/webrtc/webrtc_socket.cc +++ b/cpp/core/internal/mediums/webrtc/webrtc_socket.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/mediums/webrtc/webrtc_socket.h" #include "platform/public/logging.h" diff --git a/cpp/core/internal/mediums/webrtc/webrtc_socket.h b/cpp/core/internal/mediums/webrtc/webrtc_socket.h index 5e62befd..37bf0480 100644 --- a/cpp/core/internal/mediums/webrtc/webrtc_socket.h +++ b/cpp/core/internal/mediums/webrtc/webrtc_socket.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef CORE_INTERNAL_MEDIUMS_WEBRTC_WEBRTC_SOCKET_H_ #define CORE_INTERNAL_MEDIUMS_WEBRTC_WEBRTC_SOCKET_H_ diff --git a/cpp/core/internal/mediums/webrtc/webrtc_socket_test.cc b/cpp/core/internal/mediums/webrtc/webrtc_socket_test.cc index 4760834c..72c4e346 100644 --- a/cpp/core/internal/mediums/webrtc/webrtc_socket_test.cc +++ b/cpp/core/internal/mediums/webrtc/webrtc_socket_test.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/mediums/webrtc/webrtc_socket.h" #include diff --git a/cpp/core/internal/mediums/webrtc/webrtc_socket_wrapper.h b/cpp/core/internal/mediums/webrtc/webrtc_socket_wrapper.h index 34b0a638..67c8e2b5 100644 --- a/cpp/core/internal/mediums/webrtc/webrtc_socket_wrapper.h +++ b/cpp/core/internal/mediums/webrtc/webrtc_socket_wrapper.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef CORE_INTERNAL_MEDIUMS_WEBRTC_WEBRTC_SOCKET_WRAPPER_H_ #define CORE_INTERNAL_MEDIUMS_WEBRTC_WEBRTC_SOCKET_WRAPPER_H_ diff --git a/cpp/core/internal/mediums/webrtc_test.cc b/cpp/core/internal/mediums/webrtc_test.cc index 4874e105..793f518c 100644 --- a/cpp/core/internal/mediums/webrtc_test.cc +++ b/cpp/core/internal/mediums/webrtc_test.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/mediums/webrtc.h" #include "core/internal/mediums/webrtc/webrtc_socket_wrapper.h" diff --git a/cpp/core/internal/mediums/wifi_lan.cc b/cpp/core/internal/mediums/wifi_lan.cc index af607cbd..5c6954a1 100644 --- a/cpp/core/internal/mediums/wifi_lan.cc +++ b/cpp/core/internal/mediums/wifi_lan.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/mediums/wifi_lan.h" #include diff --git a/cpp/core/internal/mediums/wifi_lan.h b/cpp/core/internal/mediums/wifi_lan.h index 3029b5a8..a6f4fca4 100644 --- a/cpp/core/internal/mediums/wifi_lan.h +++ b/cpp/core/internal/mediums/wifi_lan.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef CORE_INTERNAL_MEDIUMS_WIFI_LAN_H_ #define CORE_INTERNAL_MEDIUMS_WIFI_LAN_H_ diff --git a/cpp/core/internal/mediums/wifi_lan_test.cc b/cpp/core/internal/mediums/wifi_lan_test.cc index 20e75ac1..3b762ec3 100644 --- a/cpp/core/internal/mediums/wifi_lan_test.cc +++ b/cpp/core/internal/mediums/wifi_lan_test.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/mediums/wifi_lan.h" #include diff --git a/cpp/core/internal/message_lite.h b/cpp/core/internal/message_lite.h index 4ca8a0b2..5ce9d91e 100644 --- a/cpp/core/internal/message_lite.h +++ b/cpp/core/internal/message_lite.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef CORE_INTERNAL_MESSAGE_LITE_H_ #define CORE_INTERNAL_MESSAGE_LITE_H_ diff --git a/cpp/core/internal/mock_service_controller.h b/cpp/core/internal/mock_service_controller.h index d89e47e1..b701644c 100644 --- a/cpp/core/internal/mock_service_controller.h +++ b/cpp/core/internal/mock_service_controller.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef CORE_INTERNAL_MOCK_SERVICE_CONTROLLER_H_ #define CORE_INTERNAL_MOCK_SERVICE_CONTROLLER_H_ diff --git a/cpp/core/internal/offline_frames.cc b/cpp/core/internal/offline_frames.cc index 5e5d2452..ad40c23f 100644 --- a/cpp/core/internal/offline_frames.cc +++ b/cpp/core/internal/offline_frames.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/offline_frames.h" #include diff --git a/cpp/core/internal/offline_frames.h b/cpp/core/internal/offline_frames.h index f5bdc01c..70200933 100644 --- a/cpp/core/internal/offline_frames.h +++ b/cpp/core/internal/offline_frames.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef CORE_INTERNAL_OFFLINE_FRAMES_H_ #define CORE_INTERNAL_OFFLINE_FRAMES_H_ diff --git a/cpp/core/internal/offline_frames_test.cc b/cpp/core/internal/offline_frames_test.cc index 28cf3190..3aec5f81 100644 --- a/cpp/core/internal/offline_frames_test.cc +++ b/cpp/core/internal/offline_frames_test.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/offline_frames.h" #include diff --git a/cpp/core/internal/offline_service_controller.cc b/cpp/core/internal/offline_service_controller.cc index c1008a4f..5debdce8 100644 --- a/cpp/core/internal/offline_service_controller.cc +++ b/cpp/core/internal/offline_service_controller.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/offline_service_controller.h" #include diff --git a/cpp/core/internal/offline_service_controller.h b/cpp/core/internal/offline_service_controller.h index 2a70eef4..a38181db 100644 --- a/cpp/core/internal/offline_service_controller.h +++ b/cpp/core/internal/offline_service_controller.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef CORE_INTERNAL_OFFLINE_SERVICE_CONTROLLER_H_ #define CORE_INTERNAL_OFFLINE_SERVICE_CONTROLLER_H_ diff --git a/cpp/core/internal/offline_service_controller_test.cc b/cpp/core/internal/offline_service_controller_test.cc index e88859cd..4707dfd8 100644 --- a/cpp/core/internal/offline_service_controller_test.cc +++ b/cpp/core/internal/offline_service_controller_test.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/offline_service_controller.h" #include diff --git a/cpp/core/internal/offline_simulation_user.cc b/cpp/core/internal/offline_simulation_user.cc index a7f712f2..538e31b8 100644 --- a/cpp/core/internal/offline_simulation_user.cc +++ b/cpp/core/internal/offline_simulation_user.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/offline_simulation_user.h" #include "core/listeners.h" diff --git a/cpp/core/internal/offline_simulation_user.h b/cpp/core/internal/offline_simulation_user.h index 8e8b5b5e..d4299d02 100644 --- a/cpp/core/internal/offline_simulation_user.h +++ b/cpp/core/internal/offline_simulation_user.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef CORE_INTERNAL_OFFLINE_SIMULATION_USER_H_ #define CORE_INTERNAL_OFFLINE_SIMULATION_USER_H_ diff --git a/cpp/core/internal/p2p_cluster_pcp_handler.cc b/cpp/core/internal/p2p_cluster_pcp_handler.cc index 864f290e..c1d90b44 100644 --- a/cpp/core/internal/p2p_cluster_pcp_handler.cc +++ b/cpp/core/internal/p2p_cluster_pcp_handler.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/p2p_cluster_pcp_handler.h" #include "core/internal/base_pcp_handler.h" diff --git a/cpp/core/internal/p2p_cluster_pcp_handler.h b/cpp/core/internal/p2p_cluster_pcp_handler.h index 4922d6d0..bfe3f844 100644 --- a/cpp/core/internal/p2p_cluster_pcp_handler.h +++ b/cpp/core/internal/p2p_cluster_pcp_handler.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef CORE_INTERNAL_P2P_CLUSTER_PCP_HANDLER_H_ #define CORE_INTERNAL_P2P_CLUSTER_PCP_HANDLER_H_ diff --git a/cpp/core/internal/p2p_cluster_pcp_handler_test.cc b/cpp/core/internal/p2p_cluster_pcp_handler_test.cc index 7efe4e6f..a9572c2a 100644 --- a/cpp/core/internal/p2p_cluster_pcp_handler_test.cc +++ b/cpp/core/internal/p2p_cluster_pcp_handler_test.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/p2p_cluster_pcp_handler.h" #include diff --git a/cpp/core/internal/p2p_point_to_point_pcp_handler.cc b/cpp/core/internal/p2p_point_to_point_pcp_handler.cc index 18013b4c..1bc0fa6a 100644 --- a/cpp/core/internal/p2p_point_to_point_pcp_handler.cc +++ b/cpp/core/internal/p2p_point_to_point_pcp_handler.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/p2p_point_to_point_pcp_handler.h" namespace location { diff --git a/cpp/core/internal/p2p_point_to_point_pcp_handler.h b/cpp/core/internal/p2p_point_to_point_pcp_handler.h index abf89a70..7c11b438 100644 --- a/cpp/core/internal/p2p_point_to_point_pcp_handler.h +++ b/cpp/core/internal/p2p_point_to_point_pcp_handler.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef CORE_INTERNAL_P2P_POINT_TO_POINT_PCP_HANDLER_H_ #define CORE_INTERNAL_P2P_POINT_TO_POINT_PCP_HANDLER_H_ diff --git a/cpp/core/internal/p2p_star_pcp_handler.cc b/cpp/core/internal/p2p_star_pcp_handler.cc index 11941b4e..a7b140bf 100644 --- a/cpp/core/internal/p2p_star_pcp_handler.cc +++ b/cpp/core/internal/p2p_star_pcp_handler.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/p2p_star_pcp_handler.h" #include diff --git a/cpp/core/internal/p2p_star_pcp_handler.h b/cpp/core/internal/p2p_star_pcp_handler.h index caa5fc61..a5362a14 100644 --- a/cpp/core/internal/p2p_star_pcp_handler.h +++ b/cpp/core/internal/p2p_star_pcp_handler.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef CORE_INTERNAL_P2P_STAR_PCP_HANDLER_H_ #define CORE_INTERNAL_P2P_STAR_PCP_HANDLER_H_ diff --git a/cpp/core/internal/payload_manager.cc b/cpp/core/internal/payload_manager.cc index 1e5c578c..0a9cb07e 100644 --- a/cpp/core/internal/payload_manager.cc +++ b/cpp/core/internal/payload_manager.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/payload_manager.h" #include diff --git a/cpp/core/internal/payload_manager.h b/cpp/core/internal/payload_manager.h index d7033c60..5f213e92 100644 --- a/cpp/core/internal/payload_manager.h +++ b/cpp/core/internal/payload_manager.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef CORE_INTERNAL_PAYLOAD_MANAGER_H_ #define CORE_INTERNAL_PAYLOAD_MANAGER_H_ diff --git a/cpp/core/internal/payload_manager_test.cc b/cpp/core/internal/payload_manager_test.cc index 4e3b99db..6ca17194 100644 --- a/cpp/core/internal/payload_manager_test.cc +++ b/cpp/core/internal/payload_manager_test.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/payload_manager.h" #include "core/internal/simulation_user.h" diff --git a/cpp/core/internal/pcp.h b/cpp/core/internal/pcp.h index e752b862..657db612 100644 --- a/cpp/core/internal/pcp.h +++ b/cpp/core/internal/pcp.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef CORE_INTERNAL_PCP_H_ #define CORE_INTERNAL_PCP_H_ diff --git a/cpp/core/internal/pcp_handler.h b/cpp/core/internal/pcp_handler.h index 197e081e..eaf8aabf 100644 --- a/cpp/core/internal/pcp_handler.h +++ b/cpp/core/internal/pcp_handler.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef CORE_INTERNAL_PCP_HANDLER_H_ #define CORE_INTERNAL_PCP_HANDLER_H_ @@ -38,7 +52,7 @@ inline Strategy PcpToStrategy(Pcp pcp) { // to do so). // // See details here: -// https://source.corp.google.com/piper///depot/google3/core/core.h +// cpp/core/core.h class PcpHandler { public: virtual ~PcpHandler() = default; @@ -53,7 +67,7 @@ class PcpHandler { // start advertising, we'll change the ClientProxy's state. // ConnectionListener (info.listener) will be notified in case of any event. // See - // https://source.corp.google.com/piper///depot/google3/core/listeners.h;bpv=1;bpt=1;l=71?gsn=ConnectionListener + // cpp/core/listeners.h virtual Status StartAdvertising(ClientProxy* client, const std::string& service_id, const ConnectionOptions& options, diff --git a/cpp/core/internal/pcp_manager.cc b/cpp/core/internal/pcp_manager.cc index d896048b..4b8da2ed 100644 --- a/cpp/core/internal/pcp_manager.cc +++ b/cpp/core/internal/pcp_manager.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/pcp_manager.h" #include "core/internal/p2p_cluster_pcp_handler.h" diff --git a/cpp/core/internal/pcp_manager.h b/cpp/core/internal/pcp_manager.h index 8e46e2cf..a303fb03 100644 --- a/cpp/core/internal/pcp_manager.h +++ b/cpp/core/internal/pcp_manager.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef CORE_INTERNAL_PCP_MANAGER_H_ #define CORE_INTERNAL_PCP_MANAGER_H_ @@ -26,7 +40,7 @@ namespace connections { // This will only ever be used by the OfflineServiceController, which has all // of its entrypoints invoked serially, so there's no synchronization needed. // Public method semantics matches definition in the -// https://source.corp.google.com/piper///depot/google3/core/internal/service_controller.h +// cpp/core/internal/service_controller.h class PcpManager { public: PcpManager(Mediums& mediums, EndpointChannelManager& channel_manager, diff --git a/cpp/core/internal/pcp_manager_test.cc b/cpp/core/internal/pcp_manager_test.cc index 93b2979b..3d628ab6 100644 --- a/cpp/core/internal/pcp_manager_test.cc +++ b/cpp/core/internal/pcp_manager_test.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/pcp_manager.h" #include diff --git a/cpp/core/internal/service_controller.h b/cpp/core/internal/service_controller.h index ecd80e8a..2f577e53 100644 --- a/cpp/core/internal/service_controller.h +++ b/cpp/core/internal/service_controller.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef CORE_INTERNAL_SERVICE_CONTROLLER_H_ #define CORE_INTERNAL_SERVICE_CONTROLLER_H_ @@ -26,7 +40,7 @@ namespace connections { // methods in the definition of location::nearby::Core API. // // See details here: -// https://source.corp.google.com/piper///depot/google3/core/core.h +// cpp/core/core.h class ServiceController { public: virtual ~ServiceController() = default; diff --git a/cpp/core/internal/service_controller_router.cc b/cpp/core/internal/service_controller_router.cc index 42fb263b..53cc2b71 100644 --- a/cpp/core/internal/service_controller_router.cc +++ b/cpp/core/internal/service_controller_router.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/service_controller_router.h" #include diff --git a/cpp/core/internal/service_controller_router.h b/cpp/core/internal/service_controller_router.h index 26eb7bf2..8c9e7039 100644 --- a/cpp/core/internal/service_controller_router.h +++ b/cpp/core/internal/service_controller_router.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef CORE_INTERNAL_SERVICE_CONTROLLER_ROUTER_H_ #define CORE_INTERNAL_SERVICE_CONTROLLER_ROUTER_H_ @@ -24,7 +38,7 @@ namespace connections { // the former. // // All the activities are documented in the public API class: -// https://source.corp.google.com/piper///depot/google3/core_v2/core.h +// cpp/core_v2/core.h // // In every method, ClientProxy* represents the client app which receives // notifications from Nearby Connections service and forwards them to the app. diff --git a/cpp/core/internal/service_controller_router_test.cc b/cpp/core/internal/service_controller_router_test.cc index aa4a8c62..40266651 100644 --- a/cpp/core/internal/service_controller_router_test.cc +++ b/cpp/core/internal/service_controller_router_test.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/service_controller_router.h" #include diff --git a/cpp/core/internal/simulation_user.cc b/cpp/core/internal/simulation_user.cc index 261300c4..cd66d29e 100644 --- a/cpp/core/internal/simulation_user.cc +++ b/cpp/core/internal/simulation_user.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/simulation_user.h" #include "core/listeners.h" diff --git a/cpp/core/internal/simulation_user.h b/cpp/core/internal/simulation_user.h index 1f04789e..84ca6469 100644 --- a/cpp/core/internal/simulation_user.h +++ b/cpp/core/internal/simulation_user.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef CORE_INTERNAL_SIMULATION_USER_H_ #define CORE_INTERNAL_SIMULATION_USER_H_ diff --git a/cpp/core/internal/webrtc_bwu_handler.cc b/cpp/core/internal/webrtc_bwu_handler.cc index 22eef4d6..c88d25c5 100644 --- a/cpp/core/internal/webrtc_bwu_handler.cc +++ b/cpp/core/internal/webrtc_bwu_handler.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/webrtc_bwu_handler.h" #include diff --git a/cpp/core/internal/webrtc_bwu_handler.h b/cpp/core/internal/webrtc_bwu_handler.h index ca0c3cb2..169c4d97 100644 --- a/cpp/core/internal/webrtc_bwu_handler.h +++ b/cpp/core/internal/webrtc_bwu_handler.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef CORE_INTERNAL_WEBRTC_BWU_HANDLER_H_ #define CORE_INTERNAL_WEBRTC_BWU_HANDLER_H_ diff --git a/cpp/core/internal/webrtc_endpoint_channel.cc b/cpp/core/internal/webrtc_endpoint_channel.cc index 7df735ee..dba671d8 100644 --- a/cpp/core/internal/webrtc_endpoint_channel.cc +++ b/cpp/core/internal/webrtc_endpoint_channel.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/webrtc_endpoint_channel.h" namespace location { diff --git a/cpp/core/internal/webrtc_endpoint_channel.h b/cpp/core/internal/webrtc_endpoint_channel.h index 6dfe2221..e15cc0c7 100644 --- a/cpp/core/internal/webrtc_endpoint_channel.h +++ b/cpp/core/internal/webrtc_endpoint_channel.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef CORE_INTERNAL_WEBRTC_ENDPOINT_CHANNEL_H_ #define CORE_INTERNAL_WEBRTC_ENDPOINT_CHANNEL_H_ diff --git a/cpp/core/internal/wifi_lan_endpoint_channel.cc b/cpp/core/internal/wifi_lan_endpoint_channel.cc index 007fe378..12d19b74 100644 --- a/cpp/core/internal/wifi_lan_endpoint_channel.cc +++ b/cpp/core/internal/wifi_lan_endpoint_channel.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/wifi_lan_endpoint_channel.h" #include diff --git a/cpp/core/internal/wifi_lan_endpoint_channel.h b/cpp/core/internal/wifi_lan_endpoint_channel.h index 9566bc0c..87eb359e 100644 --- a/cpp/core/internal/wifi_lan_endpoint_channel.h +++ b/cpp/core/internal/wifi_lan_endpoint_channel.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef CORE_INTERNAL_WIFI_LAN_ENDPOINT_CHANNEL_H_ #define CORE_INTERNAL_WIFI_LAN_ENDPOINT_CHANNEL_H_ diff --git a/cpp/core/internal/wifi_lan_service_info.cc b/cpp/core/internal/wifi_lan_service_info.cc index 7cda3436..ea83d608 100644 --- a/cpp/core/internal/wifi_lan_service_info.cc +++ b/cpp/core/internal/wifi_lan_service_info.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/wifi_lan_service_info.h" #include diff --git a/cpp/core/internal/wifi_lan_service_info.h b/cpp/core/internal/wifi_lan_service_info.h index 5a9c58cc..6ce3ef97 100644 --- a/cpp/core/internal/wifi_lan_service_info.h +++ b/cpp/core/internal/wifi_lan_service_info.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef CORE_INTERNAL_WIFI_LAN_SERVICE_INFO_H_ #define CORE_INTERNAL_WIFI_LAN_SERVICE_INFO_H_ diff --git a/cpp/core/internal/wifi_lan_service_info_test.cc b/cpp/core/internal/wifi_lan_service_info_test.cc index 3463a18b..dc424588 100644 --- a/cpp/core/internal/wifi_lan_service_info_test.cc +++ b/cpp/core/internal/wifi_lan_service_info_test.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/internal/wifi_lan_service_info.h" #include diff --git a/cpp/core/listeners.h b/cpp/core/listeners.h index c49b3831..1ed50a2b 100644 --- a/cpp/core/listeners.h +++ b/cpp/core/listeners.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef CORE_LISTENERS_H_ #define CORE_LISTENERS_H_ diff --git a/cpp/core/listeners_test.cc b/cpp/core/listeners_test.cc index 9b7d02c7..d2221db9 100644 --- a/cpp/core/listeners_test.cc +++ b/cpp/core/listeners_test.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/listeners.h" #include diff --git a/cpp/core/options.h b/cpp/core/options.h index bb65b4b8..4ddb89c4 100644 --- a/cpp/core/options.h +++ b/cpp/core/options.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef CORE_OPTIONS_H_ #define CORE_OPTIONS_H_ diff --git a/cpp/core/params.h b/cpp/core/params.h index bd3918e3..c34fc13f 100644 --- a/cpp/core/params.h +++ b/cpp/core/params.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef CORE_PARAMS_H_ #define CORE_PARAMS_H_ diff --git a/cpp/core/payload.h b/cpp/core/payload.h index fa30cbdb..2718ea5e 100644 --- a/cpp/core/payload.h +++ b/cpp/core/payload.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef CORE_PAYLOAD_H_ #define CORE_PAYLOAD_H_ diff --git a/cpp/core/payload_test.cc b/cpp/core/payload_test.cc index d6bfd3ea..5cef5d20 100644 --- a/cpp/core/payload_test.cc +++ b/cpp/core/payload_test.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/payload.h" #include diff --git a/cpp/core/status.h b/cpp/core/status.h index 9cbc5d0a..ae72d138 100644 --- a/cpp/core/status.h +++ b/cpp/core/status.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef CORE_STATUS_H_ #define CORE_STATUS_H_ diff --git a/cpp/core/status_test.cc b/cpp/core/status_test.cc index 6c342c22..1f64be5b 100644 --- a/cpp/core/status_test.cc +++ b/cpp/core/status_test.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/status.h" #include "gmock/gmock.h" diff --git a/cpp/core/strategy.cc b/cpp/core/strategy.cc index 2b2cbfaf..8e46463e 100644 --- a/cpp/core/strategy.cc +++ b/cpp/core/strategy.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/strategy.h" namespace location { diff --git a/cpp/core/strategy.h b/cpp/core/strategy.h index 2115bc44..09b25d62 100644 --- a/cpp/core/strategy.h +++ b/cpp/core/strategy.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef CORE_STRATEGY_H_ #define CORE_STRATEGY_H_ diff --git a/cpp/core/strategy_test.cc b/cpp/core/strategy_test.cc index f0952f7d..70b74723 100644 --- a/cpp/core/strategy_test.cc +++ b/cpp/core/strategy_test.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "core/strategy.h" #include "gtest/gtest.h" diff --git a/cpp/platform/api/BUILD b/cpp/platform/api/BUILD index 6eafb5e3..22ca17e5 100644 --- a/cpp/platform/api/BUILD +++ b/cpp/platform/api/BUILD @@ -1,3 +1,17 @@ +# Copyright 2020 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + cc_library( name = "types", hdrs = [ diff --git a/cpp/platform/api/atomic_boolean.h b/cpp/platform/api/atomic_boolean.h index 56bdde5a..e0017924 100644 --- a/cpp/platform/api/atomic_boolean.h +++ b/cpp/platform/api/atomic_boolean.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_API_ATOMIC_BOOLEAN_H_ #define PLATFORM_API_ATOMIC_BOOLEAN_H_ diff --git a/cpp/platform/api/atomic_reference.h b/cpp/platform/api/atomic_reference.h index 27778bf5..a6f4c93d 100644 --- a/cpp/platform/api/atomic_reference.h +++ b/cpp/platform/api/atomic_reference.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_API_ATOMIC_REFERENCE_H_ #define PLATFORM_API_ATOMIC_REFERENCE_H_ diff --git a/cpp/platform/api/ble.h b/cpp/platform/api/ble.h index ed1280b5..264f7b13 100644 --- a/cpp/platform/api/ble.h +++ b/cpp/platform/api/ble.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_API_BLE_H_ #define PLATFORM_API_BLE_H_ diff --git a/cpp/platform/api/ble_v2.h b/cpp/platform/api/ble_v2.h index 110e1487..a82ca328 100644 --- a/cpp/platform/api/ble_v2.h +++ b/cpp/platform/api/ble_v2.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_API_BLE_V2_H_ #define PLATFORM_API_BLE_V2_H_ diff --git a/cpp/platform/api/bluetooth_adapter.h b/cpp/platform/api/bluetooth_adapter.h index ddcce2a7..4ca4022b 100644 --- a/cpp/platform/api/bluetooth_adapter.h +++ b/cpp/platform/api/bluetooth_adapter.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_API_BLUETOOTH_ADAPTER_H_ #define PLATFORM_API_BLUETOOTH_ADAPTER_H_ diff --git a/cpp/platform/api/bluetooth_classic.h b/cpp/platform/api/bluetooth_classic.h index 502c49fc..29335edf 100644 --- a/cpp/platform/api/bluetooth_classic.h +++ b/cpp/platform/api/bluetooth_classic.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_API_BLUETOOTH_CLASSIC_H_ #define PLATFORM_API_BLUETOOTH_CLASSIC_H_ diff --git a/cpp/platform/api/cancelable.h b/cpp/platform/api/cancelable.h index 0acda9a7..c90faf0c 100644 --- a/cpp/platform/api/cancelable.h +++ b/cpp/platform/api/cancelable.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_API_CANCELABLE_H_ #define PLATFORM_API_CANCELABLE_H_ diff --git a/cpp/platform/api/condition_variable.h b/cpp/platform/api/condition_variable.h index bbbd2d71..2bac6a85 100644 --- a/cpp/platform/api/condition_variable.h +++ b/cpp/platform/api/condition_variable.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_API_CONDITION_VARIABLE_H_ #define PLATFORM_API_CONDITION_VARIABLE_H_ diff --git a/cpp/platform/api/count_down_latch.h b/cpp/platform/api/count_down_latch.h index ed6b0f57..5ae9576f 100644 --- a/cpp/platform/api/count_down_latch.h +++ b/cpp/platform/api/count_down_latch.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_API_COUNT_DOWN_LATCH_H_ #define PLATFORM_API_COUNT_DOWN_LATCH_H_ diff --git a/cpp/platform/api/crypto.h b/cpp/platform/api/crypto.h index 5ef8c269..241a7a4a 100644 --- a/cpp/platform/api/crypto.h +++ b/cpp/platform/api/crypto.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_API_CRYPTO_H_ #define PLATFORM_API_CRYPTO_H_ diff --git a/cpp/platform/api/executor.h b/cpp/platform/api/executor.h index b616688a..ee5f5dc6 100644 --- a/cpp/platform/api/executor.h +++ b/cpp/platform/api/executor.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_API_EXECUTOR_H_ #define PLATFORM_API_EXECUTOR_H_ diff --git a/cpp/platform/api/future.h b/cpp/platform/api/future.h index 2469ae3c..5549a8b1 100644 --- a/cpp/platform/api/future.h +++ b/cpp/platform/api/future.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_API_FUTURE_H_ #define PLATFORM_API_FUTURE_H_ diff --git a/cpp/platform/api/input_file.h b/cpp/platform/api/input_file.h index eacb7a23..f566e804 100644 --- a/cpp/platform/api/input_file.h +++ b/cpp/platform/api/input_file.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_API_INPUT_FILE_H_ #define PLATFORM_API_INPUT_FILE_H_ diff --git a/cpp/platform/api/listenable_future.h b/cpp/platform/api/listenable_future.h index d013842b..7bf7f171 100644 --- a/cpp/platform/api/listenable_future.h +++ b/cpp/platform/api/listenable_future.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_API_LISTENABLE_FUTURE_H_ #define PLATFORM_API_LISTENABLE_FUTURE_H_ diff --git a/cpp/platform/api/log_message.h b/cpp/platform/api/log_message.h index 596b6270..11374ed1 100644 --- a/cpp/platform/api/log_message.h +++ b/cpp/platform/api/log_message.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_API_LOG_MESSAGE_H_ #define PLATFORM_API_LOG_MESSAGE_H_ diff --git a/cpp/platform/api/mutex.h b/cpp/platform/api/mutex.h index d4afc1cb..75824d2e 100644 --- a/cpp/platform/api/mutex.h +++ b/cpp/platform/api/mutex.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_API_MUTEX_H_ #define PLATFORM_API_MUTEX_H_ diff --git a/cpp/platform/api/output_file.h b/cpp/platform/api/output_file.h index f371fdfb..a6176e53 100644 --- a/cpp/platform/api/output_file.h +++ b/cpp/platform/api/output_file.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_API_OUTPUT_FILE_H_ #define PLATFORM_API_OUTPUT_FILE_H_ diff --git a/cpp/platform/api/platform.h b/cpp/platform/api/platform.h index bf7bbd3c..266e9bab 100644 --- a/cpp/platform/api/platform.h +++ b/cpp/platform/api/platform.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_API_PLATFORM_H_ #define PLATFORM_API_PLATFORM_H_ diff --git a/cpp/platform/api/scheduled_executor.h b/cpp/platform/api/scheduled_executor.h index 778d1e72..7342b580 100644 --- a/cpp/platform/api/scheduled_executor.h +++ b/cpp/platform/api/scheduled_executor.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_API_SCHEDULED_EXECUTOR_H_ #define PLATFORM_API_SCHEDULED_EXECUTOR_H_ diff --git a/cpp/platform/api/server_sync.h b/cpp/platform/api/server_sync.h index 3421693c..234c1886 100644 --- a/cpp/platform/api/server_sync.h +++ b/cpp/platform/api/server_sync.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_API_SERVER_SYNC_H_ #define PLATFORM_API_SERVER_SYNC_H_ diff --git a/cpp/platform/api/settable_future.h b/cpp/platform/api/settable_future.h index 31487256..ebbe57cc 100644 --- a/cpp/platform/api/settable_future.h +++ b/cpp/platform/api/settable_future.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_API_SETTABLE_FUTURE_H_ #define PLATFORM_API_SETTABLE_FUTURE_H_ diff --git a/cpp/platform/api/submittable_executor.h b/cpp/platform/api/submittable_executor.h index da90aeed..0017c846 100644 --- a/cpp/platform/api/submittable_executor.h +++ b/cpp/platform/api/submittable_executor.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_API_SUBMITTABLE_EXECUTOR_H_ #define PLATFORM_API_SUBMITTABLE_EXECUTOR_H_ diff --git a/cpp/platform/api/system_clock.h b/cpp/platform/api/system_clock.h index f319d7b2..9b927515 100644 --- a/cpp/platform/api/system_clock.h +++ b/cpp/platform/api/system_clock.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_API_SYSTEM_CLOCK_H_ #define PLATFORM_API_SYSTEM_CLOCK_H_ diff --git a/cpp/platform/api/webrtc.h b/cpp/platform/api/webrtc.h index 5b9bbf5d..48c98fc1 100644 --- a/cpp/platform/api/webrtc.h +++ b/cpp/platform/api/webrtc.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_API_WEBRTC_H_ #define PLATFORM_API_WEBRTC_H_ diff --git a/cpp/platform/api/wifi.h b/cpp/platform/api/wifi.h index e0c5fb25..1f0f5b75 100644 --- a/cpp/platform/api/wifi.h +++ b/cpp/platform/api/wifi.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_API_WIFI_H_ #define PLATFORM_API_WIFI_H_ diff --git a/cpp/platform/api/wifi_lan.h b/cpp/platform/api/wifi_lan.h index 19b449f5..a2a92b5b 100644 --- a/cpp/platform/api/wifi_lan.h +++ b/cpp/platform/api/wifi_lan.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_API_WIFI_LAN_H_ #define PLATFORM_API_WIFI_LAN_H_ diff --git a/cpp/platform/base/BUILD b/cpp/platform/base/BUILD index bc7a65c2..fe4af539 100644 --- a/cpp/platform/base/BUILD +++ b/cpp/platform/base/BUILD @@ -1,3 +1,17 @@ +# Copyright 2020 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + load("//ads/util/non_compile:non_compile.bzl", "cc_with_non_compile_test") cc_library( diff --git a/cpp/platform/base/base64_utils.cc b/cpp/platform/base/base64_utils.cc index 6053291a..f985d73d 100644 --- a/cpp/platform/base/base64_utils.cc +++ b/cpp/platform/base/base64_utils.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "platform/base/base64_utils.h" #include "platform/base/byte_array.h" diff --git a/cpp/platform/base/base64_utils.h b/cpp/platform/base/base64_utils.h index 87479761..997d035d 100644 --- a/cpp/platform/base/base64_utils.h +++ b/cpp/platform/base/base64_utils.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_BASE_BASE64_UTILS_H_ #define PLATFORM_BASE_BASE64_UTILS_H_ diff --git a/cpp/platform/base/base_input_stream.cc b/cpp/platform/base/base_input_stream.cc index 257821f8..6aedb689 100644 --- a/cpp/platform/base/base_input_stream.cc +++ b/cpp/platform/base/base_input_stream.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "platform/base/base_input_stream.h" namespace location { diff --git a/cpp/platform/base/base_input_stream.h b/cpp/platform/base/base_input_stream.h index e3414243..b49264ee 100644 --- a/cpp/platform/base/base_input_stream.h +++ b/cpp/platform/base/base_input_stream.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_BASE_BASE_INPUT_STREAM_H_ #define PLATFORM_BASE_BASE_INPUT_STREAM_H_ diff --git a/cpp/platform/base/base_mutex_lock.h b/cpp/platform/base/base_mutex_lock.h index f065e4f6..8f1612b5 100644 --- a/cpp/platform/base/base_mutex_lock.h +++ b/cpp/platform/base/base_mutex_lock.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_BASE_BASE_MUTEX_LOCK_H_ #define PLATFORM_BASE_BASE_MUTEX_LOCK_H_ diff --git a/cpp/platform/base/base_pipe.cc b/cpp/platform/base/base_pipe.cc index bd210d4b..4c3e80f9 100644 --- a/cpp/platform/base/base_pipe.cc +++ b/cpp/platform/base/base_pipe.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "platform/base/base_pipe.h" #include "platform/base/base_mutex_lock.h" diff --git a/cpp/platform/base/base_pipe.h b/cpp/platform/base/base_pipe.h index 35a2f4ae..95ea71cc 100644 --- a/cpp/platform/base/base_pipe.h +++ b/cpp/platform/base/base_pipe.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_BASE_BASE_PIPE_H_ #define PLATFORM_BASE_BASE_PIPE_H_ diff --git a/cpp/platform/base/bluetooth_utils.cc b/cpp/platform/base/bluetooth_utils.cc index 937cd9fd..b547c8df 100644 --- a/cpp/platform/base/bluetooth_utils.cc +++ b/cpp/platform/base/bluetooth_utils.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "platform/base/bluetooth_utils.h" #include "absl/strings/escaping.h" diff --git a/cpp/platform/base/bluetooth_utils.h b/cpp/platform/base/bluetooth_utils.h index 1c1f50af..92ef6b42 100644 --- a/cpp/platform/base/bluetooth_utils.h +++ b/cpp/platform/base/bluetooth_utils.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_BASE_BLUETOOTH_UTILS_H_ #define PLATFORM_BASE_BLUETOOTH_UTILS_H_ diff --git a/cpp/platform/base/bluetooth_utils_test.cc b/cpp/platform/base/bluetooth_utils_test.cc index 9c892d00..19d5b430 100644 --- a/cpp/platform/base/bluetooth_utils_test.cc +++ b/cpp/platform/base/bluetooth_utils_test.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "platform/base/bluetooth_utils.h" #include "gtest/gtest.h" diff --git a/cpp/platform/base/byte_array.h b/cpp/platform/base/byte_array.h index 788aff18..953aa21e 100644 --- a/cpp/platform/base/byte_array.h +++ b/cpp/platform/base/byte_array.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_BASE_BYTE_ARRAY_H_ #define PLATFORM_BASE_BYTE_ARRAY_H_ diff --git a/cpp/platform/base/byte_array_test.cc b/cpp/platform/base/byte_array_test.cc index 5228c9e9..7f13aa8b 100644 --- a/cpp/platform/base/byte_array_test.cc +++ b/cpp/platform/base/byte_array_test.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "platform/base/byte_array.h" #include diff --git a/cpp/platform/base/callable.h b/cpp/platform/base/callable.h index b40c1af4..167be58a 100644 --- a/cpp/platform/base/callable.h +++ b/cpp/platform/base/callable.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_BASE_CALLABLE_H_ #define PLATFORM_BASE_CALLABLE_H_ diff --git a/cpp/platform/base/exception.h b/cpp/platform/base/exception.h index acfda70b..904f91aa 100644 --- a/cpp/platform/base/exception.h +++ b/cpp/platform/base/exception.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_BASE_EXCEPTION_H_ #define PLATFORM_BASE_EXCEPTION_H_ diff --git a/cpp/platform/base/exception_test.cc b/cpp/platform/base/exception_test.cc index 878cb26d..82993504 100644 --- a/cpp/platform/base/exception_test.cc +++ b/cpp/platform/base/exception_test.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "platform/base/exception.h" #include diff --git a/cpp/platform/base/input_stream.h b/cpp/platform/base/input_stream.h index 0b1651f0..24d9ef32 100644 --- a/cpp/platform/base/input_stream.h +++ b/cpp/platform/base/input_stream.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_BASE_INPUT_STREAM_H_ #define PLATFORM_BASE_INPUT_STREAM_H_ diff --git a/cpp/platform/base/listeners.h b/cpp/platform/base/listeners.h index 45d0b3d3..987e4d66 100644 --- a/cpp/platform/base/listeners.h +++ b/cpp/platform/base/listeners.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_BASE_LISTENERS_H_ #define PLATFORM_BASE_LISTENERS_H_ diff --git a/cpp/platform/base/logging.h b/cpp/platform/base/logging.h index 46201356..c50e57ce 100644 --- a/cpp/platform/base/logging.h +++ b/cpp/platform/base/logging.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_BASE_LOGGING_H_ #define PLATFORM_BASE_LOGGING_H_ diff --git a/cpp/platform/base/medium_environment.cc b/cpp/platform/base/medium_environment.cc index 068dcd1a..e0fd979c 100644 --- a/cpp/platform/base/medium_environment.cc +++ b/cpp/platform/base/medium_environment.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "platform/base/medium_environment.h" #include diff --git a/cpp/platform/base/medium_environment.h b/cpp/platform/base/medium_environment.h index 5642ab63..f34347b5 100644 --- a/cpp/platform/base/medium_environment.h +++ b/cpp/platform/base/medium_environment.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_BASE_MEDIUM_ENVIRONMENT_H_ #define PLATFORM_BASE_MEDIUM_ENVIRONMENT_H_ diff --git a/cpp/platform/base/output_stream.h b/cpp/platform/base/output_stream.h index 31888a84..7048419d 100644 --- a/cpp/platform/base/output_stream.h +++ b/cpp/platform/base/output_stream.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_BASE_OUTPUT_STREAM_H_ #define PLATFORM_BASE_OUTPUT_STREAM_H_ diff --git a/cpp/platform/base/payload_id.h b/cpp/platform/base/payload_id.h index bbff17ce..d28eebe0 100644 --- a/cpp/platform/base/payload_id.h +++ b/cpp/platform/base/payload_id.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_BASE_PAYLOAD_ID_H_ #define PLATFORM_BASE_PAYLOAD_ID_H_ diff --git a/cpp/platform/base/prng.cc b/cpp/platform/base/prng.cc index 364cfbbc..9ae71abf 100644 --- a/cpp/platform/base/prng.cc +++ b/cpp/platform/base/prng.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "platform/base/prng.h" #include diff --git a/cpp/platform/base/prng.h b/cpp/platform/base/prng.h index 9b2e7ebf..a4afb491 100644 --- a/cpp/platform/base/prng.h +++ b/cpp/platform/base/prng.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_BASE_PRNG_H_ #define PLATFORM_BASE_PRNG_H_ diff --git a/cpp/platform/base/prng_test.cc b/cpp/platform/base/prng_test.cc index 7298c48b..4b6abdb8 100644 --- a/cpp/platform/base/prng_test.cc +++ b/cpp/platform/base/prng_test.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "platform/base/prng.h" #include "gtest/gtest.h" diff --git a/cpp/platform/base/runnable.h b/cpp/platform/base/runnable.h index 09fe18b3..24f2349c 100644 --- a/cpp/platform/base/runnable.h +++ b/cpp/platform/base/runnable.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_BASE_RUNNABLE_H_ #define PLATFORM_BASE_RUNNABLE_H_ diff --git a/cpp/platform/base/socket.h b/cpp/platform/base/socket.h index 1282947d..09211c15 100644 --- a/cpp/platform/base/socket.h +++ b/cpp/platform/base/socket.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_BASE_SOCKET_H_ #define PLATFORM_BASE_SOCKET_H_ diff --git a/cpp/platform/base/types.h b/cpp/platform/base/types.h index c61d9666..d082b262 100644 --- a/cpp/platform/base/types.h +++ b/cpp/platform/base/types.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_BASE_TYPES_H_ #define PLATFORM_BASE_TYPES_H_ diff --git a/cpp/platform/config/BUILD b/cpp/platform/config/BUILD index 1963f538..3f287f36 100644 --- a/cpp/platform/config/BUILD +++ b/cpp/platform/config/BUILD @@ -1,3 +1,17 @@ +# Copyright 2020 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + cc_library( name = "config", hdrs = [ diff --git a/cpp/platform/config/config.h b/cpp/platform/config/config.h index b32169fc..80b3780d 100644 --- a/cpp/platform/config/config.h +++ b/cpp/platform/config/config.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_CONFIG_CONFIG_H_ #define PLATFORM_CONFIG_CONFIG_H_ diff --git a/cpp/platform/config/string.h b/cpp/platform/config/string.h index fe3b9a9a..ad0282f7 100644 --- a/cpp/platform/config/string.h +++ b/cpp/platform/config/string.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_CONFIG_STRING_H_ #define PLATFORM_CONFIG_STRING_H_ diff --git a/cpp/platform/impl/g3/BUILD b/cpp/platform/impl/g3/BUILD index aeb3a320..580da280 100644 --- a/cpp/platform/impl/g3/BUILD +++ b/cpp/platform/impl/g3/BUILD @@ -1,3 +1,17 @@ +# Copyright 2020 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + cc_library( name = "types", testonly = True, diff --git a/cpp/platform/impl/g3/atomic_boolean.h b/cpp/platform/impl/g3/atomic_boolean.h index 2970102a..68f7407e 100644 --- a/cpp/platform/impl/g3/atomic_boolean.h +++ b/cpp/platform/impl/g3/atomic_boolean.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_IMPL_G3_ATOMIC_BOOLEAN_H_ #define PLATFORM_IMPL_G3_ATOMIC_BOOLEAN_H_ @@ -10,7 +24,7 @@ namespace nearby { namespace g3 { // See documentation in -// https://source.corp.google.com/piper///depot/google3/platform/api/atomic_boolean.h +// cpp/platform/api/atomic_boolean.h class AtomicBoolean : public api::AtomicBoolean { public: explicit AtomicBoolean(bool initial_value) : value_(initial_value) {} diff --git a/cpp/platform/impl/g3/atomic_reference.h b/cpp/platform/impl/g3/atomic_reference.h index c0b41137..523992b8 100644 --- a/cpp/platform/impl/g3/atomic_reference.h +++ b/cpp/platform/impl/g3/atomic_reference.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_IMPL_G3_ATOMIC_REFERENCE_H_ #define PLATFORM_IMPL_G3_ATOMIC_REFERENCE_H_ diff --git a/cpp/platform/impl/g3/ble.cc b/cpp/platform/impl/g3/ble.cc index 646cdf20..f265feec 100644 --- a/cpp/platform/impl/g3/ble.cc +++ b/cpp/platform/impl/g3/ble.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "platform/impl/g3/ble.h" #include diff --git a/cpp/platform/impl/g3/ble.h b/cpp/platform/impl/g3/ble.h index fb32f1d0..b743b8d0 100644 --- a/cpp/platform/impl/g3/ble.h +++ b/cpp/platform/impl/g3/ble.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_IMPL_G3_BLE_H_ #define PLATFORM_IMPL_G3_BLE_H_ diff --git a/cpp/platform/impl/g3/bluetooth_adapter.cc b/cpp/platform/impl/g3/bluetooth_adapter.cc index 16b4b0a7..ff526d52 100644 --- a/cpp/platform/impl/g3/bluetooth_adapter.cc +++ b/cpp/platform/impl/g3/bluetooth_adapter.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "platform/impl/g3/bluetooth_adapter.h" #include diff --git a/cpp/platform/impl/g3/bluetooth_adapter.h b/cpp/platform/impl/g3/bluetooth_adapter.h index cf3bd324..52f85b51 100644 --- a/cpp/platform/impl/g3/bluetooth_adapter.h +++ b/cpp/platform/impl/g3/bluetooth_adapter.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_IMPL_G3_BLUETOOTH_ADAPTER_H_ #define PLATFORM_IMPL_G3_BLUETOOTH_ADAPTER_H_ diff --git a/cpp/platform/impl/g3/bluetooth_classic.cc b/cpp/platform/impl/g3/bluetooth_classic.cc index 4f25b74e..5f90db40 100644 --- a/cpp/platform/impl/g3/bluetooth_classic.cc +++ b/cpp/platform/impl/g3/bluetooth_classic.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "platform/impl/g3/bluetooth_classic.h" #include diff --git a/cpp/platform/impl/g3/bluetooth_classic.h b/cpp/platform/impl/g3/bluetooth_classic.h index 30cc2b53..2f523056 100644 --- a/cpp/platform/impl/g3/bluetooth_classic.h +++ b/cpp/platform/impl/g3/bluetooth_classic.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_IMPL_G3_BLUETOOTH_CLASSIC_H_ #define PLATFORM_IMPL_G3_BLUETOOTH_CLASSIC_H_ diff --git a/cpp/platform/impl/g3/condition_variable.h b/cpp/platform/impl/g3/condition_variable.h index e6205bed..a279f46f 100644 --- a/cpp/platform/impl/g3/condition_variable.h +++ b/cpp/platform/impl/g3/condition_variable.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_IMPL_G3_CONDITION_VARIABLE_H_ #define PLATFORM_IMPL_G3_CONDITION_VARIABLE_H_ diff --git a/cpp/platform/impl/g3/count_down_latch.h b/cpp/platform/impl/g3/count_down_latch.h index ea61ee98..76338193 100644 --- a/cpp/platform/impl/g3/count_down_latch.h +++ b/cpp/platform/impl/g3/count_down_latch.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_IMPL_G3_COUNT_DOWN_LATCH_H_ #define PLATFORM_IMPL_G3_COUNT_DOWN_LATCH_H_ diff --git a/cpp/platform/impl/g3/crypto.cc b/cpp/platform/impl/g3/crypto.cc index e4ba2ccd..ee4de663 100644 --- a/cpp/platform/impl/g3/crypto.cc +++ b/cpp/platform/impl/g3/crypto.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "platform/api/crypto.h" #include diff --git a/cpp/platform/impl/g3/log_message.cc b/cpp/platform/impl/g3/log_message.cc index ebd0210d..b227392a 100644 --- a/cpp/platform/impl/g3/log_message.cc +++ b/cpp/platform/impl/g3/log_message.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "platform/impl/g3/log_message.h" #include diff --git a/cpp/platform/impl/g3/log_message.h b/cpp/platform/impl/g3/log_message.h index 285e0ded..8e03cbf1 100644 --- a/cpp/platform/impl/g3/log_message.h +++ b/cpp/platform/impl/g3/log_message.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_IMPL_G3_LOG_MESSAGE_H_ #define PLATFORM_IMPL_G3_LOG_MESSAGE_H_ @@ -9,7 +23,7 @@ namespace nearby { namespace g3 { // See documentation in -// https://source.corp.google.com/piper///depot/google3/platform/api/log_message.h +// cpp/platform/api/log_message.h class LogMessage : public api::LogMessage { public: LogMessage(const char* file, int line, Severity severity); diff --git a/cpp/platform/impl/g3/multi_thread_executor.h b/cpp/platform/impl/g3/multi_thread_executor.h index 63ba0165..82535591 100644 --- a/cpp/platform/impl/g3/multi_thread_executor.h +++ b/cpp/platform/impl/g3/multi_thread_executor.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_IMPL_G3_MULTI_THREAD_EXECUTOR_H_ #define PLATFORM_IMPL_G3_MULTI_THREAD_EXECUTOR_H_ diff --git a/cpp/platform/impl/g3/mutex.h b/cpp/platform/impl/g3/mutex.h index 776dc15d..f447b563 100644 --- a/cpp/platform/impl/g3/mutex.h +++ b/cpp/platform/impl/g3/mutex.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_IMPL_G3_MUTEX_H_ #define PLATFORM_IMPL_G3_MUTEX_H_ diff --git a/cpp/platform/impl/g3/pipe.h b/cpp/platform/impl/g3/pipe.h index 882bfb8e..ab27bb03 100644 --- a/cpp/platform/impl/g3/pipe.h +++ b/cpp/platform/impl/g3/pipe.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_IMPL_G3_PIPE_H_ #define PLATFORM_IMPL_G3_PIPE_H_ diff --git a/cpp/platform/impl/g3/platform.cc b/cpp/platform/impl/g3/platform.cc index e6ea1299..9884ba73 100644 --- a/cpp/platform/impl/g3/platform.cc +++ b/cpp/platform/impl/g3/platform.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "platform/api/platform.h" #include diff --git a/cpp/platform/impl/g3/scheduled_executor.cc b/cpp/platform/impl/g3/scheduled_executor.cc index 58dc7305..480b5377 100644 --- a/cpp/platform/impl/g3/scheduled_executor.cc +++ b/cpp/platform/impl/g3/scheduled_executor.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "platform/impl/g3/scheduled_executor.h" #include diff --git a/cpp/platform/impl/g3/scheduled_executor.h b/cpp/platform/impl/g3/scheduled_executor.h index c5e08605..1b5b5e3d 100644 --- a/cpp/platform/impl/g3/scheduled_executor.h +++ b/cpp/platform/impl/g3/scheduled_executor.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_IMPL_G3_SCHEDULED_EXECUTOR_H_ #define PLATFORM_IMPL_G3_SCHEDULED_EXECUTOR_H_ diff --git a/cpp/platform/impl/g3/single_thread_executor.h b/cpp/platform/impl/g3/single_thread_executor.h index 7dc4cec1..29ef3e87 100644 --- a/cpp/platform/impl/g3/single_thread_executor.h +++ b/cpp/platform/impl/g3/single_thread_executor.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_IMPL_G3_SINGLE_THREAD_EXECUTOR_H_ #define PLATFORM_IMPL_G3_SINGLE_THREAD_EXECUTOR_H_ diff --git a/cpp/platform/impl/g3/system_clock.cc b/cpp/platform/impl/g3/system_clock.cc index d1b0f99b..3f7411c4 100644 --- a/cpp/platform/impl/g3/system_clock.cc +++ b/cpp/platform/impl/g3/system_clock.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "platform/api/system_clock.h" #include "platform/base/exception.h" diff --git a/cpp/platform/impl/g3/webrtc.cc b/cpp/platform/impl/g3/webrtc.cc index bd6d2ac1..090f1585 100644 --- a/cpp/platform/impl/g3/webrtc.cc +++ b/cpp/platform/impl/g3/webrtc.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "platform/impl/g3/webrtc.h" #include diff --git a/cpp/platform/impl/g3/webrtc.h b/cpp/platform/impl/g3/webrtc.h index b9a6c4ea..97d458e7 100644 --- a/cpp/platform/impl/g3/webrtc.h +++ b/cpp/platform/impl/g3/webrtc.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_IMPL_G3_WEBRTC_H_ #define PLATFORM_IMPL_G3_WEBRTC_H_ diff --git a/cpp/platform/impl/g3/wifi_lan.cc b/cpp/platform/impl/g3/wifi_lan.cc index 988d9f40..80f9fc8f 100644 --- a/cpp/platform/impl/g3/wifi_lan.cc +++ b/cpp/platform/impl/g3/wifi_lan.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "platform/impl/g3/wifi_lan.h" #include diff --git a/cpp/platform/impl/g3/wifi_lan.h b/cpp/platform/impl/g3/wifi_lan.h index dfea6d62..04fa21ee 100644 --- a/cpp/platform/impl/g3/wifi_lan.h +++ b/cpp/platform/impl/g3/wifi_lan.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_IMPL_G3_WIFI_LAN_H_ #define PLATFORM_IMPL_G3_WIFI_LAN_H_ diff --git a/cpp/platform/impl/ios/BUILD b/cpp/platform/impl/ios/BUILD index 5dd6bdce..04f4e39a 100644 --- a/cpp/platform/impl/ios/BUILD +++ b/cpp/platform/impl/ios/BUILD @@ -1,3 +1,17 @@ +# Copyright 2020 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + objc_library( name = "types", srcs = [ diff --git a/cpp/platform/impl/ios/atomic_boolean.h b/cpp/platform/impl/ios/atomic_boolean.h index 5a14cb18..d992a477 100644 --- a/cpp/platform/impl/ios/atomic_boolean.h +++ b/cpp/platform/impl/ios/atomic_boolean.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_IMPL_IOS_ATOMIC_BOOLEAN_H_ #define PLATFORM_IMPL_IOS_ATOMIC_BOOLEAN_H_ diff --git a/cpp/platform/impl/ios/atomic_reference.h b/cpp/platform/impl/ios/atomic_reference.h index 5f2a9c2e..df0ebe5f 100644 --- a/cpp/platform/impl/ios/atomic_reference.h +++ b/cpp/platform/impl/ios/atomic_reference.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_IMPL_IOS_ATOMIC_REFERENCE_H_ #define PLATFORM_IMPL_IOS_ATOMIC_REFERENCE_H_ diff --git a/cpp/platform/impl/ios/condition_variable.h b/cpp/platform/impl/ios/condition_variable.h index 2903a423..ad6be993 100644 --- a/cpp/platform/impl/ios/condition_variable.h +++ b/cpp/platform/impl/ios/condition_variable.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_IMPL_IOS_CONDITION_VARIABLE_H_ #define PLATFORM_IMPL_IOS_CONDITION_VARIABLE_H_ diff --git a/cpp/platform/impl/ios/count_down_latch.h b/cpp/platform/impl/ios/count_down_latch.h index bf3eca4b..ae069ffe 100644 --- a/cpp/platform/impl/ios/count_down_latch.h +++ b/cpp/platform/impl/ios/count_down_latch.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_IMPL_IOS_COUNT_DOWN_LATCH_H_ #define PLATFORM_IMPL_IOS_COUNT_DOWN_LATCH_H_ diff --git a/cpp/platform/impl/ios/log_message.h b/cpp/platform/impl/ios/log_message.h index 6e3048d6..8b72c075 100644 --- a/cpp/platform/impl/ios/log_message.h +++ b/cpp/platform/impl/ios/log_message.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_IMPL_IOS_LOG_MESSAGE_H_ #define PLATFORM_IMPL_IOS_LOG_MESSAGE_H_ diff --git a/cpp/platform/impl/ios/log_message.mm b/cpp/platform/impl/ios/log_message.mm index 350e93ef..167fd875 100644 --- a/cpp/platform/impl/ios/log_message.mm +++ b/cpp/platform/impl/ios/log_message.mm @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "platform/impl/ios/log_message.h" #include diff --git a/cpp/platform/impl/ios/multi_thread_executor.h b/cpp/platform/impl/ios/multi_thread_executor.h index 6450c46d..873b7e11 100644 --- a/cpp/platform/impl/ios/multi_thread_executor.h +++ b/cpp/platform/impl/ios/multi_thread_executor.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_IMPL_IOS_MULTI_THREAD_EXECUTOR_H_ #define PLATFORM_IMPL_IOS_MULTI_THREAD_EXECUTOR_H_ diff --git a/cpp/platform/impl/ios/mutex.h b/cpp/platform/impl/ios/mutex.h index 5e034068..a43e44a5 100644 --- a/cpp/platform/impl/ios/mutex.h +++ b/cpp/platform/impl/ios/mutex.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_IMPL_IOS_MUTEX_H_ #define PLATFORM_IMPL_IOS_MUTEX_H_ diff --git a/cpp/platform/impl/ios/platform.mm b/cpp/platform/impl/ios/platform.mm index 4ca04cae..fd808922 100644 --- a/cpp/platform/impl/ios/platform.mm +++ b/cpp/platform/impl/ios/platform.mm @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "platform/api/platform.h" #include diff --git a/cpp/platform/impl/ios/scheduled_executor.h b/cpp/platform/impl/ios/scheduled_executor.h index f609f137..9ef95581 100644 --- a/cpp/platform/impl/ios/scheduled_executor.h +++ b/cpp/platform/impl/ios/scheduled_executor.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_IMPL_IOS_SCHEDULED_EXECUTOR_H_ #define PLATFORM_IMPL_IOS_SCHEDULED_EXECUTOR_H_ diff --git a/cpp/platform/impl/ios/scheduled_executor.mm b/cpp/platform/impl/ios/scheduled_executor.mm index 9955a021..c12b9844 100644 --- a/cpp/platform/impl/ios/scheduled_executor.mm +++ b/cpp/platform/impl/ios/scheduled_executor.mm @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "platform/impl/ios/scheduled_executor.h" #include diff --git a/cpp/platform/impl/ios/single_thread_executor.h b/cpp/platform/impl/ios/single_thread_executor.h index ac72d482..7bd12a0e 100644 --- a/cpp/platform/impl/ios/single_thread_executor.h +++ b/cpp/platform/impl/ios/single_thread_executor.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_IMPL_IOS_SINGLE_THREAD_EXECUTOR_H_ #define PLATFORM_IMPL_IOS_SINGLE_THREAD_EXECUTOR_H_ diff --git a/cpp/platform/impl/shared/BUILD b/cpp/platform/impl/shared/BUILD index ea027422..b2c31460 100644 --- a/cpp/platform/impl/shared/BUILD +++ b/cpp/platform/impl/shared/BUILD @@ -1,3 +1,17 @@ +# Copyright 2020 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + cc_library( name = "posix_mutex", srcs = [ diff --git a/cpp/platform/impl/shared/file.cc b/cpp/platform/impl/shared/file.cc index 0d47aa24..1dc3727f 100644 --- a/cpp/platform/impl/shared/file.cc +++ b/cpp/platform/impl/shared/file.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "platform/impl/shared/file.h" #include diff --git a/cpp/platform/impl/shared/file.h b/cpp/platform/impl/shared/file.h index 0b8ab946..907eb394 100644 --- a/cpp/platform/impl/shared/file.h +++ b/cpp/platform/impl/shared/file.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_IMPL_SHARED_FILE_H_ #define PLATFORM_IMPL_SHARED_FILE_H_ diff --git a/cpp/platform/impl/shared/file_test.cc b/cpp/platform/impl/shared/file_test.cc index ac23e69a..2241ff60 100644 --- a/cpp/platform/impl/shared/file_test.cc +++ b/cpp/platform/impl/shared/file_test.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "platform/impl/shared/file.h" #include diff --git a/cpp/platform/impl/shared/posix_condition_variable.cc b/cpp/platform/impl/shared/posix_condition_variable.cc index ca195df9..35acfc39 100644 --- a/cpp/platform/impl/shared/posix_condition_variable.cc +++ b/cpp/platform/impl/shared/posix_condition_variable.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "platform/impl/shared/posix_condition_variable.h" namespace location { diff --git a/cpp/platform/impl/shared/posix_condition_variable.h b/cpp/platform/impl/shared/posix_condition_variable.h index 35603fa5..e2526296 100644 --- a/cpp/platform/impl/shared/posix_condition_variable.h +++ b/cpp/platform/impl/shared/posix_condition_variable.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_IMPL_SHARED_POSIX_CONDITION_VARIABLE_H_ #define PLATFORM_IMPL_SHARED_POSIX_CONDITION_VARIABLE_H_ diff --git a/cpp/platform/impl/shared/posix_mutex.cc b/cpp/platform/impl/shared/posix_mutex.cc index 6e6588a3..663e93cc 100644 --- a/cpp/platform/impl/shared/posix_mutex.cc +++ b/cpp/platform/impl/shared/posix_mutex.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "platform/impl/shared/posix_mutex.h" namespace location { diff --git a/cpp/platform/impl/shared/posix_mutex.h b/cpp/platform/impl/shared/posix_mutex.h index 223f144e..31284080 100644 --- a/cpp/platform/impl/shared/posix_mutex.h +++ b/cpp/platform/impl/shared/posix_mutex.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_IMPL_SHARED_POSIX_MUTEX_H_ #define PLATFORM_IMPL_SHARED_POSIX_MUTEX_H_ diff --git a/cpp/platform/public/BUILD b/cpp/platform/public/BUILD index 4562f961..bc64154d 100644 --- a/cpp/platform/public/BUILD +++ b/cpp/platform/public/BUILD @@ -1,3 +1,17 @@ +# Copyright 2020 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + cc_library( name = "types", srcs = [ diff --git a/cpp/platform/public/atomic_boolean.h b/cpp/platform/public/atomic_boolean.h index 992bbe0f..8c3f05fb 100644 --- a/cpp/platform/public/atomic_boolean.h +++ b/cpp/platform/public/atomic_boolean.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_PUBLIC_ATOMIC_BOOLEAN_H_ #define PLATFORM_PUBLIC_ATOMIC_BOOLEAN_H_ @@ -11,7 +25,7 @@ namespace nearby { // A boolean value that may be updated atomically. // See documentation in -// https://source.corp.google.com/piper///depot/google3/platform/api/atomic_boolean.h +// cpp/platform/api/atomic_boolean.h class AtomicBoolean final : public api::AtomicBoolean { public: using Platform = api::ImplementationPlatform; diff --git a/cpp/platform/public/atomic_boolean_test.cc b/cpp/platform/public/atomic_boolean_test.cc index a25e7463..97e6825d 100644 --- a/cpp/platform/public/atomic_boolean_test.cc +++ b/cpp/platform/public/atomic_boolean_test.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "platform/public/atomic_boolean.h" #include "gmock/gmock.h" diff --git a/cpp/platform/public/atomic_reference.h b/cpp/platform/public/atomic_reference.h index 24c4cd7c..8f8aaf38 100644 --- a/cpp/platform/public/atomic_reference.h +++ b/cpp/platform/public/atomic_reference.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_PUBLIC_ATOMIC_REFERENCE_H_ #define PLATFORM_PUBLIC_ATOMIC_REFERENCE_H_ diff --git a/cpp/platform/public/atomic_reference_test.cc b/cpp/platform/public/atomic_reference_test.cc index cecf9579..af888cad 100644 --- a/cpp/platform/public/atomic_reference_test.cc +++ b/cpp/platform/public/atomic_reference_test.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "platform/public/atomic_reference.h" #include "gtest/gtest.h" diff --git a/cpp/platform/public/ble.cc b/cpp/platform/public/ble.cc index fe77ec21..3f0bf92c 100644 --- a/cpp/platform/public/ble.cc +++ b/cpp/platform/public/ble.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "platform/public/ble.h" #include "platform/public/logging.h" diff --git a/cpp/platform/public/ble.h b/cpp/platform/public/ble.h index a2a817a5..777ca9e7 100644 --- a/cpp/platform/public/ble.h +++ b/cpp/platform/public/ble.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_PUBLIC_BLE_H_ #define PLATFORM_PUBLIC_BLE_H_ diff --git a/cpp/platform/public/ble_test.cc b/cpp/platform/public/ble_test.cc index 42180ff8..10cbe645 100644 --- a/cpp/platform/public/ble_test.cc +++ b/cpp/platform/public/ble_test.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "platform/public/ble.h" #include diff --git a/cpp/platform/public/bluetooth_adapter.h b/cpp/platform/public/bluetooth_adapter.h index 92c10e5e..b39d83d8 100644 --- a/cpp/platform/public/bluetooth_adapter.h +++ b/cpp/platform/public/bluetooth_adapter.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_PUBLIC_BLUETOOTH_ADAPTER_H_ #define PLATFORM_PUBLIC_BLUETOOTH_ADAPTER_H_ diff --git a/cpp/platform/public/bluetooth_adapter_test.cc b/cpp/platform/public/bluetooth_adapter_test.cc index 737d4ee6..7ed8b6ba 100644 --- a/cpp/platform/public/bluetooth_adapter_test.cc +++ b/cpp/platform/public/bluetooth_adapter_test.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "platform/public/bluetooth_adapter.h" #include "platform/base/bluetooth_utils.h" diff --git a/cpp/platform/public/bluetooth_classic.cc b/cpp/platform/public/bluetooth_classic.cc index 54f4e01e..37bb62d4 100644 --- a/cpp/platform/public/bluetooth_classic.cc +++ b/cpp/platform/public/bluetooth_classic.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "platform/public/bluetooth_classic.h" #include "platform/public/logging.h" diff --git a/cpp/platform/public/bluetooth_classic.h b/cpp/platform/public/bluetooth_classic.h index 5ba4060b..2fa407a8 100644 --- a/cpp/platform/public/bluetooth_classic.h +++ b/cpp/platform/public/bluetooth_classic.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_PUBLIC_BLUETOOTH_CLASSIC_H_ #define PLATFORM_PUBLIC_BLUETOOTH_CLASSIC_H_ diff --git a/cpp/platform/public/bluetooth_classic_test.cc b/cpp/platform/public/bluetooth_classic_test.cc index 60253e9e..2ba855f6 100644 --- a/cpp/platform/public/bluetooth_classic_test.cc +++ b/cpp/platform/public/bluetooth_classic_test.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "platform/public/bluetooth_classic.h" #include diff --git a/cpp/platform/public/cancelable.h b/cpp/platform/public/cancelable.h index a565e669..ef9fd6ae 100644 --- a/cpp/platform/public/cancelable.h +++ b/cpp/platform/public/cancelable.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_PUBLIC_CANCELABLE_H_ #define PLATFORM_PUBLIC_CANCELABLE_H_ diff --git a/cpp/platform/public/cancelable_alarm.h b/cpp/platform/public/cancelable_alarm.h index b2fd74c4..e78187b4 100644 --- a/cpp/platform/public/cancelable_alarm.h +++ b/cpp/platform/public/cancelable_alarm.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_PUBLIC_CANCELABLE_ALARM_H_ #define PLATFORM_PUBLIC_CANCELABLE_ALARM_H_ diff --git a/cpp/platform/public/cancelable_alarm_test.cc b/cpp/platform/public/cancelable_alarm_test.cc index 35a4ae8b..7cb934c9 100644 --- a/cpp/platform/public/cancelable_alarm_test.cc +++ b/cpp/platform/public/cancelable_alarm_test.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "platform/public/cancelable_alarm.h" #include "platform/public/atomic_boolean.h" diff --git a/cpp/platform/public/condition_variable.h b/cpp/platform/public/condition_variable.h index 4c39ed81..e6c0408f 100644 --- a/cpp/platform/public/condition_variable.h +++ b/cpp/platform/public/condition_variable.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_PUBLIC_CONDITION_VARIABLE_H_ #define PLATFORM_PUBLIC_CONDITION_VARIABLE_H_ diff --git a/cpp/platform/public/condition_variable_test.cc b/cpp/platform/public/condition_variable_test.cc index e71c54a9..f00605f6 100644 --- a/cpp/platform/public/condition_variable_test.cc +++ b/cpp/platform/public/condition_variable_test.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "platform/public/condition_variable.h" #include "platform/public/logging.h" diff --git a/cpp/platform/public/count_down_latch.h b/cpp/platform/public/count_down_latch.h index 921691e9..68932277 100644 --- a/cpp/platform/public/count_down_latch.h +++ b/cpp/platform/public/count_down_latch.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_PUBLIC_COUNT_DOWN_LATCH_H_ #define PLATFORM_PUBLIC_COUNT_DOWN_LATCH_H_ diff --git a/cpp/platform/public/count_down_latch_test.cc b/cpp/platform/public/count_down_latch_test.cc index 46d844c2..d8699973 100644 --- a/cpp/platform/public/count_down_latch_test.cc +++ b/cpp/platform/public/count_down_latch_test.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "platform/public/count_down_latch.h" #include "platform/public/single_thread_executor.h" diff --git a/cpp/platform/public/crypto.h b/cpp/platform/public/crypto.h index c948d957..a41d44ef 100644 --- a/cpp/platform/public/crypto.h +++ b/cpp/platform/public/crypto.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_PUBLIC_CRYPTO_H_ #define PLATFORM_PUBLIC_CRYPTO_H_ diff --git a/cpp/platform/public/crypto_test.cc b/cpp/platform/public/crypto_test.cc index b5ded2d6..dc707c81 100644 --- a/cpp/platform/public/crypto_test.cc +++ b/cpp/platform/public/crypto_test.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "platform/public/crypto.h" #include "platform/base/byte_array.h" diff --git a/cpp/platform/public/file.h b/cpp/platform/public/file.h index edaf9c77..0a342b91 100644 --- a/cpp/platform/public/file.h +++ b/cpp/platform/public/file.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_PUBLIC_FILE_H_ #define PLATFORM_PUBLIC_FILE_H_ diff --git a/cpp/platform/public/future.h b/cpp/platform/public/future.h index 400aeb3f..a7215015 100644 --- a/cpp/platform/public/future.h +++ b/cpp/platform/public/future.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_PUBLIC_FUTURE_H_ #define PLATFORM_PUBLIC_FUTURE_H_ diff --git a/cpp/platform/public/future_test.cc b/cpp/platform/public/future_test.cc index 9a19f271..3fd443a6 100644 --- a/cpp/platform/public/future_test.cc +++ b/cpp/platform/public/future_test.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "platform/public/future.h" #include "platform/public/single_thread_executor.h" diff --git a/cpp/platform/public/logging.h b/cpp/platform/public/logging.h index 08063aaf..7d68c1ef 100644 --- a/cpp/platform/public/logging.h +++ b/cpp/platform/public/logging.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_PUBLIC_LOGGING_H_ #define PLATFORM_PUBLIC_LOGGING_H_ diff --git a/cpp/platform/public/logging_test.cc b/cpp/platform/public/logging_test.cc index 23359eba..73628af3 100644 --- a/cpp/platform/public/logging_test.cc +++ b/cpp/platform/public/logging_test.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "platform/public/logging.h" #include "gmock/gmock.h" diff --git a/cpp/platform/public/multi_thread_executor.h b/cpp/platform/public/multi_thread_executor.h index af44792a..e5160295 100644 --- a/cpp/platform/public/multi_thread_executor.h +++ b/cpp/platform/public/multi_thread_executor.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_PUBLIC_MULTI_THREAD_EXECUTOR_H_ #define PLATFORM_PUBLIC_MULTI_THREAD_EXECUTOR_H_ diff --git a/cpp/platform/public/multi_thread_executor_test.cc b/cpp/platform/public/multi_thread_executor_test.cc index 6c775032..ef35acd2 100644 --- a/cpp/platform/public/multi_thread_executor_test.cc +++ b/cpp/platform/public/multi_thread_executor_test.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "platform/public/multi_thread_executor.h" #include diff --git a/cpp/platform/public/mutex.h b/cpp/platform/public/mutex.h index 29e0da67..f2368830 100644 --- a/cpp/platform/public/mutex.h +++ b/cpp/platform/public/mutex.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_PUBLIC_MUTEX_H_ #define PLATFORM_PUBLIC_MUTEX_H_ diff --git a/cpp/platform/public/mutex_lock.h b/cpp/platform/public/mutex_lock.h index c6a40d0a..b5457a16 100644 --- a/cpp/platform/public/mutex_lock.h +++ b/cpp/platform/public/mutex_lock.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_PUBLIC_MUTEX_LOCK_H_ #define PLATFORM_PUBLIC_MUTEX_LOCK_H_ diff --git a/cpp/platform/public/mutex_test.cc b/cpp/platform/public/mutex_test.cc index c61d8de6..00c129be 100644 --- a/cpp/platform/public/mutex_test.cc +++ b/cpp/platform/public/mutex_test.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "platform/public/mutex.h" #include "platform/public/condition_variable.h" diff --git a/cpp/platform/public/pipe.cc b/cpp/platform/public/pipe.cc index c64d36a8..39000e4f 100644 --- a/cpp/platform/public/pipe.cc +++ b/cpp/platform/public/pipe.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "platform/public/pipe.h" #include "platform/api/condition_variable.h" diff --git a/cpp/platform/public/pipe.h b/cpp/platform/public/pipe.h index 555cd979..be5ac879 100644 --- a/cpp/platform/public/pipe.h +++ b/cpp/platform/public/pipe.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_PUBLIC_PIPE_H_ #define PLATFORM_PUBLIC_PIPE_H_ diff --git a/cpp/platform/public/pipe_test.cc b/cpp/platform/public/pipe_test.cc index 84880cd7..652e9098 100644 --- a/cpp/platform/public/pipe_test.cc +++ b/cpp/platform/public/pipe_test.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "platform/public/pipe.h" #include diff --git a/cpp/platform/public/scheduled_executor.h b/cpp/platform/public/scheduled_executor.h index 6dea9e55..4dba913f 100644 --- a/cpp/platform/public/scheduled_executor.h +++ b/cpp/platform/public/scheduled_executor.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_PUBLIC_SCHEDULED_EXECUTOR_H_ #define PLATFORM_PUBLIC_SCHEDULED_EXECUTOR_H_ diff --git a/cpp/platform/public/scheduled_executor_test.cc b/cpp/platform/public/scheduled_executor_test.cc index 95720137..d7e371ec 100644 --- a/cpp/platform/public/scheduled_executor_test.cc +++ b/cpp/platform/public/scheduled_executor_test.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "platform/public/scheduled_executor.h" #include diff --git a/cpp/platform/public/settable_future.h b/cpp/platform/public/settable_future.h index b175cbfa..512d0e72 100644 --- a/cpp/platform/public/settable_future.h +++ b/cpp/platform/public/settable_future.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_PUBLIC_SETTABLE_FUTURE_H_ #define PLATFORM_PUBLIC_SETTABLE_FUTURE_H_ diff --git a/cpp/platform/public/single_thread_executor.h b/cpp/platform/public/single_thread_executor.h index 16c57ce0..f832b29f 100644 --- a/cpp/platform/public/single_thread_executor.h +++ b/cpp/platform/public/single_thread_executor.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_PUBLIC_SINGLE_THREAD_EXECUTOR_H_ #define PLATFORM_PUBLIC_SINGLE_THREAD_EXECUTOR_H_ diff --git a/cpp/platform/public/single_thread_executor_test.cc b/cpp/platform/public/single_thread_executor_test.cc index 1608b5a8..488a529c 100644 --- a/cpp/platform/public/single_thread_executor_test.cc +++ b/cpp/platform/public/single_thread_executor_test.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "platform/public/single_thread_executor.h" #include diff --git a/cpp/platform/public/submittable_executor.h b/cpp/platform/public/submittable_executor.h index 7154f944..0e6093e1 100644 --- a/cpp/platform/public/submittable_executor.h +++ b/cpp/platform/public/submittable_executor.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_PUBLIC_SUBMITTABLE_EXECUTOR_H_ #define PLATFORM_PUBLIC_SUBMITTABLE_EXECUTOR_H_ diff --git a/cpp/platform/public/system_clock.h b/cpp/platform/public/system_clock.h index 37ecb5f9..df21c63c 100644 --- a/cpp/platform/public/system_clock.h +++ b/cpp/platform/public/system_clock.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_PUBLIC_SYSTEM_CLOCK_H_ #define PLATFORM_PUBLIC_SYSTEM_CLOCK_H_ diff --git a/cpp/platform/public/webrtc.h b/cpp/platform/public/webrtc.h index ad7d4f18..d024290d 100644 --- a/cpp/platform/public/webrtc.h +++ b/cpp/platform/public/webrtc.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_PUBLIC_WEBRTC_H_ #define PLATFORM_PUBLIC_WEBRTC_H_ diff --git a/cpp/platform/public/wifi_lan.cc b/cpp/platform/public/wifi_lan.cc index 7e3152e2..13049c3e 100644 --- a/cpp/platform/public/wifi_lan.cc +++ b/cpp/platform/public/wifi_lan.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "platform/public/wifi_lan.h" #include "platform/public/logging.h" diff --git a/cpp/platform/public/wifi_lan.h b/cpp/platform/public/wifi_lan.h index 1806aa2e..1de32d1e 100644 --- a/cpp/platform/public/wifi_lan.h +++ b/cpp/platform/public/wifi_lan.h @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef PLATFORM_PUBLIC_WIFI_LAN_H_ #define PLATFORM_PUBLIC_WIFI_LAN_H_ diff --git a/cpp/platform/public/wifi_lan_test.cc b/cpp/platform/public/wifi_lan_test.cc index 11796882..095d98fd 100644 --- a/cpp/platform/public/wifi_lan_test.cc +++ b/cpp/platform/public/wifi_lan_test.cc @@ -1,3 +1,17 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "platform/public/wifi_lan.h" #include