/* * 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. */ #ifndef SRC_TRACING_IPC_SERVICE_CONSUMER_IPC_SERVICE_H_ #define SRC_TRACING_IPC_SERVICE_CONSUMER_IPC_SERVICE_H_ #include <list> #include <map> #include <memory> #include <string> #include "perfetto/ext/base/weak_ptr.h" #include "perfetto/ext/ipc/basic_types.h" #include "perfetto/ext/tracing/core/consumer.h" #include "perfetto/ext/tracing/core/tracing_service.h" #include "perfetto/tracing/core/forward_decls.h" #include "protos/perfetto/ipc/consumer_port.ipc.h" namespace perfetto { namespace ipc { class Host; } // namespace ipc // Implements the Consumer port of the IPC service. This class proxies requests // and responses between the core service logic (|svc_|) and remote Consumer(s) // on the IPC socket, through the methods overriddden from ConsumerPort. class ConsumerIPCService : public protos::gen::ConsumerPort { … }; } // namespace perfetto #endif // SRC_TRACING_IPC_SERVICE_CONSUMER_IPC_SERVICE_H_