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

Side by Side Diff: content/test/test_browser_thread.cc

Issue 10500016: Move test_browser_thread.h from content\test to content\public\test. This way we can enforce that i… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 6 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 | « content/test/test_browser_thread.h ('k') | content/test/webrtc_audio_device_test.cc » ('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) 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/public/test/test_browser_thread.h"
6 6
7 #include "base/message_loop.h" 7 #include "base/message_loop.h"
8 #include "base/threading/thread.h" 8 #include "base/threading/thread.h"
9 #include "content/browser/browser_thread_impl.h" 9 #include "content/browser/browser_thread_impl.h"
10 #include "content/browser/notification_service_impl.h" 10 #include "content/browser/notification_service_impl.h"
11 11
12 namespace content { 12 namespace content {
13 13
14 // This gives access to set_message_loop(). 14 // This gives access to set_message_loop().
15 class TestBrowserThreadImpl : public BrowserThreadImpl { 15 class TestBrowserThreadImpl : public BrowserThreadImpl {
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 82
83 base::Thread* TestBrowserThread::DeprecatedGetThreadObject() { 83 base::Thread* TestBrowserThread::DeprecatedGetThreadObject() {
84 return impl_.get(); 84 return impl_.get();
85 } 85 }
86 86
87 void TestBrowserThread::DeprecatedSetMessageLoop(MessageLoop* loop) { 87 void TestBrowserThread::DeprecatedSetMessageLoop(MessageLoop* loop) {
88 impl_->set_message_loop(loop); 88 impl_->set_message_loop(loop);
89 } 89 }
90 90
91 } // namespace content 91 } // namespace content
OLDNEW
« no previous file with comments | « content/test/test_browser_thread.h ('k') | content/test/webrtc_audio_device_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698