Index: base/threading/simple_thread.h |
diff --git a/base/threading/simple_thread.h b/base/threading/simple_thread.h |
index b107e9cbaedd6590da46d6cd7e107ec11baf9880..f55bd62f251f3be98d24052b2d15a417aa365243 100644 |
--- a/base/threading/simple_thread.h |
+++ b/base/threading/simple_thread.h |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2010 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
@@ -82,9 +82,6 @@ class SimpleThread : public PlatformThread::Delegate { |
virtual void Start(); |
virtual void Join(); |
- // We follow the PlatformThread Delegate interface. |
- virtual void ThreadMain(); |
- |
// Subclasses should override the Run method. |
virtual void Run() = 0; |
@@ -103,6 +100,9 @@ class SimpleThread : public PlatformThread::Delegate { |
// Return True if Join() has evern been called. |
bool HasBeenJoined() { return joined_; } |
+ // Overridden from PlatformThread::Delegate: |
+ virtual void ThreadMain(); |
+ |
private: |
const std::string name_prefix_; |
std::string name_; |