NO CODE CHANGE (except one global std::wstring changed to const wchar_t* const per style compliance).
Preliminary work to enforce new PRESUBMIT.py rules:
- <=80 cols
- no trailing whitespaces
- svn:eol-style=LF
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10791 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/base/observer_list_threadsafe.h b/base/observer_list_threadsafe.h
index 70a76c8..dfff061 100644
--- a/base/observer_list_threadsafe.h
+++ b/base/observer_list_threadsafe.h
@@ -20,9 +20,9 @@
// OVERVIEW:
//
// A thread-safe container for a list of observers.
-// This is similar to the observer_list (see observer_list.h), but it
+// This is similar to the observer_list (see observer_list.h), but it
// is more robust for multi-threaded situations.
-//
+//
// The following use cases are supported:
// * Observers can register for notifications from any thread.
// Callbacks to the observer will occur on the same thread where
@@ -42,14 +42,14 @@
//
// IMPLEMENTATION NOTES
// The ObserverListThreadSafe maintains an ObserverList for each thread
-// which uses the ThreadSafeObserver. When Notifying the observers,
+// which uses the ThreadSafeObserver. When Notifying the observers,
// we simply call PostTask to each registered thread, and then each thread
// will notify its regular ObserverList.
//
///////////////////////////////////////////////////////////////////////////////
template <class ObserverType>
-class ObserverListThreadSafe :
- public base::RefCountedThreadSafe<ObserverListThreadSafe<ObserverType> > {
+class ObserverListThreadSafe
+ : public base::RefCountedThreadSafe<ObserverListThreadSafe<ObserverType> > {
public:
ObserverListThreadSafe() {}
@@ -138,7 +138,7 @@
MessageLoop* loop = (*it).first;
ObserverList<ObserverType>* list = (*it).second;
loop->PostTask(FROM_HERE,
- NewRunnableMethod(this,
+ NewRunnableMethod(this,
&ObserverListThreadSafe<ObserverType>::
template NotifyWrapper<Method, Params>, list, method));
}