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

Side by Side Diff: remoting/test/fake_port_allocator.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/test/fake_port_allocator.h ('k') | remoting/test/fake_refresh_token_store.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/test/fake_port_allocator.h" 5 #include "remoting/test/fake_port_allocator.h"
6 6
7 #include "base/macros.h"
7 #include "remoting/test/fake_network_dispatcher.h" 8 #include "remoting/test/fake_network_dispatcher.h"
8 #include "remoting/test/fake_network_manager.h" 9 #include "remoting/test/fake_network_manager.h"
9 #include "remoting/test/fake_socket_factory.h" 10 #include "remoting/test/fake_socket_factory.h"
10 #include "third_party/webrtc/p2p/client/basicportallocator.h" 11 #include "third_party/webrtc/p2p/client/basicportallocator.h"
11 12
12 namespace remoting { 13 namespace remoting {
13 14
14 namespace { 15 namespace {
15 16
16 class FakePortAllocatorSession 17 class FakePortAllocatorSession
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 108
108 FakePortAllocatorFactory::~FakePortAllocatorFactory() {} 109 FakePortAllocatorFactory::~FakePortAllocatorFactory() {}
109 110
110 scoped_ptr<cricket::HttpPortAllocatorBase> 111 scoped_ptr<cricket::HttpPortAllocatorBase>
111 FakePortAllocatorFactory::CreatePortAllocator() { 112 FakePortAllocatorFactory::CreatePortAllocator() {
112 return make_scoped_ptr( 113 return make_scoped_ptr(
113 new FakePortAllocator(network_manager_.get(), socket_factory_.get())); 114 new FakePortAllocator(network_manager_.get(), socket_factory_.get()));
114 } 115 }
115 116
116 } // namespace remoting 117 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/test/fake_port_allocator.h ('k') | remoting/test/fake_refresh_token_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698