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

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

Issue 2037163002: Removing WinXP and Vista specific code from Chromoting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@sas_be_gone
Patch Set: Addressing feedback Created 4 years, 6 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 #include "remoting/host/win/worker_process_launcher.h" 5 #include "remoting/host/win/worker_process_launcher.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/location.h" 9 #include "base/location.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/single_thread_task_runner.h" 11 #include "base/single_thread_task_runner.h"
12 #include "base/time/time.h" 12 #include "base/time/time.h"
13 #include "base/win/windows_version.h"
14 #include "ipc/ipc_message.h" 13 #include "ipc/ipc_message.h"
15 #include "remoting/host/chromoting_messages.h" 14 #include "remoting/host/chromoting_messages.h"
16 #include "remoting/host/host_exit_codes.h" 15 #include "remoting/host/host_exit_codes.h"
17 #include "remoting/host/worker_process_ipc_delegate.h" 16 #include "remoting/host/worker_process_ipc_delegate.h"
18 17
19 using base::TimeDelta; 18 using base::TimeDelta;
20 using base::win::ScopedHandle; 19 using base::win::ScopedHandle;
21 20
22 const net::BackoffEntry::Policy kDefaultBackoffPolicy = { 21 const net::BackoffEntry::Policy kDefaultBackoffPolicy = {
23 // Number of initial errors (in sequence) to ignore before applying 22 // Number of initial errors (in sequence) to ignore before applying
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 ipc_handler_->OnPermanentError(exit_code_); 259 ipc_handler_->OnPermanentError(exit_code_);
261 return; 260 return;
262 } 261 }
263 262
264 // Schedule the next attempt to launch the worker process. 263 // Schedule the next attempt to launch the worker process.
265 launch_timer_.Start(FROM_HERE, launch_backoff_.GetTimeUntilRelease(), this, 264 launch_timer_.Start(FROM_HERE, launch_backoff_.GetTimeUntilRelease(), this,
266 &WorkerProcessLauncher::LaunchWorker); 265 &WorkerProcessLauncher::LaunchWorker);
267 } 266 }
268 267
269 } // namespace remoting 268 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/win/unprivileged_process_delegate.cc ('k') | remoting/host/win/wts_session_process_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698