Index: chrome/browser/extensions/api/messaging/message_service.cc |
diff --git a/chrome/browser/extensions/api/messaging/message_service.cc b/chrome/browser/extensions/api/messaging/message_service.cc |
index aaa61eab23dd35e48e254ae84bdf1e06b9f46e68..61c613a1924fcf6fa29b43a751a5f46bbf4cdfb6 100644 |
--- a/chrome/browser/extensions/api/messaging/message_service.cc |
+++ b/chrome/browser/extensions/api/messaging/message_service.cc |
@@ -60,8 +60,10 @@ namespace extensions { |
const char kReceivingEndDoesntExistError[] = |
"Could not establish connection. Receiving end does not exist."; |
+#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX) |
const char kMissingPermissionError[] = |
"Access to native messaging requires nativeMessaging permission."; |
+#endif |
struct MessageService::MessageChannel { |
scoped_ptr<MessagePort> opener; |