| Index: chrome/browser/sync/sessions/sync_session_context.cc
|
| diff --git a/chrome/browser/sync/sessions/sync_session_context.cc b/chrome/browser/sync/sessions/sync_session_context.cc
|
| index b92015ae43fb0c9d1c82740c8c2e8ef3c371cc89..c0aeb3445e8cef70bdf4716d6ad00f44814b661f 100644
|
| --- a/chrome/browser/sync/sessions/sync_session_context.cc
|
| +++ b/chrome/browser/sync/sessions/sync_session_context.cc
|
| @@ -33,6 +33,14 @@ SyncSessionContext::SyncSessionContext(
|
| listeners_.AddObserver(*it);
|
| }
|
|
|
| +SyncSessionContext::SyncSessionContext()
|
| + : connection_manager_(NULL),
|
| + directory_manager_(NULL),
|
| + registrar_(NULL),
|
| + extensions_activity_monitor_(NULL),
|
| + debug_info_getter_(NULL) {
|
| +}
|
| +
|
| SyncSessionContext::~SyncSessionContext() {
|
| // In unittests, there may be no UI thread, so the above will fail.
|
| if (!BrowserThread::DeleteSoon(BrowserThread::UI, FROM_HERE,
|
| @@ -41,5 +49,14 @@ SyncSessionContext::~SyncSessionContext() {
|
| }
|
| }
|
|
|
| +void SyncSessionContext::SetUnthrottleTime(const syncable::ModelTypeSet& types,
|
| + const base::TimeTicks& time) {
|
| + for (syncable::ModelTypeSet::const_iterator it = types.begin();
|
| + it != types.end();
|
| + ++it) {
|
| + unthrottle_times_[*it] = time;
|
| + }
|
| +}
|
| +
|
| } // namespace sessions
|
| } // namespace browser_sync
|
|
|