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

Side by Side Diff: remoting/host/worker_process_ipc_delegate.h

Issue 1547473005: Switch to standard integer types in remoting/host/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
« no previous file with comments | « remoting/host/win/wts_terminal_observer.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef REMOTING_HOST_WORKER_PROCESS_IPC_DELEGATE_H_ 5 #ifndef REMOTING_HOST_WORKER_PROCESS_IPC_DELEGATE_H_
6 #define REMOTING_HOST_WORKER_PROCESS_IPC_DELEGATE_H_ 6 #define REMOTING_HOST_WORKER_PROCESS_IPC_DELEGATE_H_
7 7
8 #include "base/basictypes.h" 8 #include <stdint.h>
9
9 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
10 11
11 namespace IPC { 12 namespace IPC {
12 class Message; 13 class Message;
13 } // namespace IPC 14 } // namespace IPC
14 15
15 namespace remoting { 16 namespace remoting {
16 17
17 // An interface representing the object receiving IPC messages from a worker 18 // An interface representing the object receiving IPC messages from a worker
18 // process. 19 // process.
19 class WorkerProcessIpcDelegate { 20 class WorkerProcessIpcDelegate {
20 public: 21 public:
21 virtual ~WorkerProcessIpcDelegate() {} 22 virtual ~WorkerProcessIpcDelegate() {}
22 23
23 // Notifies that a client has been connected to the channel. 24 // Notifies that a client has been connected to the channel.
24 virtual void OnChannelConnected(int32 peer_pid) = 0; 25 virtual void OnChannelConnected(int32_t peer_pid) = 0;
25 26
26 // Processes messages sent by the client. 27 // Processes messages sent by the client.
27 virtual bool OnMessageReceived(const IPC::Message& message) = 0; 28 virtual bool OnMessageReceived(const IPC::Message& message) = 0;
28 29
29 // Notifies that a permanent error was encountered. 30 // Notifies that a permanent error was encountered.
30 virtual void OnPermanentError(int exit_code) = 0; 31 virtual void OnPermanentError(int exit_code) = 0;
31 }; 32 };
32 33
33 } // namespace remoting 34 } // namespace remoting
34 35
35 #endif // REMOTING_HOST_WORKER_PROCESS_IPC_DELEGATE_H_ 36 #endif // REMOTING_HOST_WORKER_PROCESS_IPC_DELEGATE_H_
OLDNEW
« no previous file with comments | « remoting/host/win/wts_terminal_observer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698