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

Side by Side Diff: remoting/host/gnubby_auth_handler_posix_unittest.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 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/host/gnubby_auth_handler_posix.cc ('k') | remoting/host/gnubby_auth_handler_win.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 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 <stddef.h>
6
5 #include "base/files/file_path.h" 7 #include "base/files/file_path.h"
6 #include "base/files/scoped_temp_dir.h" 8 #include "base/files/scoped_temp_dir.h"
7 #include "base/json/json_writer.h" 9 #include "base/json/json_writer.h"
8 #include "base/macros.h" 10 #include "base/macros.h"
9 #include "base/message_loop/message_loop.h" 11 #include "base/message_loop/message_loop.h"
10 #include "base/run_loop.h" 12 #include "base/run_loop.h"
11 #include "base/strings/stringprintf.h" 13 #include "base/strings/stringprintf.h"
12 #include "base/timer/mock_timer.h" 14 #include "base/timer/mock_timer.h"
13 #include "base/values.h" 15 #include "base/values.h"
14 #include "net/base/io_buffer.h" 16 #include "net/base/io_buffer.h"
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 net::TestCompletionCallback connect_callback; 225 net::TestCompletionCallback connect_callback;
224 int rv = client_socket.Connect(connect_callback.callback()); 226 int rv = client_socket.Connect(connect_callback.callback());
225 ASSERT_EQ(net::OK, connect_callback.GetResult(rv)); 227 ASSERT_EQ(net::OK, connect_callback.GetResult(rv));
226 228
227 std::string error_json = "{\"type\":\"error\",\"connectionId\":1}"; 229 std::string error_json = "{\"type\":\"error\",\"connectionId\":1}";
228 auth_handler_->DeliverClientMessage(error_json); 230 auth_handler_->DeliverClientMessage(error_json);
229 ASSERT_EQ(0u, auth_handler_posix_->GetActiveSocketsMapSizeForTest()); 231 ASSERT_EQ(0u, auth_handler_posix_->GetActiveSocketsMapSizeForTest());
230 } 232 }
231 233
232 } // namespace remoting 234 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/gnubby_auth_handler_posix.cc ('k') | remoting/host/gnubby_auth_handler_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698