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 CHROME_BROWSER_SYNC_ENGINE_PROCESS_UPDATES_COMMAND_H_ | 5 #ifndef SYNC_ENGINE_PROCESS_UPDATES_COMMAND_H_ |
6 #define CHROME_BROWSER_SYNC_ENGINE_PROCESS_UPDATES_COMMAND_H_ | 6 #define SYNC_ENGINE_PROCESS_UPDATES_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_changing_syncer_command.h" | 10 #include "sync/engine/model_changing_syncer_command.h" |
11 #include "chrome/browser/sync/engine/syncer_types.h" | 11 #include "sync/engine/syncer_types.h" |
12 | 12 |
13 namespace syncable { | 13 namespace syncable { |
14 class WriteTransaction; | 14 class WriteTransaction; |
15 } | 15 } |
16 | 16 |
17 namespace sync_pb { | 17 namespace sync_pb { |
18 class SyncEntity; | 18 class SyncEntity; |
19 } | 19 } |
20 | 20 |
21 namespace browser_sync { | 21 namespace browser_sync { |
(...skipping 23 matching lines...) Expand all Loading... |
45 private: | 45 private: |
46 ServerUpdateProcessingResult ProcessUpdate( | 46 ServerUpdateProcessingResult ProcessUpdate( |
47 const sync_pb::SyncEntity& proto_update, | 47 const sync_pb::SyncEntity& proto_update, |
48 const Cryptographer* cryptographer, | 48 const Cryptographer* cryptographer, |
49 syncable::WriteTransaction* const trans); | 49 syncable::WriteTransaction* const trans); |
50 DISALLOW_COPY_AND_ASSIGN(ProcessUpdatesCommand); | 50 DISALLOW_COPY_AND_ASSIGN(ProcessUpdatesCommand); |
51 }; | 51 }; |
52 | 52 |
53 } // namespace browser_sync | 53 } // namespace browser_sync |
54 | 54 |
55 #endif // CHROME_BROWSER_SYNC_ENGINE_PROCESS_UPDATES_COMMAND_H_ | 55 #endif // SYNC_ENGINE_PROCESS_UPDATES_COMMAND_H_ |
OLD | NEW |