| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "chrome/browser/extensions/api/messaging/native_message_process_host.h" | |
| 6 | |
| 7 #include <windows.h> | |
| 8 | |
| 9 #include "base/logging.h" | |
| 10 #include "base/message_pump_win.h" | |
| 11 #include "base/platform_file.h" | |
| 12 #include "base/process_util.h" | |
| 13 #include "content/public/browser/browser_thread.h" | |
| 14 | |
| 15 namespace extensions { | |
| 16 | |
| 17 void NativeMessageProcessHost::OnIOCompleted( | |
| 18 MessageLoopForIO::IOContext* context, | |
| 19 DWORD bytes_transfered, | |
| 20 DWORD error) { | |
| 21 NOTREACHED(); | |
| 22 } | |
| 23 | |
| 24 void NativeMessageProcessHost::InitIO() { | |
| 25 NOTREACHED(); | |
| 26 } | |
| 27 | |
| 28 bool NativeMessageProcessHost::WriteData(FileHandle file, | |
| 29 const char* data, | |
| 30 size_t bytes_to_write) { | |
| 31 NOTREACHED(); | |
| 32 return false; | |
| 33 } | |
| 34 | |
| 35 bool NativeMessageProcessHost::ReadData(FileHandle file, | |
| 36 char* data, | |
| 37 size_t bytes_to_read) { | |
| 38 NOTREACHED(); | |
| 39 return false; | |
| 40 } | |
| 41 | |
| 42 } // namespace extensions | |
| OLD | NEW |