add copybara rule of import/include for ios platform

PiperOrigin-RevId: 419820195
This commit is contained in:
edwinwu
2022-01-05 06:55:53 -08:00
committed by Copybara-Service
parent 24d5e10784
commit 9b7f7a293c
38 changed files with 183 additions and 183 deletions
@@ -12,24 +12,24 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#import "third_party/nearby/cpp/platform/impl/ios/Source/GNCAdvertiser.h"
#import "platform/impl/ios/Source/GNCAdvertiser.h"
#include <string>
#include "third_party/absl/functional/bind_front.h"
#include "third_party/nearby/cpp/core/core.h"
#include "third_party/nearby/cpp/core/listeners.h"
#include "third_party/nearby/cpp/core/options.h"
#include "third_party/nearby/cpp/core/params.h"
#include "third_party/nearby/cpp/core/status.h"
#include "third_party/nearby/cpp/platform/base/byte_array.h"
#import "third_party/nearby/cpp/platform/impl/ios/Source/GNCConnection.h"
#import "third_party/nearby/cpp/platform/impl/ios/Source/Internal/GNCCore.h"
#import "third_party/nearby/cpp/platform/impl/ios/Source/Internal/GNCCoreConnection.h"
#import "third_party/nearby/cpp/platform/impl/ios/Source/Internal/GNCPayloadListener.h"
#import "third_party/nearby/cpp/platform/impl/ios/Source/Internal/GNCUtils.h"
#import "third_party/nearby/cpp/platform/impl/ios/Source/Platform/utils.h"
#import "third_party/objective_c/google_toolbox_for_mac/Foundation/GTMLogger.h"
#include "absl/functional/bind_front.h"
#include "core/core.h"
#include "core/listeners.h"
#include "core/options.h"
#include "core/params.h"
#include "core/status.h"
#include "platform/base/byte_array.h"
#import "platform/impl/ios/Source/GNCConnection.h"
#import "platform/impl/ios/Source/Internal/GNCCore.h"
#import "platform/impl/ios/Source/Internal/GNCCoreConnection.h"
#import "platform/impl/ios/Source/Internal/GNCPayloadListener.h"
#import "platform/impl/ios/Source/Internal/GNCUtils.h"
#import "platform/impl/ios/Source/Platform/utils.h"
#import "GoogleToolboxForMac/GTMLogger.h"
NS_ASSUME_NONNULL_BEGIN
@@ -12,16 +12,16 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#import "third_party/nearby/cpp/platform/impl/ios/Source/Internal/GNCCore.h"
#import "platform/impl/ios/Source/Internal/GNCCore.h"
#include <utility>
#include "third_party/absl/container/flat_hash_map.h"
#include "third_party/absl/container/internal/common.h"
#include "third_party/nearby/cpp/core/core.h"
#include "third_party/nearby/cpp/core/internal/service_controller_router.h"
#include "third_party/nearby/cpp/platform/base/payload_id.h"
#import "third_party/objective_c/google_toolbox_for_mac/Foundation/GTMLogger.h"
#include "absl/container/flat_hash_map.h"
#include "absl/container/internal/common.h"
#include "core/core.h"
#include "core/internal/service_controller_router.h"
#include "platform/base/payload_id.h"
#import "GoogleToolboxForMac/GTMLogger.h"
using ::location::nearby::connections::Core;
using ::location::nearby::PayloadId;
@@ -14,8 +14,8 @@
#import <Foundation/Foundation.h>
#import "third_party/nearby/cpp/platform/impl/ios/Source/GNCConnection.h"
#import "third_party/nearby/cpp/platform/impl/ios/Source/Internal/GNCCore.h"
#import "platform/impl/ios/Source/GNCConnection.h"
#import "platform/impl/ios/Source/Internal/GNCCore.h"
NS_ASSUME_NONNULL_BEGIN
@@ -12,19 +12,19 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#import "third_party/nearby/cpp/platform/impl/ios/Source/Internal/GNCCoreConnection.h"
#import "platform/impl/ios/Source/Internal/GNCCoreConnection.h"
#include "third_party/nearby/cpp/core/core.h"
#include "third_party/nearby/cpp/core/payload.h"
#include "third_party/nearby/cpp/platform/api/input_file.h"
#import "third_party/nearby/cpp/platform/base/exception.h"
#include "third_party/nearby/cpp/platform/base/input_stream.h"
#import "third_party/nearby/cpp/platform/base/payload_id.h"
#import "third_party/nearby/cpp/platform/impl/ios/Source/GNCConnection.h"
#import "third_party/nearby/cpp/platform/impl/ios/Source/GNCPayload.h"
#import "third_party/nearby/cpp/platform/impl/ios/Source/Internal/GNCCore.h"
#import "third_party/nearby/cpp/platform/impl/ios/Source/Platform/utils.h"
#include "third_party/nearby/cpp/platform/public/file.h"
#include "core/core.h"
#include "core/payload.h"
#include "platform/api/input_file.h"
#include "platform/base/exception.h"
#include "platform/base/input_stream.h"
#include "platform/base/payload_id.h"
#import "platform/impl/ios/Source/GNCConnection.h"
#import "platform/impl/ios/Source/GNCPayload.h"
#import "platform/impl/ios/Source/Internal/GNCCore.h"
#import "platform/impl/ios/Source/Platform/utils.h"
#include "platform/public/file.h"
using ::location::nearby::ByteArrayFromNSData;
using ::location::nearby::CppStringFromObjCString;
@@ -12,24 +12,24 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#import "third_party/nearby/cpp/platform/impl/ios/Source/GNCDiscoverer.h"
#import "platform/impl/ios/Source/GNCDiscoverer.h"
#include <string>
#include <utility>
#include "third_party/absl/functional/bind_front.h"
#include "third_party/nearby/cpp/core/core.h"
#include "third_party/nearby/cpp/core/listeners.h"
#include "third_party/nearby/cpp/core/options.h"
#include "third_party/nearby/cpp/core/status.h"
#include "third_party/nearby/cpp/platform/base/byte_array.h"
#import "third_party/nearby/cpp/platform/impl/ios/Source/GNCConnection.h"
#import "third_party/nearby/cpp/platform/impl/ios/Source/Internal/GNCCore.h"
#import "third_party/nearby/cpp/platform/impl/ios/Source/Internal/GNCCoreConnection.h"
#import "third_party/nearby/cpp/platform/impl/ios/Source/Internal/GNCPayloadListener.h"
#import "third_party/nearby/cpp/platform/impl/ios/Source/Internal/GNCUtils.h"
#import "third_party/nearby/cpp/platform/impl/ios/Source/Platform/utils.h"
#import "third_party/objective_c/google_toolbox_for_mac/Foundation/GTMLogger.h"
#include "absl/functional/bind_front.h"
#include "core/core.h"
#include "core/listeners.h"
#include "core/options.h"
#include "core/status.h"
#include "platform/base/byte_array.h"
#import "platform/impl/ios/Source/GNCConnection.h"
#import "platform/impl/ios/Source/Internal/GNCCore.h"
#import "platform/impl/ios/Source/Internal/GNCCoreConnection.h"
#import "platform/impl/ios/Source/Internal/GNCPayloadListener.h"
#import "platform/impl/ios/Source/Internal/GNCUtils.h"
#import "platform/impl/ios/Source/Platform/utils.h"
#import "GoogleToolboxForMac/GTMLogger.h"
NS_ASSUME_NONNULL_BEGIN
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#import "third_party/nearby/cpp/platform/impl/ios/Source/GNCPayload.h"
#import "platform/impl/ios/Source/GNCPayload.h"
NS_ASSUME_NONNULL_BEGIN
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#import "third_party/nearby/cpp/platform/impl/ios/Source/GNCPayload.h"
#import "platform/impl/ios/Source/GNCPayload.h"
#include <stdlib.h>
@@ -14,8 +14,8 @@
#import <Foundation/Foundation.h>
#import "third_party/nearby/cpp/platform/impl/ios/Source/GNCConnection.h"
#import "third_party/nearby/cpp/platform/impl/ios/Source/Internal/GNCCore.h"
#import "platform/impl/ios/Source/GNCConnection.h"
#import "platform/impl/ios/Source/Internal/GNCCore.h"
NS_ASSUME_NONNULL_BEGIN
@@ -12,23 +12,23 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#import "third_party/nearby/cpp/platform/impl/ios/Source/Internal/GNCPayloadListener.h"
#import "platform/impl/ios/Source/Internal/GNCPayloadListener.h"
#include <string>
#include "third_party/nearby/cpp/core/core.h"
#include "third_party/nearby/cpp/core/listeners.h"
#include "third_party/nearby/cpp/core/payload.h"
#include "third_party/nearby/cpp/platform/base/byte_array.h"
#include "third_party/nearby/cpp/platform/base/exception.h"
#include "third_party/nearby/cpp/platform/base/input_stream.h"
#import "third_party/nearby/cpp/platform/impl/ios/Source/GNCConnection.h"
#import "third_party/nearby/cpp/platform/impl/ios/Source/GNCPayload.h"
#import "third_party/nearby/cpp/platform/impl/ios/Source/Internal/GNCCore.h"
#import "third_party/nearby/cpp/platform/impl/ios/Source/Internal/GNCCoreConnection.h"
#import "third_party/nearby/cpp/platform/impl/ios/Source/Internal/GNCPayload+Internal.h"
#include "third_party/nearby/cpp/platform/impl/ios/Source/Platform/utils.h"
#include "third_party/nearby/cpp/platform/public/file.h"
#include "core/core.h"
#include "core/listeners.h"
#include "core/payload.h"
#include "platform/base/byte_array.h"
#include "platform/base/exception.h"
#include "platform/base/input_stream.h"
#import "platform/impl/ios/Source/GNCConnection.h"
#import "platform/impl/ios/Source/GNCPayload.h"
#import "platform/impl/ios/Source/Internal/GNCCore.h"
#import "platform/impl/ios/Source/Internal/GNCCoreConnection.h"
#import "platform/impl/ios/Source/Internal/GNCPayload+Internal.h"
#include "platform/impl/ios/Source/Platform/utils.h"
#include "platform/public/file.h"
NS_ASSUME_NONNULL_BEGIN
@@ -18,8 +18,8 @@
#include "core/listeners.h"
#include "core/options.h"
#import "third_party/nearby/cpp/platform/impl/ios/Source/GNCAdvertiser.h"
#import "third_party/nearby/cpp/platform/impl/ios/Source/GNCConnection.h"
#import "platform/impl/ios/Source/GNCAdvertiser.h"
#import "platform/impl/ios/Source/GNCConnection.h"
NS_ASSUME_NONNULL_BEGIN
@@ -12,11 +12,11 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#import "third_party/nearby/cpp/platform/impl/ios/Source/Internal/GNCUtils.h"
#import "platform/impl/ios/Source/Internal/GNCUtils.h"
#include "third_party/nearby/cpp/core/strategy.h"
#import "third_party/nearby/cpp/platform/impl/ios/Source/GNCAdvertiser.h"
#import "third_party/nearby/cpp/platform/impl/ios/Source/GNCConnection.h"
#include "core/strategy.h"
#import "platform/impl/ios/Source/GNCAdvertiser.h"
#import "platform/impl/ios/Source/GNCConnection.h"
NS_ASSUME_NONNULL_BEGIN
@@ -12,26 +12,26 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include "third_party/nearby/cpp/platform/api/platform.h"
#include "platform/api/platform.h"
#include <string>
#include "third_party/nearby/cpp/platform/api/mutex.h"
#include "third_party/nearby/cpp/platform/base/payload_id.h"
#import "third_party/nearby/cpp/platform/impl/ios/Source/Internal/GNCCore.h"
#include "third_party/nearby/cpp/platform/impl/ios/Source/Platform/atomic_boolean.h"
#include "third_party/nearby/cpp/platform/impl/ios/Source/Platform/atomic_uint32.h"
#include "third_party/nearby/cpp/platform/impl/ios/Source/Platform/condition_variable.h"
#include "third_party/nearby/cpp/platform/impl/ios/Source/Platform/count_down_latch.h"
#include "third_party/nearby/cpp/platform/impl/ios/Source/Platform/input_file.h"
#import "third_party/nearby/cpp/platform/impl/ios/Source/Platform/log_message.h"
#import "third_party/nearby/cpp/platform/impl/ios/Source/Platform/multi_thread_executor.h"
#include "third_party/nearby/cpp/platform/impl/ios/Source/Platform/mutex.h"
#import "third_party/nearby/cpp/platform/impl/ios/Source/Platform/scheduled_executor.h"
#import "third_party/nearby/cpp/platform/impl/ios/Source/Platform/single_thread_executor.h"
#import "third_party/nearby/cpp/platform/impl/ios/Source/Platform/utils.h"
#include "third_party/nearby/cpp/platform/impl/ios/Source/Platform/wifi_lan.h"
#include "third_party/nearby/cpp/platform/impl/shared/file.h"
#include "platform/api/mutex.h"
#include "platform/base/payload_id.h"
#import "platform/impl/ios/Source/Internal/GNCCore.h"
#include "platform/impl/ios/Source/Platform/atomic_boolean.h"
#include "platform/impl/ios/Source/Platform/atomic_uint32.h"
#include "platform/impl/ios/Source/Platform/condition_variable.h"
#include "platform/impl/ios/Source/Platform/count_down_latch.h"
#include "platform/impl/ios/Source/Platform/input_file.h"
#import "platform/impl/ios/Source/Platform/log_message.h"
#import "platform/impl/ios/Source/Platform/multi_thread_executor.h"
#include "platform/impl/ios/Source/Platform/mutex.h"
#import "platform/impl/ios/Source/Platform/scheduled_executor.h"
#import "platform/impl/ios/Source/Platform/single_thread_executor.h"
#import "platform/impl/ios/Source/Platform/utils.h"
#include "platform/impl/ios/Source/Platform/wifi_lan.h"
#include "platform/impl/shared/file.h"
namespace location {
namespace nearby {
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#import "third_party/nearby/cpp/platform/impl/ios/Source/Mediums/GNCLeaks.h"
#import "platform/impl/ios/Source/Mediums/GNCLeaks.h"
void GNCVerifyDealloc(id object, NSTimeInterval timeInterval) {
#if DEBUG
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#import "third_party/nearby/cpp/platform/impl/ios/Source/Mediums/GNCMConnection.h"
#import "platform/impl/ios/Source/Mediums/GNCMConnection.h"
NS_ASSUME_NONNULL_BEGIN
@@ -14,7 +14,7 @@
#import <Foundation/Foundation.h>
#import "third_party/nearby/cpp/platform/impl/ios/Source/Mediums/GNCMConnection.h"
#import "platform/impl/ios/Source/Mediums/GNCMConnection.h"
NS_ASSUME_NONNULL_BEGIN
@@ -12,12 +12,12 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#import "third_party/nearby/cpp/platform/impl/ios/Source/Mediums/WifiLan/GNCMBonjourBrowser.h"
#import "platform/impl/ios/Source/Mediums/WifiLan/GNCMBonjourBrowser.h"
#import "third_party/nearby/cpp/platform/impl/ios/Source/Mediums/GNCMConnection.h"
#import "third_party/nearby/cpp/platform/impl/ios/Source/Mediums/WifiLan/GNCMBonjourConnection.h"
#import "third_party/nearby/cpp/platform/impl/ios/Source/Mediums/WifiLan/GNCMBonjourUtils.h"
#import "third_party/objective_c/google_toolbox_for_mac/Foundation/GTMLogger.h"
#import "platform/impl/ios/Source/Mediums/GNCMConnection.h"
#import "platform/impl/ios/Source/Mediums/WifiLan/GNCMBonjourConnection.h"
#import "platform/impl/ios/Source/Mediums/WifiLan/GNCMBonjourUtils.h"
#import "GoogleToolboxForMac/GTMLogger.h"
typedef NSString *GNCEndpointId;
@@ -14,7 +14,7 @@
#import <Foundation/Foundation.h>
#import "third_party/nearby/cpp/platform/impl/ios/Source/Mediums/GNCMConnection.h"
#import "platform/impl/ios/Source/Mediums/GNCMConnection.h"
NS_ASSUME_NONNULL_BEGIN
@@ -12,10 +12,10 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#import "third_party/nearby/cpp/platform/impl/ios/Source/Mediums/WifiLan/GNCMBonjourConnection.h"
#import "platform/impl/ios/Source/Mediums/WifiLan/GNCMBonjourConnection.h"
#import "third_party/nearby/cpp/platform/impl/ios/Source/Mediums/GNCMConnection.h"
#import "third_party/objective_c/google_toolbox_for_mac/Foundation/GTMLogger.h"
#import "platform/impl/ios/Source/Mediums/GNCMConnection.h"
#import "GoogleToolboxForMac/GTMLogger.h"
enum { kMaxPacketSize = 32 * 1024 };
@@ -14,7 +14,7 @@
#import <Foundation/Foundation.h>
#import "third_party/nearby/cpp/platform/impl/ios/Source/Mediums/GNCMConnection.h"
#import "platform/impl/ios/Source/Mediums/GNCMConnection.h"
NS_ASSUME_NONNULL_BEGIN
@@ -12,12 +12,12 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#import "third_party/nearby/cpp/platform/impl/ios/Source/Mediums/WifiLan/GNCMBonjourService.h"
#import "platform/impl/ios/Source/Mediums/WifiLan/GNCMBonjourService.h"
#import "third_party/nearby/cpp/platform/impl/ios/Source/Mediums/GNCMConnection.h"
#import "third_party/nearby/cpp/platform/impl/ios/Source/Mediums/WifiLan/GNCMBonjourConnection.h"
#import "third_party/nearby/cpp/platform/impl/ios/Source/Mediums/WifiLan/GNCMBonjourUtils.h"
#import "third_party/objective_c/google_toolbox_for_mac/Foundation/GTMLogger.h"
#import "platform/impl/ios/Source/Mediums/GNCMConnection.h"
#import "platform/impl/ios/Source/Mediums/WifiLan/GNCMBonjourConnection.h"
#import "platform/impl/ios/Source/Mediums/WifiLan/GNCMBonjourUtils.h"
#import "GoogleToolboxForMac/GTMLogger.h"
@interface GNCMBonjourService () <NSNetServiceDelegate>
@@ -12,6 +12,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#import "third_party/nearby/cpp/platform/impl/ios/Source/Mediums/WifiLan/GNCMBonjourUtils.h"
#import "platform/impl/ios/Source/Mediums/WifiLan/GNCMBonjourUtils.h"
NSString *const GNCMBonjourDomain = @"local";
@@ -12,11 +12,11 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include "third_party/nearby/cpp/platform/api/crypto.h"
#include "platform/api/crypto.h"
#import "third_party/absl/strings/string_view.h"
#import "third_party/nearby/cpp/platform/impl/ios/Source/Platform/utils.h"
#import "third_party/nearby/cpp/platform/impl/ios/Source/Shared/GNCUtils.h"
#import "absl/strings/string_view.h"
#import "platform/impl/ios/Source/Platform/utils.h"
#import "platform/impl/ios/Source/Shared/GNCUtils.h"
namespace location {
namespace nearby {
@@ -12,12 +12,12 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#import "third_party/nearby/cpp/platform/impl/ios/Source/Platform/input_file.h"
#import "platform/impl/ios/Source/Platform/input_file.h"
#include <string>
#import "third_party/nearby/cpp/platform/base/exception.h"
#import "third_party/nearby/cpp/platform/impl/ios/Source/Platform/utils.h"
#import "platform/base/exception.h"
#import "platform/impl/ios/Source/Platform/utils.h"
namespace location {
namespace nearby {
@@ -12,11 +12,11 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include "third_party/nearby/cpp/platform/impl/ios/Source/Platform/log_message.h"
#include "platform/impl/ios/Source/Platform/log_message.h"
#include "base/logging.h"
#include "third_party/nearby/cpp/platform/api/log_message.h"
#include "third_party/objective_c/google_toolbox_for_mac/Foundation/GTMLogger.h"
#include "base/check.h"
#include "platform/api/log_message.h"
#include "GoogleToolboxForMac/GTMLogger.h"
namespace location {
namespace nearby {
@@ -16,8 +16,8 @@
#define PLATFORM_IMPL_IOS_MULTI_THREAD_EXECUTOR_H_
#include "platform/api/submittable_executor.h"
#import "third_party/nearby/cpp/platform/base/runnable.h"
#import "third_party/nearby/cpp/platform/impl/ios/Source/Platform/scheduled_executor.h"
#import "platform/base/runnable.h"
#import "platform/impl/ios/Source/Platform/scheduled_executor.h"
namespace location {
namespace nearby {
@@ -12,10 +12,10 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#import "third_party/nearby/cpp/platform/impl/ios/Source/Platform/multi_thread_executor.h"
#import "platform/impl/ios/Source/Platform/multi_thread_executor.h"
#include "third_party/nearby/cpp/platform/base/runnable.h"
#import "third_party/nearby/cpp/platform/impl/ios/Source/Platform/scheduled_executor.h"
#include "platform/base/runnable.h"
#import "platform/impl/ios/Source/Platform/scheduled_executor.h"
namespace location {
namespace nearby {
@@ -12,13 +12,13 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#import "third_party/nearby/cpp/platform/impl/ios/Source/Platform/scheduled_executor.h"
#import "platform/impl/ios/Source/Platform/scheduled_executor.h"
#import <Foundation/Foundation.h>
#include "third_party/absl/time/time.h"
#include "third_party/nearby/cpp/platform/base/runnable.h"
#import "third_party/nearby/cpp/platform/impl/ios/Source/Platform/atomic_boolean.h"
#include "absl/time/time.h"
#include "platform/base/runnable.h"
#import "platform/impl/ios/Source/Platform/atomic_boolean.h"
// This wraps the C++ Runnable in an Obj-C object for memory management. It is retained by the
// dispatch block below, and deleted when the block is released.
@@ -15,7 +15,7 @@
#ifndef PLATFORM_IMPL_IOS_SINGLE_THREAD_EXECUTOR_H_
#define PLATFORM_IMPL_IOS_SINGLE_THREAD_EXECUTOR_H_
#import "third_party/nearby/cpp/platform/impl/ios/Source/Platform/multi_thread_executor.h"
#import "platform/impl/ios/Source/Platform/multi_thread_executor.h"
namespace location {
namespace nearby {
@@ -12,11 +12,11 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#import "third_party/nearby/cpp/platform/impl/ios/Source/Platform/utils.h"
#import "platform/impl/ios/Source/Platform/utils.h"
#import "third_party/absl/container/flat_hash_map.h"
#include "third_party/absl/strings/string_view.h"
#include "third_party/nearby/cpp/platform/base/byte_array.h"
#import "absl/container/flat_hash_map.h"
#include "absl/strings/string_view.h"
#include "platform/base/byte_array.h"
NS_ASSUME_NONNULL_BEGIN
@@ -22,7 +22,7 @@
#include "absl/container/flat_hash_map.h"
#include "platform/api/wifi_lan.h"
#include "platform/base/nsd_service_info.h"
#import "third_party/nearby/cpp/platform/impl/ios/Source/Mediums/GNCMConnection.h" // IWYU pragma: export
#import "platform/impl/ios/Source/Mediums/GNCMConnection.h" // IWYU pragma: export
@class GNCMBonjourBrowser;
@class GNCMBonjourService;
@@ -12,28 +12,28 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#import "third_party/nearby/cpp/platform/impl/ios/Source/Platform/wifi_lan.h"
#import "platform/impl/ios/Source/Platform/wifi_lan.h"
#include <memory>
#include <string>
#include <utility>
#include "third_party/absl/container/flat_hash_map.h"
#include "third_party/absl/container/internal/common.h"
#include "third_party/absl/memory/memory.h"
#include "third_party/absl/strings/str_cat.h"
#include "third_party/absl/strings/str_format.h"
#include "third_party/absl/synchronization/mutex.h"
#include "third_party/nearby/cpp/platform/api/wifi_lan.h"
#include "third_party/nearby/cpp/platform/base/cancellation_flag.h"
#include "third_party/nearby/cpp/platform/base/exception.h"
#include "third_party/nearby/cpp/platform/base/nsd_service_info.h"
#include "third_party/nearby/cpp/platform/base/prng.h"
#import "third_party/nearby/cpp/platform/impl/ios/Source/Mediums/GNCMConnection.h"
#import "third_party/nearby/cpp/platform/impl/ios/Source/Mediums/WifiLan/GNCMBonjourBrowser.h"
#import "third_party/nearby/cpp/platform/impl/ios/Source/Mediums/WifiLan/GNCMBonjourService.h"
#include "third_party/nearby/cpp/platform/impl/ios/Source/Platform/utils.h"
#import "third_party/objective_c/google_toolbox_for_mac/Foundation/GTMLogger.h"
#include "absl/container/flat_hash_map.h"
#include "absl/container/internal/common.h"
#include "absl/memory/memory.h"
#include "absl/strings/str_cat.h"
#include "absl/strings/str_format.h"
#include "absl/synchronization/mutex.h"
#include "platform/api/wifi_lan.h"
#include "platform/base/cancellation_flag.h"
#include "platform/base/exception.h"
#include "platform/base/nsd_service_info.h"
#include "platform/base/prng.h"
#import "platform/impl/ios/Source/Mediums/GNCMConnection.h"
#import "platform/impl/ios/Source/Mediums/WifiLan/GNCMBonjourBrowser.h"
#import "platform/impl/ios/Source/Mediums/WifiLan/GNCMBonjourService.h"
#include "platform/impl/ios/Source/Platform/utils.h"
#import "GoogleToolboxForMac/GTMLogger.h"
namespace location {
namespace nearby {
@@ -1,8 +1,3 @@
#import "third_party/nearby/cpp/platform/impl/ios/Source/Shared/GNCUtils.h"
#import <CommonCrypto/CommonDigest.h>
#import "third_party/objective_c/google_toolbox_for_mac/Foundation/GTMStringEncoding.h"
// Copyright 2020 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
@@ -17,6 +12,11 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#import "platform/impl/ios/Source/Shared/GNCUtils.h"
#import <CommonCrypto/CommonDigest.h>
#import "GoogleToolboxForMac/GTMStringEncoding.h"
NS_ASSUME_NONNULL_BEGIN
@@ -14,8 +14,8 @@
#import <XCTest/XCTest.h>
#include "third_party/nearby/cpp/platform/api/crypto.h"
#include "third_party/nearby/cpp/platform/base/byte_array.h"
#include "platform/api/crypto.h"
#include "platform/base/byte_array.h"
@interface GNCCryptoTest : XCTestCase
@end
@@ -14,9 +14,9 @@
#import <XCTest/XCTest.h>
#import "third_party/nearby/cpp/platform/base/byte_array.h"
#import "third_party/nearby/cpp/platform/base/exception.h"
#import "third_party/nearby/cpp/platform/impl/ios/Source/Platform/input_file.h"
#import "platform/base/byte_array.h"
#import "platform/base/exception.h"
#import "platform/impl/ios/Source/Platform/input_file.h"
using ::location::nearby::ios::InputFile;
using ::location::nearby::ByteArray;
@@ -14,12 +14,12 @@
#import <XCTest/XCTest.h>
#include "third_party/absl/time/time.h"
#include "third_party/nearby/cpp/platform/api/cancelable.h"
#include "third_party/nearby/cpp/platform/api/executor.h"
#include "third_party/nearby/cpp/platform/api/platform.h"
#include "third_party/nearby/cpp/platform/api/submittable_executor.h"
#include "third_party/nearby/cpp/platform/base/runnable.h"
#include "absl/time/time.h"
#include "platform/api/cancelable.h"
#include "platform/api/executor.h"
#include "platform/api/platform.h"
#include "platform/api/submittable_executor.h"
#include "platform/base/runnable.h"
using location::nearby::Runnable;
using location::nearby::api::ImplementationPlatform;
@@ -14,12 +14,12 @@
#import <XCTest/XCTest.h>
#include "third_party/absl/time/time.h"
#include "third_party/nearby/cpp/platform/api/cancelable.h"
#include "third_party/nearby/cpp/platform/api/executor.h"
#include "third_party/nearby/cpp/platform/api/platform.h"
#include "third_party/nearby/cpp/platform/api/scheduled_executor.h"
#include "third_party/nearby/cpp/platform/base/runnable.h"
#include "absl/time/time.h"
#include "platform/api/cancelable.h"
#include "platform/api/executor.h"
#include "platform/api/platform.h"
#include "platform/api/scheduled_executor.h"
#include "platform/base/runnable.h"
using location::nearby::Runnable;
using location::nearby::api::ImplementationPlatform;
@@ -14,12 +14,12 @@
#import <XCTest/XCTest.h>
#include "third_party/absl/time/time.h"
#include "third_party/nearby/cpp/platform/api/cancelable.h"
#include "third_party/nearby/cpp/platform/api/executor.h"
#include "third_party/nearby/cpp/platform/api/platform.h"
#include "third_party/nearby/cpp/platform/api/submittable_executor.h"
#include "third_party/nearby/cpp/platform/base/runnable.h"
#include "absl/time/time.h"
#include "platform/api/cancelable.h"
#include "platform/api/executor.h"
#include "platform/api/platform.h"
#include "platform/api/submittable_executor.h"
#include "platform/base/runnable.h"
using location::nearby::Runnable;
using location::nearby::api::ImplementationPlatform;
@@ -14,8 +14,8 @@
#import <XCTest/XCTest.h>
#include "third_party/nearby/cpp/platform/base/byte_array.h"
#include "third_party/nearby/cpp/platform/impl/ios/Source/Platform/utils.h"
#include "platform/base/byte_array.h"
#include "platform/impl/ios/Source/Platform/utils.h"
using location::nearby::ByteArray;
using location::nearby::ByteArrayFromNSData;