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

Side by Side Diff: content/browser/browser_thread_impl.h

Issue 11881025: content: Remove deprecated method from TestBrowserThread. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | content/public/test/test_browser_thread.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_BROWSER_THREAD_IMPL_H_ 5 #ifndef CONTENT_BROWSER_BROWSER_THREAD_IMPL_H_
6 #define CONTENT_BROWSER_BROWSER_THREAD_IMPL_H_ 6 #define CONTENT_BROWSER_BROWSER_THREAD_IMPL_H_
7 7
8 #include "base/threading/thread.h" 8 #include "base/threading/thread.h"
9 #include "content/common/content_export.h" 9 #include "content/common/content_export.h"
10 #include "content/public/browser/browser_thread.h" 10 #include "content/public/browser/browser_thread.h"
11 11
12 namespace content { 12 namespace content {
13 13
14 class CONTENT_EXPORT BrowserThreadImpl 14 class CONTENT_EXPORT BrowserThreadImpl : public BrowserThread,
15 : public BrowserThread, public base::Thread { 15 public base::Thread {
16 public: 16 public:
17 // Construct a BrowserThreadImpl with the supplied identifier. It is an error 17 // Construct a BrowserThreadImpl with the supplied identifier. It is an error
18 // to construct a BrowserThreadImpl that already exists. 18 // to construct a BrowserThreadImpl that already exists.
19 explicit BrowserThreadImpl(BrowserThread::ID identifier); 19 explicit BrowserThreadImpl(BrowserThread::ID identifier);
20 20
21 // Special constructor for the main (UI) thread and unittests. We use a dummy 21 // Special constructor for the main (UI) thread and unittests. We use a dummy
22 // thread here since the main thread already exists. 22 // thread here since the main thread already exists.
23 BrowserThreadImpl(BrowserThread::ID identifier, MessageLoop* message_loop); 23 BrowserThreadImpl(BrowserThread::ID identifier, MessageLoop* message_loop);
24 virtual ~BrowserThreadImpl(); 24 virtual ~BrowserThreadImpl();
25 25
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 void Initialize(); 58 void Initialize();
59 59
60 // The identifier of this thread. Only one thread can exist with a given 60 // The identifier of this thread. Only one thread can exist with a given
61 // identifier at a given time. 61 // identifier at a given time.
62 ID identifier_; 62 ID identifier_;
63 }; 63 };
64 64
65 } // namespace content 65 } // namespace content
66 66
67 #endif // CONTENT_BROWSER_BROWSER_THREAD_IMPL_H_ 67 #endif // CONTENT_BROWSER_BROWSER_THREAD_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/public/test/test_browser_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698