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

Side by Side Diff: sync/engine/syncer_command.h

Issue 9699057: [Sync] Move 'sync' target to sync/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address Tim's comments Created 8 years, 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « sync/engine/syncer.cc ('k') | sync/engine/syncer_command.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_SYNC_ENGINE_SYNCER_COMMAND_H_ 5 #ifndef SYNC_ENGINE_SYNCER_COMMAND_H_
6 #define CHROME_BROWSER_SYNC_ENGINE_SYNCER_COMMAND_H_ 6 #define SYNC_ENGINE_SYNCER_COMMAND_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 10
11 #include "chrome/browser/sync/internal_api/includes/syncer_error.h" 11 #include "sync/util/syncer_error.h"
12 12
13 namespace browser_sync { 13 namespace browser_sync {
14 14
15 namespace sessions { 15 namespace sessions {
16 class SyncSession; 16 class SyncSession;
17 } 17 }
18 18
19 // Implementation of a simple command pattern intended to be driven by the 19 // Implementation of a simple command pattern intended to be driven by the
20 // Syncer. SyncerCommand is abstract and all subclasses must implement 20 // Syncer. SyncerCommand is abstract and all subclasses must implement
21 // ExecuteImpl(). This is done so that chunks of syncer operation can be unit 21 // ExecuteImpl(). This is done so that chunks of syncer operation can be unit
(...skipping 16 matching lines...) Expand all
38 38
39 // ExecuteImpl is where derived classes actually do work. 39 // ExecuteImpl is where derived classes actually do work.
40 virtual SyncerError ExecuteImpl(sessions::SyncSession* session) = 0; 40 virtual SyncerError ExecuteImpl(sessions::SyncSession* session) = 0;
41 private: 41 private:
42 void SendNotifications(sessions::SyncSession* session); 42 void SendNotifications(sessions::SyncSession* session);
43 DISALLOW_COPY_AND_ASSIGN(SyncerCommand); 43 DISALLOW_COPY_AND_ASSIGN(SyncerCommand);
44 }; 44 };
45 45
46 } // namespace browser_sync 46 } // namespace browser_sync
47 47
48 #endif // CHROME_BROWSER_SYNC_ENGINE_SYNCER_COMMAND_H_ 48 #endif // SYNC_ENGINE_SYNCER_COMMAND_H_
OLDNEW
« no previous file with comments | « sync/engine/syncer.cc ('k') | sync/engine/syncer_command.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698