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

Side by Side Diff: chrome/browser/extensions/api/messaging/native_message_process_host_win.cc

Issue 10818013: Native Messaging! (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Added Example Created 8 years, 3 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 unified diff | Download patch
OLDNEW
(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 OnIOCompleted(IOContext* context, DWORD bytes_transfered, DWORD error) {
18 NOTREACHED();
19 }
20
21 void NativeMessageProcessHost::InitIO() {
22 NOTREACHED();
23 }
24
25 bool NativeMessageProcessHost::WriteData(FileHandle file,
26 const char* data,
27 size_t bytes_to_write) {
28 NOTREACHED();
29 return false;
30 }
31
32 bool NativeMessageProcessHost::ReadData(FileHandle file,
33 char* data,
34 size_t bytes_to_read) {
35 NOTREACHED();
36 return false;
37 }
38
39 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698