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

Side by Side Diff: components/domain_reliability/monitor_unittest.cc

Issue 1546143002: Switch to standard integer types in components/, part 1 of 4. (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 | « components/domain_reliability/monitor.h ('k') | components/domain_reliability/scheduler.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 "components/domain_reliability/monitor.h" 5 #include "components/domain_reliability/monitor.h"
6 6
7 #include <stddef.h>
8
7 #include <map> 9 #include <map>
8 #include <string> 10 #include <string>
9 #include <vector> 11 #include <vector>
10 12
11 #include "base/bind.h" 13 #include "base/bind.h"
12 #include "base/memory/scoped_ptr.h" 14 #include "base/memory/scoped_ptr.h"
13 #include "base/test/test_simple_task_runner.h" 15 #include "base/test/test_simple_task_runner.h"
14 #include "components/domain_reliability/baked_in_configs.h" 16 #include "components/domain_reliability/baked_in_configs.h"
15 #include "components/domain_reliability/beacon.h" 17 #include "components/domain_reliability/beacon.h"
16 #include "components/domain_reliability/config.h" 18 #include "components/domain_reliability/config.h"
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 request.status = net::URLRequestStatus::FromError(net::ERR_CONNECTION_RESET); 379 request.status = net::URLRequestStatus::FromError(net::ERR_CONNECTION_RESET);
378 OnRequestLegComplete(request); 380 OnRequestLegComplete(request);
379 381
380 EXPECT_EQ(1u, CountQueuedBeacons(context1)); 382 EXPECT_EQ(1u, CountQueuedBeacons(context1));
381 EXPECT_EQ(0u, CountQueuedBeacons(context2)); 383 EXPECT_EQ(0u, CountQueuedBeacons(context2));
382 } 384 }
383 385
384 } // namespace 386 } // namespace
385 387
386 } // namespace domain_reliability 388 } // namespace domain_reliability
OLDNEW
« no previous file with comments | « components/domain_reliability/monitor.h ('k') | components/domain_reliability/scheduler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698