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

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: nit 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 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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698