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

Side by Side Diff: sync/engine/model_changing_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/get_commit_ids_command.cc ('k') | sync/engine/model_changing_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_MODEL_CHANGING_SYNCER_COMMAND_H_ 5 #ifndef SYNC_ENGINE_MODEL_CHANGING_SYNCER_COMMAND_H_
6 #define CHROME_BROWSER_SYNC_ENGINE_MODEL_CHANGING_SYNCER_COMMAND_H_ 6 #define SYNC_ENGINE_MODEL_CHANGING_SYNCER_COMMAND_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "chrome/browser/sync/engine/model_safe_worker.h" 10 #include "sync/engine/model_safe_worker.h"
11 #include "chrome/browser/sync/engine/syncer_command.h" 11 #include "sync/engine/syncer_command.h"
12 12
13 namespace browser_sync { 13 namespace browser_sync {
14 namespace sessions { 14 namespace sessions {
15 class SyncSession; 15 class SyncSession;
16 } 16 }
17 17
18 // An abstract SyncerCommand which dispatches its Execute step to the 18 // An abstract SyncerCommand which dispatches its Execute step to the
19 // model-safe worker thread. Classes derived from ModelChangingSyncerCommand 19 // model-safe worker thread. Classes derived from ModelChangingSyncerCommand
20 // instead of SyncerCommand must implement ModelChangingExecuteImpl instead of 20 // instead of SyncerCommand must implement ModelChangingExecuteImpl instead of
21 // ExecuteImpl, but otherwise, the contract is the same. 21 // ExecuteImpl, but otherwise, the contract is the same.
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 // StartChangingModel is called to start this command running. 75 // StartChangingModel is called to start this command running.
76 // Implementations will implement ModelChangingExecuteImpl and not 76 // Implementations will implement ModelChangingExecuteImpl and not
77 // worry about storing the session or setting it. They are given work_session. 77 // worry about storing the session or setting it. They are given work_session.
78 sessions::SyncSession* work_session_; 78 sessions::SyncSession* work_session_;
79 79
80 DISALLOW_COPY_AND_ASSIGN(ModelChangingSyncerCommand); 80 DISALLOW_COPY_AND_ASSIGN(ModelChangingSyncerCommand);
81 }; 81 };
82 82
83 } // namespace browser_sync 83 } // namespace browser_sync
84 84
85 #endif // CHROME_BROWSER_SYNC_ENGINE_MODEL_CHANGING_SYNCER_COMMAND_H_ 85 #endif // SYNC_ENGINE_MODEL_CHANGING_SYNCER_COMMAND_H_
OLDNEW
« no previous file with comments | « sync/engine/get_commit_ids_command.cc ('k') | sync/engine/model_changing_syncer_command.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698