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

Unified Diff: chrome/browser/sync/engine/auth_watcher.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/engine/all_status.h ('k') | chrome/browser/sync/engine/auth_watcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/engine/auth_watcher.h
===================================================================
--- chrome/browser/sync/engine/auth_watcher.h (revision 27909)
+++ chrome/browser/sync/engine/auth_watcher.h (working copy)
@@ -87,7 +87,7 @@
// server (initial sync complete).
bool LoadDirectoryListAndOpen(const PathString& login);
- typedef EventChannel<AuthWatcherEvent, PThreadMutex> Channel;
+ typedef EventChannel<AuthWatcherEvent, Lock> Channel;
inline Channel* channel() const {
return channel_.get();
@@ -180,7 +180,7 @@
AllStatus* const allstatus_;
// TODO(chron): It is incorrect to make assignments to AtomicWord.
volatile base::subtle::AtomicWord status_;
- UserSettings* user_settings_;
+ UserSettings* const user_settings_;
TalkMediator* talk_mediator_; // Interface to the notifications engine.
scoped_ptr<Channel> channel_;
« no previous file with comments | « chrome/browser/sync/engine/all_status.h ('k') | chrome/browser/sync/engine/auth_watcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698