Chromium Code Reviews| Index: sync/sessions/sync_session_context.h |
| diff --git a/sync/sessions/sync_session_context.h b/sync/sessions/sync_session_context.h |
| index 94129ce9cee033d9b0815e1056b514852f9ece22..cae7f1c2d445a9e78734a731a3a536ee9e52b6af 100644 |
| --- a/sync/sessions/sync_session_context.h |
| +++ b/sync/sessions/sync_session_context.h |
| @@ -27,6 +27,7 @@ |
| #include "base/time.h" |
| #include "sync/engine/model_safe_worker.h" |
| #include "sync/engine/syncer_types.h" |
| +#include "sync/engine/traffic_recorder.h" |
| #include "sync/sessions/debug_info_getter.h" |
| namespace syncable { |
| @@ -123,6 +124,10 @@ class SyncSessionContext { |
| // new throttled types this will remain constant through out the sync cycle. |
| syncable::ModelTypeSet GetThrottledTypes() const; |
| + browser_sync::TrafficRecorder* traffic_recorder() { |
| + return &traffic_recorder_; |
| + } |
| + |
| private: |
| typedef std::map<syncable::ModelType, base::TimeTicks> UnthrottleTimes; |
| @@ -177,6 +182,8 @@ class SyncSessionContext { |
| // unthrottled. |
| UnthrottleTimes unthrottle_times_; |
| + browser_sync::TrafficRecorder traffic_recorder_; |
|
tim (not reviewing)
2012/03/29 22:02:23
Please see my comment on http://codereview.chromiu
lipalani1
2012/03/30 00:33:24
Tim - this is fixed in the next patch. In this pat
|
| + |
| DISALLOW_COPY_AND_ASSIGN(SyncSessionContext); |
| }; |