| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 // *THIS EXISTS FOR EXPERIMENTATION AND TESTING WHILE WE REPLACE PTHREADS | 5 // *THIS EXISTS FOR EXPERIMENTATION AND TESTING WHILE WE REPLACE PTHREADS |
| 6 // WITH CHROME THREADS IN SYNC CODE* | 6 // WITH CHROME THREADS IN SYNC CODE* |
| 7 | 7 |
| 8 // A class to run the syncer on a thread. Uses PIMPL to wrap the old, original | 8 // A class to run the syncer on a thread. Uses PIMPL to wrap the old, original |
| 9 // pthreads implementation of SyncerThread. | 9 // pthreads implementation of SyncerThread. |
| 10 #ifndef CHROME_BROWSER_SYNC_ENGINE_SYNCER_THREAD_PTHREADS_H_ | 10 #ifndef CHROME_BROWSER_SYNC_ENGINE_SYNCER_THREAD_PTHREADS_H_ |
| (...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 275 user_idle_milliseconds, continue_sync_cycle); | 275 user_idle_milliseconds, continue_sync_cycle); |
| 276 } | 276 } |
| 277 private: | 277 private: |
| 278 scoped_ptr<SyncerThreadPthreadImpl> impl_; | 278 scoped_ptr<SyncerThreadPthreadImpl> impl_; |
| 279 DISALLOW_COPY_AND_ASSIGN(SyncerThreadPthreads); | 279 DISALLOW_COPY_AND_ASSIGN(SyncerThreadPthreads); |
| 280 }; | 280 }; |
| 281 | 281 |
| 282 } // namespace browser_sync | 282 } // namespace browser_sync |
| 283 | 283 |
| 284 #endif // CHROME_BROWSER_SYNC_ENGINE_SYNCER_THREAD_PTHREADS_H_ | 284 #endif // CHROME_BROWSER_SYNC_ENGINE_SYNCER_THREAD_PTHREADS_H_ |
| OLD | NEW |