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

Side by Side Diff: components/domain_reliability/context_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
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/context.h" 5 #include "components/domain_reliability/context.h"
6 6
7 #include <stddef.h>
8
7 #include <map> 9 #include <map>
8 #include <string> 10 #include <string>
9 11
10 #include "base/bind.h" 12 #include "base/bind.h"
11 #include "base/json/json_reader.h" 13 #include "base/json/json_reader.h"
12 #include "base/memory/scoped_ptr.h" 14 #include "base/memory/scoped_ptr.h"
13 #include "components/domain_reliability/beacon.h" 15 #include "components/domain_reliability/beacon.h"
14 #include "components/domain_reliability/dispatcher.h" 16 #include "components/domain_reliability/dispatcher.h"
15 #include "components/domain_reliability/scheduler.h" 17 #include "components/domain_reliability/scheduler.h"
16 #include "components/domain_reliability/test_util.h" 18 #include "components/domain_reliability/test_util.h"
(...skipping 513 matching lines...) Expand 10 before | Expand all | Expand 10 after
530 beacon->chrome_error = net::OK; 532 beacon->chrome_error = net::OK;
531 context_->OnBeacon(beacon.Pass()); 533 context_->OnBeacon(beacon.Pass());
532 context_->GetQueuedBeaconsForTesting(&beacons); 534 context_->GetQueuedBeaconsForTesting(&beacons);
533 EXPECT_EQ(0u, beacons.size()); 535 EXPECT_EQ(0u, beacons.size());
534 } 536 }
535 537
536 // TODO(ttuttle): Add beacon_unittest.cc to test serialization. 538 // TODO(ttuttle): Add beacon_unittest.cc to test serialization.
537 539
538 } // namespace 540 } // namespace
539 } // namespace domain_reliability 541 } // namespace domain_reliability
OLDNEW
« no previous file with comments | « components/domain_reliability/context_manager.h ('k') | components/domain_reliability/google_configs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698