Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(525)

Side by Side Diff: chrome/browser/sync/engine/syncer_thread.h

Issue 5977010: Move CancellationFlag and WaitableEvent to the synchronization subdirectory.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 // A class to run the syncer on a thread. 5 // A class to run the syncer on a thread.
6 // This is the default implementation of SyncerThread whose Stop implementation 6 // This is the default implementation of SyncerThread whose Stop implementation
7 // does not support a timeout, but is greatly simplified. 7 // does not support a timeout, but is greatly simplified.
8 #ifndef CHROME_BROWSER_SYNC_ENGINE_SYNCER_THREAD_H_ 8 #ifndef CHROME_BROWSER_SYNC_ENGINE_SYNCER_THREAD_H_
9 #define CHROME_BROWSER_SYNC_ENGINE_SYNCER_THREAD_H_ 9 #define CHROME_BROWSER_SYNC_ENGINE_SYNCER_THREAD_H_
10 #pragma once 10 #pragma once
11 11
12 #include <list> 12 #include <list>
13 #include <string> 13 #include <string>
14 #include <vector> 14 #include <vector>
15 15
16 #include "base/basictypes.h" 16 #include "base/basictypes.h"
17 #include "base/gtest_prod_util.h" 17 #include "base/gtest_prod_util.h"
18 #include "base/ref_counted.h" 18 #include "base/ref_counted.h"
19 #include "base/scoped_ptr.h" 19 #include "base/scoped_ptr.h"
20 #include "base/synchronization/condition_variable.h" 20 #include "base/synchronization/condition_variable.h"
21 #include "base/threading/thread.h" 21 #include "base/threading/thread.h"
22 #include "base/time.h" 22 #include "base/time.h"
23 #include "base/waitable_event.h" 23 #include "base/synchronization/waitable_event.h"
24 #include "chrome/browser/sync/engine/syncer_types.h" 24 #include "chrome/browser/sync/engine/syncer_types.h"
25 #include "chrome/browser/sync/sessions/sync_session.h" 25 #include "chrome/browser/sync/sessions/sync_session.h"
26 #include "chrome/browser/sync/syncable/model_type.h" 26 #include "chrome/browser/sync/syncable/model_type.h"
27 #include "chrome/common/deprecated/event_sys-inl.h" 27 #include "chrome/common/deprecated/event_sys-inl.h"
28 28
29 #if defined(OS_LINUX) 29 #if defined(OS_LINUX)
30 #include "chrome/browser/sync/engine/idle_query_linux.h" 30 #include "chrome/browser/sync/engine/idle_query_linux.h"
31 #endif 31 #endif
32 32
33 class EventListenerHookup; 33 class EventListenerHookup;
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 344
345 // Useful for unit tests 345 // Useful for unit tests
346 bool disable_idle_detection_; 346 bool disable_idle_detection_;
347 347
348 DISALLOW_COPY_AND_ASSIGN(SyncerThread); 348 DISALLOW_COPY_AND_ASSIGN(SyncerThread);
349 }; 349 };
350 350
351 } // namespace browser_sync 351 } // namespace browser_sync
352 352
353 #endif // CHROME_BROWSER_SYNC_ENGINE_SYNCER_THREAD_H_ 353 #endif // CHROME_BROWSER_SYNC_ENGINE_SYNCER_THREAD_H_
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/render_widget_helper.h ('k') | chrome/browser/sync/engine/syncer_thread_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698