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

Side by Side Diff: remoting/host/chromoting_host_context.cc

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/chromoting_host_context.h ('k') | remoting/host/chromoting_messages.h » ('j') | 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 #include "remoting/host/chromoting_host_context.h" 5 #include "remoting/host/chromoting_host_context.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/threading/thread_restrictions.h" 8 #include "base/threading/thread_restrictions.h"
9 #include "build/build_config.h"
9 #include "remoting/base/auto_thread.h" 10 #include "remoting/base/auto_thread.h"
10 #include "remoting/base/url_request_context_getter.h" 11 #include "remoting/base/url_request_context_getter.h"
11 12
12 namespace remoting { 13 namespace remoting {
13 14
14 namespace { 15 namespace {
15 16
16 void DisallowBlockingOperations() { 17 void DisallowBlockingOperations() {
17 base::ThreadRestrictions::SetIOAllowed(false); 18 base::ThreadRestrictions::SetIOAllowed(false);
18 base::ThreadRestrictions::DisallowWaiting(); 19 base::ThreadRestrictions::DisallowWaiting();
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 file_auto_task_runner, 159 file_auto_task_runner,
159 ui_auto_task_runner, // input_task_runner 160 ui_auto_task_runner, // input_task_runner
160 io_auto_task_runner, // network_task_runner 161 io_auto_task_runner, // network_task_runner
161 ui_auto_task_runner, // video_capture_task_runner 162 ui_auto_task_runner, // video_capture_task_runner
162 AutoThread::Create("ChromotingEncodeThread", file_auto_task_runner), 163 AutoThread::Create("ChromotingEncodeThread", file_auto_task_runner),
163 url_request_context_getter)); 164 url_request_context_getter));
164 } 165 }
165 #endif // defined(OS_CHROMEOS) 166 #endif // defined(OS_CHROMEOS)
166 167
167 } // namespace remoting 168 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/chromoting_host_context.h ('k') | remoting/host/chromoting_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698