chromium/third_party/perfetto/src/ipc/service_proxy.cc

/*
 * Copyright (C) 2017 The Android Open Source Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT 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 "perfetto/ext/ipc/service_proxy.h"

#include <utility>

#include "perfetto/base/logging.h"
#include "perfetto/ext/base/weak_ptr.h"
#include "perfetto/ext/ipc/service_descriptor.h"
#include "src/ipc/client_impl.h"

#include "protos/perfetto/ipc/wire_protocol.gen.h"

namespace perfetto {
namespace ipc {

ServiceProxy::ServiceProxy(EventListener* event_listener)
    :{}

ServiceProxy::~ServiceProxy() {}

void ServiceProxy::InitializeBinding(
    base::WeakPtr<Client> client,
    ServiceID service_id,
    std::map<std::string, MethodID> remote_method_ids) {}

void ServiceProxy::BeginInvoke(const std::string& method_name,
                               const ProtoMessage& request,
                               DeferredBase reply,
                               int fd) {}

void ServiceProxy::EndInvoke(RequestID request_id,
                             std::unique_ptr<ProtoMessage> result,
                             bool has_more) {}

void ServiceProxy::OnConnect(bool success) {}

void ServiceProxy::OnDisconnect() {}

base::WeakPtr<ServiceProxy> ServiceProxy::GetWeakPtr() const {}

}  // namespace ipc
}  // namespace perfetto