| Index: chrome/browser/extensions/api/messaging/native_message_process_host.h
|
| diff --git a/chrome/browser/extensions/api/messaging/native_message_process_host.h b/chrome/browser/extensions/api/messaging/native_message_process_host.h
|
| index 987055fc24e3402f35bc50c50662cdec76edc986..ef339b2a8b615e683fc016519f4c33f9f80626ef 100644
|
| --- a/chrome/browser/extensions/api/messaging/native_message_process_host.h
|
| +++ b/chrome/browser/extensions/api/messaging/native_message_process_host.h
|
| @@ -15,13 +15,15 @@
|
| #include "chrome/browser/extensions/api/messaging/native_process_launcher.h"
|
| #include "content/public/browser/browser_thread.h"
|
|
|
| -namespace net {
|
| +namespace base {
|
| +class ListValue;
|
| +}
|
|
|
| +namespace net {
|
| class DrainableIOBuffer;
|
| class FileStream;
|
| class IOBuffer;
|
| class IOBufferWithSize;
|
| -
|
| } // namespace net
|
|
|
| namespace extensions {
|
| @@ -43,8 +45,9 @@ class NativeMessageProcessHost
|
| public:
|
| virtual ~Client() {}
|
| // Called on the UI thread.
|
| - virtual void PostMessageFromNativeProcess(int port_id,
|
| - const std::string& message) = 0;
|
| + virtual void PostMessageFromNativeProcess(
|
| + int port_id,
|
| + scoped_ptr<base::ListValue> message) = 0;
|
| virtual void CloseChannel(int port_id,
|
| const std::string& error_message) = 0;
|
| };
|
|
|