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

Side by Side Diff: remoting/host/win/worker_process_launcher.h

Issue 628753002: replace OVERRIDE and FINAL with override and final in remoting/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master Created 6 years, 2 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
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_WIN_WORKER_PROCESS_LAUNCHER_H_ 5 #ifndef REMOTING_HOST_WIN_WORKER_PROCESS_LAUNCHER_H_
6 #define REMOTING_HOST_WIN_WORKER_PROCESS_LAUNCHER_H_ 6 #define REMOTING_HOST_WIN_WORKER_PROCESS_LAUNCHER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 // has to validate |peer_pid| if necessary. 95 // has to validate |peer_pid| if necessary.
96 bool OnMessageReceived(const IPC::Message& message); 96 bool OnMessageReceived(const IPC::Message& message);
97 void OnChannelConnected(int32 peer_pid); 97 void OnChannelConnected(int32 peer_pid);
98 void OnChannelError(); 98 void OnChannelError();
99 99
100 private: 100 private:
101 friend class WorkerProcessLauncherTest; 101 friend class WorkerProcessLauncherTest;
102 102
103 // base::win::ObjectWatcher::Delegate implementation used to watch for 103 // base::win::ObjectWatcher::Delegate implementation used to watch for
104 // the worker process exiting. 104 // the worker process exiting.
105 virtual void OnObjectSignaled(HANDLE object) OVERRIDE; 105 virtual void OnObjectSignaled(HANDLE object) override;
106 106
107 // Returns true when the object is being destroyed. 107 // Returns true when the object is being destroyed.
108 bool stopping() const { return ipc_handler_ == NULL; } 108 bool stopping() const { return ipc_handler_ == NULL; }
109 109
110 // Attempts to launch the worker process. Schedules next launch attempt if 110 // Attempts to launch the worker process. Schedules next launch attempt if
111 // creation of the process fails. 111 // creation of the process fails.
112 void LaunchWorker(); 112 void LaunchWorker();
113 113
114 // Called to record outcome of a launch attempt: success or failure. 114 // Called to record outcome of a launch attempt: success or failure.
115 void RecordLaunchResult(); 115 void RecordLaunchResult();
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 160
161 // The handle of the worker process, if launched. 161 // The handle of the worker process, if launched.
162 base::win::ScopedHandle worker_process_; 162 base::win::ScopedHandle worker_process_;
163 163
164 DISALLOW_COPY_AND_ASSIGN(WorkerProcessLauncher); 164 DISALLOW_COPY_AND_ASSIGN(WorkerProcessLauncher);
165 }; 165 };
166 166
167 } // namespace remoting 167 } // namespace remoting
168 168
169 #endif // REMOTING_HOST_WIN_WORKER_PROCESS_LAUNCHER_H_ 169 #endif // REMOTING_HOST_WIN_WORKER_PROCESS_LAUNCHER_H_
OLDNEW
« no previous file with comments | « remoting/host/win/unprivileged_process_delegate.h ('k') | remoting/host/win/worker_process_launcher_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698