Home
last modified time | relevance | path

Searched refs:SyncSession (Results 1 – 25 of 48) sorted by relevance

12

/external/chromium/chrome/browser/sync/sessions/
Dsync_session.cc12 SyncSession::SyncSession(SyncSessionContext* context, Delegate* delegate, in SyncSession() function in browser_sync::sessions::SyncSession
25 SyncSession::~SyncSession() {} in ~SyncSession()
27 void SyncSession::Coalesce(const SyncSession& session) { in Coalesce()
54 void SyncSession::ResetTransientState() { in ResetTransientState()
58 SyncSessionSnapshot SyncSession::TakeSnapshot() const { in TakeSnapshot()
93 SyncSourceInfo SyncSession::TestAndSetSource() { in TestAndSetSource()
101 bool SyncSession::HasMoreToSync() const { in HasMoreToSync()
Dtest_util.h19 void SimulateHasMoreToSync(sessions::SyncSession* session,
21 void SimulateDownloadUpdatesFailed(sessions::SyncSession* session,
23 void SimulateCommitFailed(sessions::SyncSession* session,
25 void SimulateSuccess(sessions::SyncSession* session,
27 void SimulateThrottledImpl(sessions::SyncSession* session,
29 void SimulatePollIntervalUpdateImpl(sessions::SyncSession* session,
Dtest_util.cc11 void SimulateHasMoreToSync(sessions::SyncSession* session, in SimulateHasMoreToSync()
17 void SimulateDownloadUpdatesFailed(sessions::SyncSession* session, in SimulateDownloadUpdatesFailed()
25 void SimulateCommitFailed(sessions::SyncSession* session, in SimulateCommitFailed()
36 void SimulateSuccess(sessions::SyncSession* session, in SimulateSuccess()
45 void SimulateThrottledImpl(sessions::SyncSession* session, in SimulateThrottledImpl()
50 void SimulatePollIntervalUpdateImpl(sessions::SyncSession* session, in SimulatePollIntervalUpdateImpl()
Dsync_session.h43 class SyncSession {
83 SyncSession(SyncSessionContext* context,
88 ~SyncSession();
102 void Coalesce(const SyncSession& session);
162 DISALLOW_COPY_AND_ASSIGN(SyncSession);
170 ScopedSetSessionWriteTransaction(SyncSession* session, in ScopedSetSessionWriteTransaction()
179 SyncSession* session_;
Dsync_session_unittest.cc25 public SyncSession::Delegate,
32 SyncSession* MakeSession() { in MakeSession()
33 return new SyncSession(context_.get(), this, SyncSourceInfo(), routes_, in MakeSession()
96 scoped_ptr<SyncSession> session_;
123 scoped_ptr<SyncSession> session(MakeSession()); in TEST_F()
288 SyncSession one(context_.get(), this, source_one, routes_one, workers_one); in TEST_F()
289 SyncSession two(context_.get(), this, source_two, routes_two, workers_two); in TEST_F()
/external/chromium/chrome/browser/sync/engine/
Dmodel_changing_syncer_command.h13 class SyncSession; variable
32 virtual void ExecuteImpl(sessions::SyncSession* session);
45 virtual bool ModelNeutralExecuteImpl(sessions::SyncSession* session);
51 virtual void ModelChangingExecuteImpl(sessions::SyncSession* session) = 0;
58 sessions::SyncSession* work_session_;
Dsyncer_command.h14 class SyncSession; variable
35 void Execute(sessions::SyncSession* session);
38 virtual void ExecuteImpl(sessions::SyncSession* session) = 0;
40 void SendNotifications(sessions::SyncSession* session);
Dsyncer_thread.cc17 using sessions::SyncSession;
35 linked_ptr<sessions::SyncSession> session, bool is_canary_job, in SyncSessionJob()
134 scoped_ptr<SyncSession> dummy(new SyncSession(session_context_.get(), this, in SendInitialSnapshot()
242 SyncSession* s = job.session.get(); in InitOrCoalescePendingJob()
243 scoped_ptr<SyncSession> session(new SyncSession(s->context(), in InitOrCoalescePendingJob()
285 SyncSession* old = job.session.get(); in SaveJob()
286 SyncSession* s(new SyncSession(session_context_.get(), this, in SaveJob()
348 SyncSession* session = new SyncSession(session_context_.get(), this, in ScheduleClearUserDataImpl()
367 SyncSession* session(CreateSyncSession(info)); in ScheduleNudgeImpl()
393 SyncSession* s = pending_nudge_->session.get(); in ScheduleNudgeImpl()
[all …]
Dsyncer_command.cc13 using sessions::SyncSession;
18 void SyncerCommand::Execute(SyncSession* session) { in Execute()
23 void SyncerCommand::SendNotifications(SyncSession* session) { in SendNotifications()
Dsyncer_proto_util.h30 class SyncSession; variable
48 sessions::SyncSession* session);
109 sessions::SyncSession* session);
114 sessions::SyncSession* session,
Dsyncer_thread.h30 class SyncerThread : public sessions::SyncSession::Delegate,
128 linked_ptr<sessions::SyncSession> session, bool is_canary_job,
133 linked_ptr<sessions::SyncSession> session;
204 sessions::SyncSession* session,
274 browser_sync::sessions::SyncSession* CreateSyncSession(
Dprocess_commit_response_command.h31 virtual bool ModelNeutralExecuteImpl(sessions::SyncSession* session);
32 virtual void ModelChangingExecuteImpl(sessions::SyncSession* session);
44 void ProcessCommitResponse(sessions::SyncSession* session);
Dbuild_commit_command.h21 virtual void ExecuteImpl(sessions::SyncSession* session);
24 void AddExtensionsActivityToMessage(sessions::SyncSession* session,
Dprocess_updates_command.h36 virtual bool ModelNeutralExecuteImpl(sessions::SyncSession* session);
37 virtual void ModelChangingExecuteImpl(sessions::SyncSession* session);
Dsyncer.h91 virtual void SyncShare(sessions::SyncSession* session);
95 virtual void SyncShare(sessions::SyncSession* session,
101 void ProcessClientCommand(sessions::SyncSession* session);
Dmodel_changing_syncer_command.cc14 void ModelChangingSyncerCommand::ExecuteImpl(sessions::SyncSession* session) { in ExecuteImpl()
33 sessions::SyncSession* session) { in ModelNeutralExecuteImpl()
Dprocess_updates_command.cc22 using sessions::SyncSession;
28 bool ProcessUpdatesCommand::ModelNeutralExecuteImpl(SyncSession* session) { in ModelNeutralExecuteImpl()
37 void ProcessUpdatesCommand::ModelChangingExecuteImpl(SyncSession* session) { in ModelChangingExecuteImpl()
Dclear_data_command.cc20 using sessions::SyncSession;
29 void ClearDataCommand::ExecuteImpl(SyncSession* session) { in ExecuteImpl()
Dapply_updates_command.cc14 using sessions::SyncSession;
19 void ApplyUpdatesCommand::ModelChangingExecuteImpl(SyncSession* session) { in ModelChangingExecuteImpl()
Dbuild_and_process_conflict_sets_command.h39 virtual void ModelChangingExecuteImpl(sessions::SyncSession* session);
42 bool BuildAndProcessConflictSets(sessions::SyncSession* session);
Dsyncer.cc53 using sessions::SyncSession;
74 void Syncer::SyncShare(sessions::SyncSession* session) { in SyncShare()
90 void Syncer::SyncShare(sessions::SyncSession* session, in SyncShare()
290 void Syncer::ProcessClientCommand(sessions::SyncSession* session) { in ProcessClientCommand()
Dbuild_commit_command.cc30 using sessions::SyncSession;
36 SyncSession* session, CommitMessage* message) { in AddExtensionsActivityToMessage()
86 void BuildCommitCommand::ExecuteImpl(SyncSession* session) { in ExecuteImpl()
Dsyncer_proto_util.cc34 using sessions::SyncSession;
85 sessions::SyncSession* session) { in HandleMigrationDoneResponse()
142 sessions::SyncSession* session, in PostAndProcessHeaders()
204 SyncSession* session) { in PostClientToServerMessage()
Ddownload_updates_command.cc19 using sessions::SyncSession;
27 void DownloadUpdatesCommand::ExecuteImpl(SyncSession* session) { in ExecuteImpl()
Dprocess_commit_response_command.cc47 using sessions::SyncSession;
61 sessions::SyncSession* session) { in ModelNeutralExecuteImpl()
98 SyncSession* session) { in ModelChangingExecuteImpl()
110 SyncSession* session) { in ProcessCommitResponse()

12