| Index: base/debug/trace_event_impl.h
|
| diff --git a/base/debug/trace_event_impl.h b/base/debug/trace_event_impl.h
|
| index 33e782c04a57455562630ec196236617c846c4d8..8ef4531e1574bd2c44a73e601e5abfb945fcbd1a 100644
|
| --- a/base/debug/trace_event_impl.h
|
| +++ b/base/debug/trace_event_impl.h
|
| @@ -310,6 +310,10 @@ class BASE_EXPORT TraceLog {
|
|
|
| void SetProcessID(int process_id);
|
|
|
| + // Allow setting an offset between the current TimeTicks time and the time
|
| + // that should be reported.
|
| + void SetTimeOffset(TimeDelta offset);
|
| +
|
| private:
|
| // This allows constructor and destructor to be private and usable only
|
| // by the Singleton class.
|
| @@ -385,6 +389,8 @@ class BASE_EXPORT TraceLog {
|
|
|
| int process_id_;
|
|
|
| + TimeDelta time_offset_;
|
| +
|
| // Allow tests to wake up when certain events occur.
|
| const unsigned char* watch_category_;
|
| std::string watch_event_name_;
|
|
|