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

Side by Side Diff: src/base/platform/time.h

Issue 1371083003: [presubmit] Enable readability/namespace linter checking. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 the V8 project 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 #ifndef V8_BASE_PLATFORM_TIME_H_ 5 #ifndef V8_BASE_PLATFORM_TIME_H_
6 #define V8_BASE_PLATFORM_TIME_H_ 6 #define V8_BASE_PLATFORM_TIME_H_
7 7
8 #include <ctime> 8 #include <ctime>
9 #include <iosfwd> 9 #include <iosfwd>
10 #include <limits> 10 #include <limits>
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after
391 explicit TimeTicks(int64_t ticks) : ticks_(ticks) {} 391 explicit TimeTicks(int64_t ticks) : ticks_(ticks) {}
392 392
393 // Tick count in microseconds. 393 // Tick count in microseconds.
394 int64_t ticks_; 394 int64_t ticks_;
395 }; 395 };
396 396
397 inline TimeTicks operator+(const TimeDelta& delta, const TimeTicks& ticks) { 397 inline TimeTicks operator+(const TimeDelta& delta, const TimeTicks& ticks) {
398 return ticks + delta; 398 return ticks + delta;
399 } 399 }
400 400
401 } } // namespace v8::base 401 } // namespace base
402 } // namespace v8
402 403
403 #endif // V8_BASE_PLATFORM_TIME_H_ 404 #endif // V8_BASE_PLATFORM_TIME_H_
OLDNEW
« no previous file with comments | « src/base/platform/semaphore.cc ('k') | src/base/platform/time.cc » ('j') | src/objects.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698