mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 15:36:12 -04:00
added gloop as submodule. added. did some more stubbing for google internal code
This commit is contained in:
@@ -141,7 +141,21 @@ class QuerySharedCredentialsResponse {
|
||||
};
|
||||
|
||||
class QuerySharedCredentialsWithBindingIdsRequest
|
||||
: public QuerySharedCredentialsRequest {};
|
||||
: public QuerySharedCredentialsRequest {
|
||||
public:
|
||||
bool has_join_binding_time() const { return has_join_binding_time_; }
|
||||
google::protobuf::Timestamp* mutable_join_binding_time() {
|
||||
has_join_binding_time_ = true;
|
||||
return &join_binding_time_;
|
||||
}
|
||||
const google::protobuf::Timestamp& join_binding_time() const {
|
||||
return join_binding_time_;
|
||||
}
|
||||
|
||||
private:
|
||||
bool has_join_binding_time_ = false;
|
||||
google::protobuf::Timestamp join_binding_time_;
|
||||
};
|
||||
|
||||
class QuerySharedCredentialsWithBindingIdsResponse
|
||||
: public QuerySharedCredentialsResponse {};
|
||||
@@ -205,4 +219,3 @@ class GetAccountInfoResponse {
|
||||
} // namespace google::nearby::identity::v1
|
||||
|
||||
#endif // LOCATION_NEARBY_SHARING_LIB_RPC_IDENTITY_RPC_TYPES_H_
|
||||
|
||||
|
||||
@@ -8,6 +8,13 @@ cc_library(
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
||||
cc_library(
|
||||
name = "sync_config_prefs_cc_proto",
|
||||
hdrs = ["sync_config_prefs.pb.h"],
|
||||
visibility = ["//visibility:public"],
|
||||
deps = [":sync_binding_prefs_cc_proto"],
|
||||
)
|
||||
|
||||
cc_library(
|
||||
name = "sync_manager",
|
||||
hdrs = ["sync_manager.h"],
|
||||
@@ -24,4 +31,3 @@ cc_library(
|
||||
"@com_google_absl//absl/strings:string_view",
|
||||
],
|
||||
)
|
||||
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
// Copyright 2026 Google LLC
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// https://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT 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 LOCATION_NEARBY_SHARING_LIB_SYNC_SYNC_CONFIG_PREFS_PB_H_
|
||||
#define LOCATION_NEARBY_SHARING_LIB_SYNC_SYNC_CONFIG_PREFS_PB_H_
|
||||
|
||||
// The GitHub build's hand-written proto stubs currently share an
|
||||
// implementation file. Keep the public include paths aligned with the
|
||||
// separately generated upstream proto headers.
|
||||
#include "location/nearby/sharing/lib/sync/sync_binding_prefs.pb.h"
|
||||
|
||||
#endif // LOCATION_NEARBY_SHARING_LIB_SYNC_SYNC_CONFIG_PREFS_PB_H_
|
||||
Reference in New Issue
Block a user