| 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_GET_COMMIT_IDS_COMMAND_H_ | 5 #ifndef SYNC_ENGINE_GET_COMMIT_IDS_COMMAND_H_ |
| 6 #define CHROME_BROWSER_SYNC_ENGINE_GET_COMMIT_IDS_COMMAND_H_ | 6 #define SYNC_ENGINE_GET_COMMIT_IDS_COMMAND_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <utility> | 9 #include <utility> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
| 13 #include "chrome/browser/sync/engine/syncer_command.h" | 13 #include "sync/engine/syncer_command.h" |
| 14 #include "chrome/browser/sync/engine/syncer_util.h" | 14 #include "sync/engine/syncer_util.h" |
| 15 #include "chrome/browser/sync/sessions/ordered_commit_set.h" | 15 #include "sync/sessions/ordered_commit_set.h" |
| 16 #include "chrome/browser/sync/sessions/sync_session.h" | 16 #include "sync/sessions/sync_session.h" |
| 17 | 17 |
| 18 using std::pair; | 18 using std::pair; |
| 19 using std::vector; | 19 using std::vector; |
| 20 | 20 |
| 21 namespace browser_sync { | 21 namespace browser_sync { |
| 22 | 22 |
| 23 class GetCommitIdsCommand : public SyncerCommand { | 23 class GetCommitIdsCommand : public SyncerCommand { |
| 24 friend class SyncerTest; | 24 friend class SyncerTest; |
| 25 | 25 |
| 26 public: | 26 public: |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 | 116 |
| 117 scoped_ptr<sessions::OrderedCommitSet> ordered_commit_set_; | 117 scoped_ptr<sessions::OrderedCommitSet> ordered_commit_set_; |
| 118 | 118 |
| 119 int requested_commit_batch_size_; | 119 int requested_commit_batch_size_; |
| 120 | 120 |
| 121 DISALLOW_COPY_AND_ASSIGN(GetCommitIdsCommand); | 121 DISALLOW_COPY_AND_ASSIGN(GetCommitIdsCommand); |
| 122 }; | 122 }; |
| 123 | 123 |
| 124 } // namespace browser_sync | 124 } // namespace browser_sync |
| 125 | 125 |
| 126 #endif // CHROME_BROWSER_SYNC_ENGINE_GET_COMMIT_IDS_COMMAND_H_ | 126 #endif // SYNC_ENGINE_GET_COMMIT_IDS_COMMAND_H_ |
| OLD | NEW |