Home
last modified time | relevance | path

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

/external/chromium/chrome/browser/sync/engine/
Dsyncer_thread2_whitebox_unittest.cc32 syncer_thread_.reset(new SyncerThread(context_, syncer)); in SetUp()
39 void SetMode(SyncerThread::Mode mode) { in SetMode()
56 syncer_thread_->wait_interval_.reset(new SyncerThread::WaitInterval( in SetWaitIntervalToThrottled()
57 SyncerThread::WaitInterval::THROTTLED, TimeDelta::FromSeconds(1))); in SetWaitIntervalToThrottled()
62 new SyncerThread::WaitInterval( in SetWaitIntervalToExponentialBackoff()
63 SyncerThread::WaitInterval::EXPONENTIAL_BACKOFF, in SetWaitIntervalToExponentialBackoff()
67 SyncerThread::JobProcessDecision DecideOnJob( in DecideOnJob()
68 const SyncerThread::SyncSessionJob& job) { in DecideOnJob()
73 SetMode(SyncerThread::NORMAL_MODE); in InitializeSyncerOnNormalMode()
79 SyncerThread::JobProcessDecision CreateAndDecideJob( in CreateAndDecideJob()
[all …]
Dsyncer_thread.cc24 SyncerThread::DelayProvider::DelayProvider() {} in DelayProvider()
25 SyncerThread::DelayProvider::~DelayProvider() {} in ~DelayProvider()
27 SyncerThread::WaitInterval::WaitInterval() {} in WaitInterval()
28 SyncerThread::WaitInterval::~WaitInterval() {} in ~WaitInterval()
30 SyncerThread::SyncSessionJob::SyncSessionJob() {} in SyncSessionJob()
31 SyncerThread::SyncSessionJob::~SyncSessionJob() {} in ~SyncSessionJob()
33 SyncerThread::SyncSessionJob::SyncSessionJob(SyncSessionJobPurpose purpose, in SyncSessionJob()
43 TimeDelta SyncerThread::DelayProvider::GetDelay( in GetDelay()
45 return SyncerThread::GetRecommendedDelay(last_delay); in GetDelay()
65 SyncerThread::WaitInterval::WaitInterval(Mode mode, TimeDelta length) in WaitInterval()
[all …]
Dsyncer_thread2_unittest.cc50 class MockDelayProvider : public SyncerThread::DelayProvider {
66 syncer_thread_.reset(new SyncerThread(context_, syncer_)); in SetUp()
80 syncer_thread_.reset(new SyncerThread(context_, syncer_)); in SetUpWithTypes()
83 SyncerThread* syncer_thread() { return syncer_thread_.get(); } in syncer_thread()
112 syncer_thread()->Start(SyncerThread::NORMAL_MODE, NULL); in GetBackoffAndResetTest()
170 scoped_ptr<SyncerThread> syncer_thread_;
203 syncer_thread()->Start(SyncerThread::NORMAL_MODE, NULL); in TEST_F()
253 syncer_thread()->Start(SyncerThread::CONFIGURATION_MODE, NULL); in TEST_F()
282 syncer_thread()->Start(SyncerThread::CONFIGURATION_MODE, NULL); in TEST_F()
317 syncer_thread()->Start(SyncerThread::CONFIGURATION_MODE, NULL); in TEST_F()
[all …]
Dsyncer_thread.h30 class SyncerThread : public sessions::SyncSession::Delegate,
45 SyncerThread(sessions::SyncSessionContext* context, Syncer* syncer);
46 virtual ~SyncerThread();
192 base::OneShotTimer<SyncerThread> timer;
306 base::RepeatingTimer<SyncerThread> poll_timer_;
331 DISALLOW_COPY_AND_ASSIGN(SyncerThread);
339 DISABLE_RUNNABLE_METHOD_REFCOUNT(browser_sync::SyncerThread);
Dall_status.h24 class SyncerThread; variable
Dsyncapi.cc84 using browser_sync::SyncerThread;
1281 SyncerThread* syncer_thread() { return syncer_thread_.get(); } in syncer_thread()
1534 scoped_ptr<SyncerThread> syncer_thread_;
1688 browser_sync::SyncerThread::CONFIGURATION_MODE, callback); in StartConfigurationMode()
1747 syncer_thread_.reset(new SyncerThread(context, new Syncer())); in Init()
1754 browser_sync::SyncerThread::CONFIGURATION_MODE, NULL); in Init()
1813 syncer_thread()->Start(SyncerThread::NORMAL_MODE, NULL); in StartSyncing()