mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 15:36:12 -04:00
Patch recent cls from nearby_connections;
Sync github to replace nearby_connections with nearby. PiperOrigin-RevId: 411609608
This commit is contained in:
@@ -12,23 +12,23 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#import "third_party/nearby_connections/cpp/platform/impl/ios/Source/GNCAdvertiser.h"
|
||||
#import "third_party/nearby/cpp/platform/impl/ios/Source/GNCAdvertiser.h"
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "third_party/absl/functional/bind_front.h"
|
||||
#include "third_party/nearby_connections/cpp/core/core.h"
|
||||
#include "third_party/nearby_connections/cpp/core/listeners.h"
|
||||
#include "third_party/nearby_connections/cpp/core/options.h"
|
||||
#include "third_party/nearby_connections/cpp/core/params.h"
|
||||
#include "third_party/nearby_connections/cpp/core/status.h"
|
||||
#include "third_party/nearby_connections/cpp/platform/base/byte_array.h"
|
||||
#import "third_party/nearby_connections/cpp/platform/impl/ios/Source/GNCConnection.h"
|
||||
#import "third_party/nearby_connections/cpp/platform/impl/ios/Source/Internal/GNCCore.h"
|
||||
#import "third_party/nearby_connections/cpp/platform/impl/ios/Source/Internal/GNCCoreConnection.h"
|
||||
#import "third_party/nearby_connections/cpp/platform/impl/ios/Source/Internal/GNCPayloadListener.h"
|
||||
#import "third_party/nearby_connections/cpp/platform/impl/ios/Source/Internal/GNCUtils.h"
|
||||
#import "third_party/nearby_connections/cpp/platform/impl/ios/Source/Platform/utils.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"
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@@ -12,15 +12,15 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#import "third_party/nearby_connections/cpp/platform/impl/ios/Source/Internal/GNCCore.h"
|
||||
#import "third_party/nearby/cpp/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_connections/cpp/core/core.h"
|
||||
#include "third_party/nearby_connections/cpp/core/internal/service_controller_router.h"
|
||||
#include "third_party/nearby_connections/cpp/platform/base/payload_id.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"
|
||||
|
||||
using ::location::nearby::connections::Core;
|
||||
|
||||
@@ -14,8 +14,8 @@
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
#import "third_party/nearby_connections/cpp/platform/impl/ios/Source/GNCConnection.h"
|
||||
#import "third_party/nearby_connections/cpp/platform/impl/ios/Source/Internal/GNCCore.h"
|
||||
#import "third_party/nearby/cpp/platform/impl/ios/Source/GNCConnection.h"
|
||||
#import "third_party/nearby/cpp/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_connections/cpp/platform/impl/ios/Source/Internal/GNCCoreConnection.h"
|
||||
#import "third_party/nearby/cpp/platform/impl/ios/Source/Internal/GNCCoreConnection.h"
|
||||
|
||||
#include "third_party/nearby_connections/cpp/core/core.h"
|
||||
#include "third_party/nearby_connections/cpp/core/payload.h"
|
||||
#include "third_party/nearby_connections/cpp/platform/api/input_file.h"
|
||||
#import "third_party/nearby_connections/cpp/platform/base/exception.h"
|
||||
#include "third_party/nearby_connections/cpp/platform/base/input_stream.h"
|
||||
#import "third_party/nearby_connections/cpp/platform/base/payload_id.h"
|
||||
#import "third_party/nearby_connections/cpp/platform/impl/ios/Source/GNCConnection.h"
|
||||
#import "third_party/nearby_connections/cpp/platform/impl/ios/Source/GNCPayload.h"
|
||||
#import "third_party/nearby_connections/cpp/platform/impl/ios/Source/Internal/GNCCore.h"
|
||||
#import "third_party/nearby_connections/cpp/platform/impl/ios/Source/Platform/utils.h"
|
||||
#include "third_party/nearby_connections/cpp/platform/public/file.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"
|
||||
|
||||
using ::location::nearby::ByteArrayFromNSData;
|
||||
using ::location::nearby::CppStringFromObjCString;
|
||||
|
||||
@@ -12,23 +12,23 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#import "third_party/nearby_connections/cpp/platform/impl/ios/Source/GNCDiscoverer.h"
|
||||
#import "third_party/nearby/cpp/platform/impl/ios/Source/GNCDiscoverer.h"
|
||||
|
||||
#include <string>
|
||||
#include <utility>
|
||||
|
||||
#include "third_party/absl/functional/bind_front.h"
|
||||
#include "third_party/nearby_connections/cpp/core/core.h"
|
||||
#include "third_party/nearby_connections/cpp/core/listeners.h"
|
||||
#include "third_party/nearby_connections/cpp/core/options.h"
|
||||
#include "third_party/nearby_connections/cpp/core/status.h"
|
||||
#include "third_party/nearby_connections/cpp/platform/base/byte_array.h"
|
||||
#import "third_party/nearby_connections/cpp/platform/impl/ios/Source/GNCConnection.h"
|
||||
#import "third_party/nearby_connections/cpp/platform/impl/ios/Source/Internal/GNCCore.h"
|
||||
#import "third_party/nearby_connections/cpp/platform/impl/ios/Source/Internal/GNCCoreConnection.h"
|
||||
#import "third_party/nearby_connections/cpp/platform/impl/ios/Source/Internal/GNCPayloadListener.h"
|
||||
#import "third_party/nearby_connections/cpp/platform/impl/ios/Source/Internal/GNCUtils.h"
|
||||
#import "third_party/nearby_connections/cpp/platform/impl/ios/Source/Platform/utils.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"
|
||||
|
||||
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_connections/cpp/platform/impl/ios/Source/GNCPayload.h"
|
||||
#import "third_party/nearby/cpp/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_connections/cpp/platform/impl/ios/Source/GNCPayload.h"
|
||||
#import "third_party/nearby/cpp/platform/impl/ios/Source/GNCPayload.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
|
||||
@@ -14,8 +14,8 @@
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
#import "third_party/nearby_connections/cpp/platform/impl/ios/Source/GNCConnection.h"
|
||||
#import "third_party/nearby_connections/cpp/platform/impl/ios/Source/Internal/GNCCore.h"
|
||||
#import "third_party/nearby/cpp/platform/impl/ios/Source/GNCConnection.h"
|
||||
#import "third_party/nearby/cpp/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_connections/cpp/platform/impl/ios/Source/Internal/GNCPayloadListener.h"
|
||||
#import "third_party/nearby/cpp/platform/impl/ios/Source/Internal/GNCPayloadListener.h"
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "third_party/nearby_connections/cpp/core/core.h"
|
||||
#include "third_party/nearby_connections/cpp/core/listeners.h"
|
||||
#include "third_party/nearby_connections/cpp/core/payload.h"
|
||||
#include "third_party/nearby_connections/cpp/platform/base/byte_array.h"
|
||||
#include "third_party/nearby_connections/cpp/platform/base/exception.h"
|
||||
#include "third_party/nearby_connections/cpp/platform/base/input_stream.h"
|
||||
#import "third_party/nearby_connections/cpp/platform/impl/ios/Source/GNCConnection.h"
|
||||
#import "third_party/nearby_connections/cpp/platform/impl/ios/Source/GNCPayload.h"
|
||||
#import "third_party/nearby_connections/cpp/platform/impl/ios/Source/Internal/GNCCore.h"
|
||||
#import "third_party/nearby_connections/cpp/platform/impl/ios/Source/Internal/GNCCoreConnection.h"
|
||||
#import "third_party/nearby_connections/cpp/platform/impl/ios/Source/Internal/GNCPayload+Internal.h"
|
||||
#include "third_party/nearby_connections/cpp/platform/impl/ios/Source/Platform/utils.h"
|
||||
#include "third_party/nearby_connections/cpp/platform/public/file.h"
|
||||
#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"
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
|
||||
@@ -18,8 +18,8 @@
|
||||
|
||||
#include "core/listeners.h"
|
||||
#include "core/options.h"
|
||||
#import "third_party/nearby_connections/cpp/platform/impl/ios/Source/GNCAdvertiser.h"
|
||||
#import "third_party/nearby_connections/cpp/platform/impl/ios/Source/GNCConnection.h"
|
||||
#import "third_party/nearby/cpp/platform/impl/ios/Source/GNCAdvertiser.h"
|
||||
#import "third_party/nearby/cpp/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_connections/cpp/platform/impl/ios/Source/Internal/GNCUtils.h"
|
||||
#import "third_party/nearby/cpp/platform/impl/ios/Source/Internal/GNCUtils.h"
|
||||
|
||||
#include "third_party/nearby_connections/cpp/core/strategy.h"
|
||||
#import "third_party/nearby_connections/cpp/platform/impl/ios/Source/GNCAdvertiser.h"
|
||||
#import "third_party/nearby_connections/cpp/platform/impl/ios/Source/GNCConnection.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"
|
||||
|
||||
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_connections/cpp/platform/api/platform.h"
|
||||
#include "third_party/nearby/cpp/platform/api/platform.h"
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "third_party/nearby_connections/cpp/platform/api/mutex.h"
|
||||
#include "third_party/nearby_connections/cpp/platform/base/payload_id.h"
|
||||
#import "third_party/nearby_connections/cpp/platform/impl/ios/Source/Internal/GNCCore.h"
|
||||
#include "third_party/nearby_connections/cpp/platform/impl/ios/Source/Platform/atomic_boolean.h"
|
||||
#include "third_party/nearby_connections/cpp/platform/impl/ios/Source/Platform/atomic_uint32.h"
|
||||
#include "third_party/nearby_connections/cpp/platform/impl/ios/Source/Platform/condition_variable.h"
|
||||
#include "third_party/nearby_connections/cpp/platform/impl/ios/Source/Platform/count_down_latch.h"
|
||||
#include "third_party/nearby_connections/cpp/platform/impl/ios/Source/Platform/input_file.h"
|
||||
#import "third_party/nearby_connections/cpp/platform/impl/ios/Source/Platform/log_message.h"
|
||||
#import "third_party/nearby_connections/cpp/platform/impl/ios/Source/Platform/multi_thread_executor.h"
|
||||
#include "third_party/nearby_connections/cpp/platform/impl/ios/Source/Platform/mutex.h"
|
||||
#import "third_party/nearby_connections/cpp/platform/impl/ios/Source/Platform/scheduled_executor.h"
|
||||
#import "third_party/nearby_connections/cpp/platform/impl/ios/Source/Platform/single_thread_executor.h"
|
||||
#import "third_party/nearby_connections/cpp/platform/impl/ios/Source/Platform/utils.h"
|
||||
#include "third_party/nearby_connections/cpp/platform/impl/ios/Source/Platform/wifi_lan.h"
|
||||
#include "third_party/nearby_connections/cpp/platform/impl/shared/file.h"
|
||||
#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"
|
||||
|
||||
namespace location {
|
||||
namespace nearby {
|
||||
|
||||
Reference in New Issue
Block a user