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

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

Issue 10700154: Remove #pragma once from sync (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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/all_status.h ('k') | sync/engine/build_commit_command.h » ('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 SYNC_ENGINE_APPLY_UPDATES_COMMAND_H_ 5 #ifndef SYNC_ENGINE_APPLY_UPDATES_COMMAND_H_
6 #define SYNC_ENGINE_APPLY_UPDATES_COMMAND_H_ 6 #define SYNC_ENGINE_APPLY_UPDATES_COMMAND_H_
7 #pragma once
8 7
9 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
10 #include "sync/engine/model_changing_syncer_command.h" 9 #include "sync/engine/model_changing_syncer_command.h"
11 10
12 namespace syncer { 11 namespace syncer {
13 12
14 class ApplyUpdatesCommand : public ModelChangingSyncerCommand { 13 class ApplyUpdatesCommand : public ModelChangingSyncerCommand {
15 public: 14 public:
16 ApplyUpdatesCommand(); 15 ApplyUpdatesCommand();
17 virtual ~ApplyUpdatesCommand(); 16 virtual ~ApplyUpdatesCommand();
18 17
19 protected: 18 protected:
20 // ModelChangingSyncerCommand implementation. 19 // ModelChangingSyncerCommand implementation.
21 virtual std::set<ModelSafeGroup> GetGroupsToChange( 20 virtual std::set<ModelSafeGroup> GetGroupsToChange(
22 const sessions::SyncSession& session) const OVERRIDE; 21 const sessions::SyncSession& session) const OVERRIDE;
23 virtual SyncerError ModelChangingExecuteImpl( 22 virtual SyncerError ModelChangingExecuteImpl(
24 sessions::SyncSession* session) OVERRIDE; 23 sessions::SyncSession* session) OVERRIDE;
25 24
26 private: 25 private:
27 DISALLOW_COPY_AND_ASSIGN(ApplyUpdatesCommand); 26 DISALLOW_COPY_AND_ASSIGN(ApplyUpdatesCommand);
28 }; 27 };
29 28
30 } // namespace syncer 29 } // namespace syncer
31 30
32 #endif // SYNC_ENGINE_APPLY_UPDATES_COMMAND_H_ 31 #endif // SYNC_ENGINE_APPLY_UPDATES_COMMAND_H_
OLDNEW
« no previous file with comments | « sync/engine/all_status.h ('k') | sync/engine/build_commit_command.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698