// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef EXTENSIONS_BROWSER_API_MESSAGING_NATIVE_MESSAGE_HOST_H_ #define EXTENSIONS_BROWSER_API_MESSAGING_NATIVE_MESSAGE_HOST_H_ #include <memory> #include <string> #include "base/task/single_thread_task_runner.h" #include "ui/gfx/native_widget_types.h" namespace content { class BrowserContext; } // namespace content namespace extensions { // An interface for receiving messages from MessageService (Chrome) using the // Native Messaging API. A NativeMessageHost object hosts a native component, // which can run in the browser-process or in a separate process (See // NativeMessageProcessHost). class NativeMessageHost { … }; } // namespace extensions #endif // EXTENSIONS_BROWSER_API_MESSAGING_NATIVE_MESSAGE_HOST_H_