summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sync/engine/post_commit_message_command.h
diff options
context:
space:
mode:
authortim@chromium.org <tim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-21 03:29:52 +0000
committertim@chromium.org <tim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-21 03:29:52 +0000
commit9ec27852a63c2d8fbcf4942629532af171f0a312 (patch)
tree5f22093d68d1699073439b40043383df8434da4f /chrome/browser/sync/engine/post_commit_message_command.h
parentfb6be8f376c29a67ca134c71f3a4e3c414dd4c47 (diff)
downloadchromium_src-9ec27852a63c2d8fbcf4942629532af171f0a312.zip
chromium_src-9ec27852a63c2d8fbcf4942629532af171f0a312.tar.gz
chromium_src-9ec27852a63c2d8fbcf4942629532af171f0a312.tar.bz2
Add browser_sync 'sessions' to relieve SyncCycleState, SyncProcessState, SyncerSession,
SyncerStatus, and ConflictResolutionView of duty. Main impact is factors all status munging to 'StatusController', adds SyncSessionContext to wrap various engine parts needed by different components, removes duplicated methods by a factor of ~3 making it easier to reason about, and adds a 'Controller' to the session object to give a way to delegate session-global (i.e affecting any session) occurrences such as throttling. Also adds testing for 'HasMoreToSync' and other session related code. BUG=25266 TEST=SyncSessionTest(added), StatusControllerTest(added) various sync_unit_tests in this CL Review URL: http://codereview.chromium.org/386030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32732 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/sync/engine/post_commit_message_command.h')
-rw-r--r--chrome/browser/sync/engine/post_commit_message_command.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/sync/engine/post_commit_message_command.h b/chrome/browser/sync/engine/post_commit_message_command.h
index 85e9f71..4f49894 100644
--- a/chrome/browser/sync/engine/post_commit_message_command.h
+++ b/chrome/browser/sync/engine/post_commit_message_command.h
@@ -6,7 +6,6 @@
#define CHROME_BROWSER_SYNC_ENGINE_POST_COMMIT_MESSAGE_COMMAND_H_
#include "chrome/browser/sync/engine/syncer_command.h"
-#include "chrome/browser/sync/engine/syncer_session.h"
#include "chrome/browser/sync/util/sync_types.h"
namespace browser_sync {
@@ -16,7 +15,8 @@ class PostCommitMessageCommand : public SyncerCommand {
PostCommitMessageCommand();
virtual ~PostCommitMessageCommand();
- virtual void ExecuteImpl(SyncerSession* session);
+ // SyncerCommand implementation.
+ virtual void ExecuteImpl(sessions::SyncSession* session);
private:
DISALLOW_COPY_AND_ASSIGN(PostCommitMessageCommand);