OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CONTENT_TEST_TEST_BROWSER_BROWSER_THREAD_H_ |
| 6 #define CONTENT_TEST_TEST_BROWSER_BROWSER_THREAD_H_ |
| 7 #pragma once |
| 8 |
| 9 #include "content/browser/browser_thread_impl.h" |
| 10 |
| 11 namespace content { |
| 12 |
| 13 // A BrowserThread for unit tests; this lets unit tests in chrome/ |
| 14 // create BrowserThread instances. |
| 15 class TestBrowserThread : public BrowserThreadImpl { |
| 16 public: |
| 17 explicit TestBrowserThread(ID identifier); |
| 18 TestBrowserThread(ID identifier, MessageLoop* message_loop); |
| 19 virtual ~TestBrowserThread(); |
| 20 }; |
| 21 |
| 22 } // namespace content |
| 23 |
| 24 #endif // CONTENT_TEST_TEST_BROWSER_BROWSER_THREAD_H_ |
OLD | NEW |