| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #include "content/test/test_browser_thread.h" | 5 #include "content/test/test_browser_thread.h" |
| 6 | 6 |
| 7 namespace content { | 7 namespace content { |
| 8 | 8 |
| 9 TestBrowserThread::TestBrowserThread(ID identifier) | 9 TestBrowserThread::TestBrowserThread(ID identifier) |
| 10 : BrowserThreadImpl(identifier) { | 10 : BrowserThreadImpl(identifier) { |
| 11 } | 11 } |
| 12 | 12 |
| 13 TestBrowserThread::TestBrowserThread(ID identifier, MessageLoop* message_loop) | 13 TestBrowserThread::TestBrowserThread(ID identifier, MessageLoop* message_loop) |
| 14 : BrowserThreadImpl(identifier, message_loop) { | 14 : BrowserThreadImpl(identifier, message_loop) { |
| 15 } | 15 } |
| 16 | 16 |
| 17 TestBrowserThread::~TestBrowserThread() { | 17 TestBrowserThread::~TestBrowserThread() { |
| 18 Stop(); |
| 18 } | 19 } |
| 19 | 20 |
| 20 } // namespace content | 21 } // namespace content |
| OLD | NEW |