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

Unified Diff: chrome/browser/sync/util/event_sys.h

Issue 251080: Sync: Remove pthreads from event_sys code. Remove asynch version of GaiaAuthe... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/sync/syncable/syncable.h ('k') | chrome/browser/sync/util/event_sys-inl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/util/event_sys.h
===================================================================
--- chrome/browser/sync/util/event_sys.h (revision 27909)
+++ chrome/browser/sync/util/event_sys.h (working copy)
@@ -5,7 +5,8 @@
#ifndef CHROME_BROWSER_SYNC_UTIL_EVENT_SYS_H_
#define CHROME_BROWSER_SYNC_UTIL_EVENT_SYS_H_
-#include "chrome/browser/sync/util/pthread_helpers_fwd.h"
+class AutoLock;
+class Lock;
// An abstract base class for listening to events.
//
@@ -19,8 +20,8 @@
// See the -inl.h for details about the following.
-template <typename EventTraits, typename NotifyLock = PThreadNoLock,
- typename ScopedNotifyLocker = PThreadScopedLock<NotifyLock> >
+template <typename EventTraits, typename NotifyLock = Lock,
+ typename ScopedNotifyLocker = AutoLock>
class EventChannel;
class EventListenerHookup;
« no previous file with comments | « chrome/browser/sync/syncable/syncable.h ('k') | chrome/browser/sync/util/event_sys-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698