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

Unified Diff: remoting/base/tracer.cc

Issue 6001010: Move platform_thread to base/threading and put in the base namespace. I left ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years 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 | « net/socket/tcp_client_socket_pool_unittest.cc ('k') | webkit/tools/test_shell/simple_database_system.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/base/tracer.cc
===================================================================
--- remoting/base/tracer.cc (revision 70328)
+++ remoting/base/tracer.cc (working copy)
@@ -10,6 +10,7 @@
#include "base/condition_variable.h"
#include "base/lazy_instance.h"
#include "base/message_loop.h"
+#include "base/platform_thread.h"
#include "base/rand_util.h"
#include "base/ref_counted.h"
#include "base/stl_util-inl.h"
@@ -135,7 +136,7 @@
// Take the pointer for the current messageloop as identifying for the
// current thread.
- record->set_thread_id(static_cast<uint64>(PlatformThread::CurrentId()));
+ record->set_thread_id(static_cast<uint64>(base::PlatformThread::CurrentId()));
}
Tracer::~Tracer() {
« no previous file with comments | « net/socket/tcp_client_socket_pool_unittest.cc ('k') | webkit/tools/test_shell/simple_database_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698