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

Side by Side Diff: components/domain_reliability/util.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/util.h ('k') | components/drive/change_list_loader.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/util.h" 5 #include "components/domain_reliability/util.h"
6 6
7 #include <stddef.h>
8
7 #include "base/callback.h" 9 #include "base/callback.h"
8 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/macros.h"
9 #include "base/memory/weak_ptr.h" 12 #include "base/memory/weak_ptr.h"
10 #include "base/time/time.h" 13 #include "base/time/time.h"
11 #include "base/timer/timer.h" 14 #include "base/timer/timer.h"
12 #include "net/base/net_errors.h" 15 #include "net/base/net_errors.h"
13 16
14 namespace domain_reliability { 17 namespace domain_reliability {
15 18
16 namespace { 19 namespace {
17 20
18 const struct NetErrorMapping { 21 const struct NetErrorMapping {
(...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after
434 ActualTime::~ActualTime() {} 437 ActualTime::~ActualTime() {}
435 438
436 base::Time ActualTime::Now() { return base::Time::Now(); } 439 base::Time ActualTime::Now() { return base::Time::Now(); }
437 base::TimeTicks ActualTime::NowTicks() { return base::TimeTicks::Now(); } 440 base::TimeTicks ActualTime::NowTicks() { return base::TimeTicks::Now(); }
438 441
439 scoped_ptr<MockableTime::Timer> ActualTime::CreateTimer() { 442 scoped_ptr<MockableTime::Timer> ActualTime::CreateTimer() {
440 return scoped_ptr<MockableTime::Timer>(new ActualTimer()); 443 return scoped_ptr<MockableTime::Timer>(new ActualTimer());
441 } 444 }
442 445
443 } // namespace domain_reliability 446 } // namespace domain_reliability
OLDNEW
« no previous file with comments | « components/domain_reliability/util.h ('k') | components/drive/change_list_loader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698