| 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_DOWNLOAD_UPDATES_COMMAND_H_ | 5 #ifndef SYNC_ENGINE_DOWNLOAD_UPDATES_COMMAND_H_ |
| 6 #define CHROME_BROWSER_SYNC_ENGINE_DOWNLOAD_UPDATES_COMMAND_H_ | 6 #define SYNC_ENGINE_DOWNLOAD_UPDATES_COMMAND_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 #include "base/gtest_prod_util.h" | 11 #include "base/gtest_prod_util.h" |
| 12 #include "chrome/browser/sync/engine/model_safe_worker.h" | 12 #include "sync/engine/model_safe_worker.h" |
| 13 #include "chrome/browser/sync/engine/syncer_command.h" | 13 #include "sync/engine/syncer_command.h" |
| 14 #include "chrome/browser/sync/syncable/model_type.h" | |
| 15 #include "sync/protocol/sync.pb.h" | 14 #include "sync/protocol/sync.pb.h" |
| 15 #include "sync/syncable/model_type.h" |
| 16 | 16 |
| 17 namespace sync_pb { | 17 namespace sync_pb { |
| 18 class EntitySpecifics; | 18 class EntitySpecifics; |
| 19 } | 19 } |
| 20 | 20 |
| 21 namespace browser_sync { | 21 namespace browser_sync { |
| 22 | 22 |
| 23 // Determine the enabled datatypes, download a batch of updates for them | 23 // Determine the enabled datatypes, download a batch of updates for them |
| 24 // from the server, place the result in the SyncSession for further processing. | 24 // from the server, place the result in the SyncSession for further processing. |
| 25 // | 25 // |
| (...skipping 28 matching lines...) Expand all Loading... |
| 54 void AppendClientDebugInfoIfNeeded(sessions::SyncSession* session, | 54 void AppendClientDebugInfoIfNeeded(sessions::SyncSession* session, |
| 55 sync_pb::DebugInfo* debug_info); | 55 sync_pb::DebugInfo* debug_info); |
| 56 | 56 |
| 57 const bool create_mobile_bookmarks_folder_; | 57 const bool create_mobile_bookmarks_folder_; |
| 58 | 58 |
| 59 DISALLOW_COPY_AND_ASSIGN(DownloadUpdatesCommand); | 59 DISALLOW_COPY_AND_ASSIGN(DownloadUpdatesCommand); |
| 60 }; | 60 }; |
| 61 | 61 |
| 62 } // namespace browser_sync | 62 } // namespace browser_sync |
| 63 | 63 |
| 64 #endif // CHROME_BROWSER_SYNC_ENGINE_DOWNLOAD_UPDATES_COMMAND_H_ | 64 #endif // SYNC_ENGINE_DOWNLOAD_UPDATES_COMMAND_H_ |
| 65 | 65 |
| OLD | NEW |