diff --git a/PRESUBMIT.py b/PRESUBMIT.py index 2e975f56b035d6..68b4c12acf7b9c 100644 --- a/PRESUBMIT.py +++ b/PRESUBMIT.py @@ -634,8 +634,9 @@ class BanRule: 'deprecated (http://crbug.com/634507). Please avoid converting away', 'from the Time types in Chromium code, especially if any math is', 'being done on time values. For interfacing with platform/library', - 'APIs, use FromMicroseconds() or InMicroseconds(), or one of the other', - 'type converter methods instead. For faking TimeXXX values (for unit', + 'APIs, use base::Time::(From,To)DeltaSinceWindowsEpoch() or', + 'base::{TimeDelta::In}Microseconds(), or one of the other type', + 'converter methods instead. For faking TimeXXX values (for unit', 'testing only), use TimeXXX() + Microseconds(N). For', 'other use cases, please contact base/time/OWNERS.', ), diff --git a/base/time/time.h b/base/time/time.h index 42d812b3ab5237..b69e4591c52fc0 100644 --- a/base/time/time.h +++ b/base/time/time.h @@ -752,7 +752,7 @@ class BASE_EXPORT Time : public time_internal::TimeBase