Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(430)

Unified Diff: remoting/host/setup/native_messaging_writer.h

Issue 49113003: It2Me native messaging: GYP and source refactoring (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Max/Linux build break: remoting_native_messaging_host Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: remoting/host/setup/native_messaging_writer.h
diff --git a/remoting/host/setup/native_messaging_writer.h b/remoting/host/setup/native_messaging_writer.h
deleted file mode 100644
index 72e5345b17b7611834c44ded3edbee389df47029..0000000000000000000000000000000000000000
--- a/remoting/host/setup/native_messaging_writer.h
+++ /dev/null
@@ -1,37 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef REMOTING_HOST_SETUP_NATIVE_MESSAGING_WRITER_H_
-#define REMOTING_HOST_SETUP_NATIVE_MESSAGING_WRITER_H_
-
-#include "base/platform_file.h"
-#include "net/base/file_stream.h"
-
-namespace base {
-class Value;
-} // namespace base
-
-namespace remoting {
-
-// This class is used for sending messages to the Native Messaging client
-// webapp.
-class NativeMessagingWriter {
- public:
- explicit NativeMessagingWriter(base::PlatformFile handle);
- ~NativeMessagingWriter();
-
- // Sends a message to the Native Messaging client, returning true if
- // successful.
- bool WriteMessage(const base::Value& message);
-
- private:
- net::FileStream write_stream_;
- bool fail_;
-
- DISALLOW_COPY_AND_ASSIGN(NativeMessagingWriter);
-};
-
-} // namespace remoting
-
-#endif // REMOTING_HOST_SETUP_NATIVE_MESSAGING_WRITER_H_
« no previous file with comments | « remoting/host/setup/native_messaging_reader_unittest.cc ('k') | remoting/host/setup/native_messaging_writer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698