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

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

Issue 386030: Relieve SyncerSession,SyncCycleState, SyncProcessState, SyncerSession, Syncer... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month 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
« no previous file with comments | « chrome/browser/sync/engine/syncer.cc ('k') | chrome/browser/sync/engine/syncer_command.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/engine/syncer_command.h
===================================================================
--- chrome/browser/sync/engine/syncer_command.h (revision 32731)
+++ chrome/browser/sync/engine/syncer_command.h (working copy)
@@ -9,7 +9,9 @@
namespace browser_sync {
-class SyncerSession;
+namespace sessions {
+class SyncSession;
+}
// Implementation of a simple command pattern intended to be driven by the
// Syncer. SyncerCommand is abstract and all subclasses must implement
@@ -18,7 +20,7 @@
//
// Example Usage:
//
-// SyncerSession session = ...;
+// SyncSession session = ...;
// SyncerCommand *cmd = SomeCommandFactory.createCommand(...);
// cmd->Execute(session);
// delete cmd;
@@ -29,12 +31,12 @@
virtual ~SyncerCommand();
// Execute dispatches to a derived class's ExecuteImpl.
- void Execute(SyncerSession* session);
+ void Execute(sessions::SyncSession* session);
// ExecuteImpl is where derived classes actually do work.
- virtual void ExecuteImpl(SyncerSession* session) = 0;
+ virtual void ExecuteImpl(sessions::SyncSession* session) = 0;
private:
- void SendNotifications(SyncerSession* session);
+ void SendNotifications(sessions::SyncSession* session);
DISALLOW_COPY_AND_ASSIGN(SyncerCommand);
};
« no previous file with comments | « chrome/browser/sync/engine/syncer.cc ('k') | chrome/browser/sync/engine/syncer_command.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698