Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3573)

Unified Diff: chrome/browser/sync/engine/process_commit_response_command.h

Issue 325001: Introduce browser_sync::ExtensionsActivityMonitor to collect extensions API u... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
};
« no previous file with comments | « chrome/browser/sync/engine/build_commit_command.cc ('k') | chrome/browser/sync/engine/process_commit_response_command.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698