Index: chrome/browser/sync/engine/process_commit_response_command.h |
=================================================================== |
--- chrome/browser/sync/engine/process_commit_response_command.h (revision 30121) |
+++ chrome/browser/sync/engine/process_commit_response_command.h (working copy) |
@@ -23,7 +23,7 @@ |
class ProcessCommitResponseCommand : public ModelChangingSyncerCommand { |
public: |
- ProcessCommitResponseCommand(); |
+ explicit ProcessCommitResponseCommand(ExtensionsActivityMonitor* monitor); |
virtual ~ProcessCommitResponseCommand(); |
virtual void ModelChangingExecuteImpl(SyncerSession* session); |
@@ -36,6 +36,9 @@ |
std::set<syncable::Id>* deleted_folders, |
SyncerSession* const session); |
+ // Actually does the work of execute. |
+ void ProcessCommitResponse(SyncerSession* session); |
+ |
void ProcessSuccessfulCommitResponse(syncable::WriteTransaction* trans, |
const CommitResponse_EntryResponse& server_entry, |
const syncable::Id& pre_commit_id, syncable::MutableEntry* local_entry, |
@@ -47,6 +50,10 @@ |
const CommitResponse_EntryResponse& server_entry, |
syncable::MutableEntry* local_entry); |
+ // We may need to update this with records from a commit attempt if the |
+ // attempt failed. |
+ ExtensionsActivityMonitor* extensions_monitor_; |
+ |
DISALLOW_COPY_AND_ASSIGN(ProcessCommitResponseCommand); |
}; |