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

Side by Side Diff: remoting/protocol/pairing_registry.cc

Issue 1542203002: Switch to standard integer types in remoting/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@int-remoting-host
Patch Set: Created 5 years 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/protocol/pairing_registry.h ('k') | remoting/protocol/pairing_registry_unittest.cc » ('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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/protocol/pairing_registry.h" 5 #include "remoting/protocol/pairing_registry.h"
6 6
7 #include <stddef.h>
8
7 #include "base/base64.h" 9 #include "base/base64.h"
8 #include "base/bind.h" 10 #include "base/bind.h"
9 #include "base/guid.h" 11 #include "base/guid.h"
10 #include "base/json/json_string_value_serializer.h" 12 #include "base/json/json_string_value_serializer.h"
11 #include "base/location.h" 13 #include "base/location.h"
14 #include "base/macros.h"
12 #include "base/single_thread_task_runner.h" 15 #include "base/single_thread_task_runner.h"
13 #include "base/strings/string_number_conversions.h" 16 #include "base/strings/string_number_conversions.h"
14 #include "base/thread_task_runner_handle.h" 17 #include "base/thread_task_runner_handle.h"
15 #include "base/values.h" 18 #include "base/values.h"
16 #include "crypto/random.h" 19 #include "crypto/random.h"
17 20
18 namespace remoting { 21 namespace remoting {
19 namespace protocol { 22 namespace protocol {
20 23
21 // How many bytes of random data to use for the shared secret. 24 // How many bytes of random data to use for the shared secret.
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 296
294 void PairingRegistry::ServiceNextRequest() { 297 void PairingRegistry::ServiceNextRequest() {
295 if (pending_requests_.empty()) 298 if (pending_requests_.empty())
296 return; 299 return;
297 300
298 PostTask(delegate_task_runner_, FROM_HERE, pending_requests_.front()); 301 PostTask(delegate_task_runner_, FROM_HERE, pending_requests_.front());
299 } 302 }
300 303
301 } // namespace protocol 304 } // namespace protocol
302 } // namespace remoting 305 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/protocol/pairing_registry.h ('k') | remoting/protocol/pairing_registry_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698