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

Unified Diff: runtime/bin/lockers.h

Issue 471743002: - Make sure that the threads for dart::bin are in the correct namespace. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 4 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 | « runtime/bin/eventhandler_win.cc ('k') | runtime/bin/process.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/lockers.h
===================================================================
--- runtime/bin/lockers.h (revision 39229)
+++ runtime/bin/lockers.h (working copy)
@@ -14,7 +14,7 @@
class MutexLocker {
public:
- explicit MutexLocker(dart::Mutex* mutex) : mutex_(mutex) {
+ explicit MutexLocker(Mutex* mutex) : mutex_(mutex) {
ASSERT(mutex != NULL);
mutex_->Lock();
}
@@ -24,7 +24,7 @@
}
private:
- dart::Mutex* const mutex_;
+ Mutex* const mutex_;
DISALLOW_COPY_AND_ASSIGN(MutexLocker);
};
@@ -32,7 +32,7 @@
class MonitorLocker {
public:
- explicit MonitorLocker(dart::Monitor* monitor) : monitor_(monitor) {
+ explicit MonitorLocker(Monitor* monitor) : monitor_(monitor) {
ASSERT(monitor != NULL);
monitor_->Enter();
}
@@ -41,7 +41,7 @@
monitor_->Exit();
}
- dart::Monitor::WaitResult Wait(int64_t millis = dart::Monitor::kNoTimeout) {
+ Monitor::WaitResult Wait(int64_t millis = Monitor::kNoTimeout) {
return monitor_->Wait(millis);
}
@@ -54,7 +54,7 @@
}
private:
- dart::Monitor* const monitor_;
+ Monitor* const monitor_;
DISALLOW_COPY_AND_ASSIGN(MonitorLocker);
};
« no previous file with comments | « runtime/bin/eventhandler_win.cc ('k') | runtime/bin/process.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698