OLD | NEW |
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_SYNCER_COMMAND_H_ | 5 #ifndef SYNC_ENGINE_SYNCER_COMMAND_H_ |
6 #define SYNC_ENGINE_SYNCER_COMMAND_H_ | 6 #define SYNC_ENGINE_SYNCER_COMMAND_H_ |
7 #pragma once | |
8 | 7 |
9 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
10 | 9 |
11 #include "sync/internal_api/public/util/syncer_error.h" | 10 #include "sync/internal_api/public/util/syncer_error.h" |
12 | 11 |
13 namespace syncer { | 12 namespace syncer { |
14 | 13 |
15 namespace sessions { | 14 namespace sessions { |
16 class SyncSession; | 15 class SyncSession; |
17 } | 16 } |
(...skipping 20 matching lines...) Expand all Loading... |
38 | 37 |
39 // ExecuteImpl is where derived classes actually do work. | 38 // ExecuteImpl is where derived classes actually do work. |
40 virtual SyncerError ExecuteImpl(sessions::SyncSession* session) = 0; | 39 virtual SyncerError ExecuteImpl(sessions::SyncSession* session) = 0; |
41 private: | 40 private: |
42 DISALLOW_COPY_AND_ASSIGN(SyncerCommand); | 41 DISALLOW_COPY_AND_ASSIGN(SyncerCommand); |
43 }; | 42 }; |
44 | 43 |
45 } // namespace syncer | 44 } // namespace syncer |
46 | 45 |
47 #endif // SYNC_ENGINE_SYNCER_COMMAND_H_ | 46 #endif // SYNC_ENGINE_SYNCER_COMMAND_H_ |
OLD | NEW |