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

Unified Diff: extensions/browser/api/messaging/native_message_host.cc

Issue 591463003: Remote Assistance on Chrome OS Part III - NativeMessageHost (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@native_messaging
Patch Set: Fix NativeMessagingBasic test on Release builds Created 6 years, 2 months 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
« no previous file with comments | « extensions/browser/api/messaging/native_message_host.h ('k') | extensions/common/switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/api/messaging/native_message_host.cc
diff --git a/extensions/browser/api/messaging/native_message_host.cc b/extensions/browser/api/messaging/native_message_host.cc
new file mode 100644
index 0000000000000000000000000000000000000000..f3bb082f12c483bd25849e4ef11aaab6747d5162
--- /dev/null
+++ b/extensions/browser/api/messaging/native_message_host.cc
@@ -0,0 +1,21 @@
+// Copyright 2014 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.
+
+#include "extensions/browser/api/messaging/native_message_host.h"
+
+namespace extensions {
+
+const char NativeMessageHost::kFailedToStartError[] =
+ "Failed to start native messaging host.";
+const char NativeMessageHost::kInvalidNameError[] =
+ "Invalid native messaging host name specified.";
+const char NativeMessageHost::kNativeHostExited[] = "Native host has exited.";
+const char NativeMessageHost::kNotFoundError[] =
+ "Specified native messaging host not found.";
+const char NativeMessageHost::kForbiddenError[] =
+ "Access to the specified native messaging host is forbidden.";
+const char NativeMessageHost::kHostInputOuputError[] =
+ "Error when communicating with the native messaging host.";
+
+} // extensions
« no previous file with comments | « extensions/browser/api/messaging/native_message_host.h ('k') | extensions/common/switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698