| // Copyright 2018 The Chromium Authors |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| #ifndef REMOTING_HOST_IT2ME_IT2ME_NATIVE_MESSAGING_HOST_CHROMEOS_H_ |
| #define REMOTING_HOST_IT2ME_IT2ME_NATIVE_MESSAGING_HOST_CHROMEOS_H_ |
| |
| #include <memory> |
| |
| #include "extensions/browser/api/messaging/native_message_host.h" |
| |
| namespace content { |
| class BrowserContext; |
| } // namespace content |
| |
| namespace remoting { |
| |
| // Creates a native messaging host on ChromeOS. Must be called on the UI thread |
| // of the browser process. |
| std::unique_ptr<extensions::NativeMessageHost> |
| CreateIt2MeNativeMessagingHostForChromeOS( |
| content::BrowserContext* browser_context); |
| |
| } // namespace remoting |
| |
| #endif // REMOTING_HOST_IT2ME_IT2ME_NATIVE_MESSAGING_HOST_CHROMEOS_H_ |