Searched refs:SyncerThread (Results 1 - 6 of 6) sorted by relevance

/external/chromium/chrome/browser/sync/engine/
H A Dsyncer_thread2_whitebox_unittest.cc32 syncer_thread_.reset(new SyncerThread(context_, syncer));
39 void SetMode(SyncerThread::Mode mode) {
56 syncer_thread_->wait_interval_.reset(new SyncerThread::WaitInterval(
57 SyncerThread::WaitInterval::THROTTLED, TimeDelta::FromSeconds(1)));
62 new SyncerThread::WaitInterval(
63 SyncerThread::WaitInterval::EXPONENTIAL_BACKOFF,
67 SyncerThread::JobProcessDecision DecideOnJob(
68 const SyncerThread::SyncSessionJob& job) {
73 SetMode(SyncerThread::NORMAL_MODE);
79 SyncerThread
[all...]
H A Dsyncer_thread.cc24 SyncerThread::DelayProvider::DelayProvider() {}
25 SyncerThread::DelayProvider::~DelayProvider() {}
27 SyncerThread::WaitInterval::WaitInterval() {}
28 SyncerThread::WaitInterval::~WaitInterval() {}
30 SyncerThread::SyncSessionJob::SyncSessionJob() {}
31 SyncerThread::SyncSessionJob::~SyncSessionJob() {}
33 SyncerThread::SyncSessionJob::SyncSessionJob(SyncSessionJobPurpose purpose,
43 TimeDelta SyncerThread::DelayProvider::GetDelay(
45 return SyncerThread::GetRecommendedDelay(last_delay);
65 SyncerThread
68 SyncerThread::SyncerThread(sessions::SyncSessionContext* context, function in class:browser_sync::SyncerThread
[all...]
H A Dsyncer_thread2_unittest.cc50 class MockDelayProvider : public SyncerThread::DelayProvider {
66 syncer_thread_.reset(new SyncerThread(context_, syncer_));
80 syncer_thread_.reset(new SyncerThread(context_, syncer_));
83 SyncerThread* syncer_thread() { return syncer_thread_.get(); }
112 syncer_thread()->Start(SyncerThread::NORMAL_MODE, NULL);
170 scoped_ptr<SyncerThread> syncer_thread_;
203 syncer_thread()->Start(SyncerThread::NORMAL_MODE, NULL);
253 syncer_thread()->Start(SyncerThread::CONFIGURATION_MODE, NULL);
282 syncer_thread()->Start(SyncerThread::CONFIGURATION_MODE, NULL);
317 syncer_thread()->Start(SyncerThread
[all...]
H A Dsyncer_thread.h30 class SyncerThread : public sessions::SyncSession::Delegate, class in namespace:browser_sync
45 SyncerThread(sessions::SyncSessionContext* context, Syncer* syncer);
46 virtual ~SyncerThread();
59 // changed to |mode| *from the SyncerThread*, and not from the caller
192 base::OneShotTimer<SyncerThread> timer;
306 base::RepeatingTimer<SyncerThread> poll_timer_;
331 DISALLOW_COPY_AND_ASSIGN(SyncerThread);
337 // The SyncerThread manages its own internal thread and thus outlives it. We
339 DISABLE_RUNNABLE_METHOD_REFCOUNT(browser_sync::SyncerThread);
H A Dall_status.h24 class SyncerThread;
H A Dsyncapi.cc84 using browser_sync::SyncerThread;
1281 SyncerThread* syncer_thread() { return syncer_thread_.get(); }
1534 scoped_ptr<SyncerThread> syncer_thread_;
1566 // as it can get read/set by both the SyncerThread and the AuthWatcherThread.
1688 browser_sync::SyncerThread::CONFIGURATION_MODE, callback);
1746 // The SyncerThread takes ownership of |context|.
1747 syncer_thread_.reset(new SyncerThread(context, new Syncer()));
1754 browser_sync::SyncerThread::CONFIGURATION_MODE, NULL);
1813 syncer_thread()->Start(SyncerThread::NORMAL_MODE, NULL);

Completed in 177 milliseconds