| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 #if defined(BROWSER_SYNC) | |
| 6 | |
| 7 #ifndef CHROME_BROWSER_SYNC_GLUE_BOOKMARK_MODEL_WORKER_H_ | 5 #ifndef CHROME_BROWSER_SYNC_GLUE_BOOKMARK_MODEL_WORKER_H_ |
| 8 #define CHROME_BROWSER_SYNC_GLUE_BOOKMARK_MODEL_WORKER_H_ | 6 #define CHROME_BROWSER_SYNC_GLUE_BOOKMARK_MODEL_WORKER_H_ |
| 9 | 7 |
| 10 #include "base/lock.h" | 8 #include "base/lock.h" |
| 11 #include "base/task.h" | 9 #include "base/task.h" |
| 12 #include "base/waitable_event.h" | 10 #include "base/waitable_event.h" |
| 13 #include "chrome/browser/sync/engine/syncapi.h" | 11 #include "chrome/browser/sync/engine/syncapi.h" |
| 14 | 12 |
| 15 class MessageLoop; | 13 class MessageLoop; |
| 16 | 14 |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 // SyncerThread has terminated. We only care about (1) when we are in Stop(), | 121 // SyncerThread has terminated. We only care about (1) when we are in Stop(), |
| 124 // because we have to manually Run() the task. | 122 // because we have to manually Run() the task. |
| 125 base::WaitableEvent syncapi_event_; | 123 base::WaitableEvent syncapi_event_; |
| 126 | 124 |
| 127 DISALLOW_COPY_AND_ASSIGN(BookmarkModelWorker); | 125 DISALLOW_COPY_AND_ASSIGN(BookmarkModelWorker); |
| 128 }; | 126 }; |
| 129 | 127 |
| 130 } // namespace browser_sync | 128 } // namespace browser_sync |
| 131 | 129 |
| 132 #endif // CHROME_BROWSER_SYNC_GLUE_BOOKMARK_MODEL_WORKER_H_ | 130 #endif // CHROME_BROWSER_SYNC_GLUE_BOOKMARK_MODEL_WORKER_H_ |
| 133 | |
| 134 #endif // defined(BROWSER_SYNC) | |
| OLD | NEW |