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

Unified Diff: content/common/inter_process_time_ticks_converter.cc

Issue 12094085: LoadTiming in net part 7: Hooking it all up (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: sync Created 7 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/common/inter_process_time_ticks_converter.h ('k') | content/common/resource_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/inter_process_time_ticks_converter.cc
===================================================================
--- content/common/inter_process_time_ticks_converter.cc (revision 190428)
+++ content/common/inter_process_time_ticks_converter.cc (working copy)
@@ -48,7 +48,7 @@
}
LocalTimeTicks InterProcessTimeTicksConverter::ToLocalTimeTicks(
- const RemoteTimeTicks& remote_ms) {
+ const RemoteTimeTicks& remote_ms) const {
// If input time is "null", return another "null" time.
if (remote_ms.value_ == 0)
return LocalTimeTicks(0);
@@ -60,12 +60,12 @@
}
LocalTimeDelta InterProcessTimeTicksConverter::ToLocalTimeDelta(
- const RemoteTimeDelta& remote_delta) {
+ const RemoteTimeDelta& remote_delta) const {
DCHECK_GE(remote_upper_bound_, remote_lower_bound_ + remote_delta.value_);
return LocalTimeDelta(Convert(remote_delta.value_));
}
-int64 InterProcessTimeTicksConverter::Convert(int64 value) {
+int64 InterProcessTimeTicksConverter::Convert(int64 value) const {
if (value <= 0) {
return value;
}
« no previous file with comments | « content/common/inter_process_time_ticks_converter.h ('k') | content/common/resource_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698