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

Side by Side Diff: remoting/test/host_list_fetcher_unittest.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/host_list_fetcher.h ('k') | remoting/test/leaky_bucket.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/host_list_fetcher.h" 5 #include "remoting/test/host_list_fetcher.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/macros.h"
8 #include "base/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
9 #include "base/run_loop.h" 10 #include "base/run_loop.h"
10 #include "base/strings/stringprintf.h" 11 #include "base/strings/stringprintf.h"
11 #include "net/url_request/test_url_fetcher_factory.h" 12 #include "net/url_request/test_url_fetcher_factory.h"
12 #include "remoting/test/host_info.h" 13 #include "remoting/test/host_info.h"
13 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
14 15
15 namespace { 16 namespace {
16 17
17 // Used as a HostListCallback for testing. 18 // Used as a HostListCallback for testing.
(...skipping 417 matching lines...) Expand 10 before | Expand all | Expand 10 after
435 empty_host_list_callback); 436 empty_host_list_callback);
436 437
437 empty_items_run_loop.Run(); 438 empty_items_run_loop.Run();
438 439
439 // If we received an empty items response, then host list should be empty. 440 // If we received an empty items response, then host list should be empty.
440 EXPECT_TRUE(empty_items_hostlist.empty()); 441 EXPECT_TRUE(empty_items_hostlist.empty());
441 } 442 }
442 443
443 } // namespace test 444 } // namespace test
444 } // namespace remoting 445 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/test/host_list_fetcher.h ('k') | remoting/test/leaky_bucket.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698