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

Side by Side Diff: content/public/test/test_browser_thread.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 | « content/browser/browser_thread_impl.h ('k') | content/public/test/test_browser_thread.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) 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_PUBLIC_TEST_TEST_BROWSER_THREAD_H_ 5 #ifndef CONTENT_PUBLIC_TEST_TEST_BROWSER_THREAD_H_
6 #define CONTENT_PUBLIC_TEST_TEST_BROWSER_THREAD_H_ 6 #define CONTENT_PUBLIC_TEST_TEST_BROWSER_THREAD_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "content/public/browser/browser_thread.h" 10 #include "content/public/browser/browser_thread.h"
(...skipping 30 matching lines...) Expand all
41 // Stops the thread. 41 // Stops the thread.
42 void Stop(); 42 void Stop();
43 43
44 // Returns true if the thread is running. 44 // Returns true if the thread is running.
45 bool IsRunning(); 45 bool IsRunning();
46 46
47 // Returns a Thread pointer for the thread. This should not be used 47 // Returns a Thread pointer for the thread. This should not be used
48 // in new tests. 48 // in new tests.
49 base::Thread* DeprecatedGetThreadObject(); 49 base::Thread* DeprecatedGetThreadObject();
50 50
51 // Sets the message loop to use for the thread. This should not be
52 // used in new tests.
53 void DeprecatedSetMessageLoop(MessageLoop* loop);
54
55 private: 51 private:
56 scoped_ptr<TestBrowserThreadImpl> impl_; 52 scoped_ptr<TestBrowserThreadImpl> impl_;
57 53
58 DISALLOW_COPY_AND_ASSIGN(TestBrowserThread); 54 DISALLOW_COPY_AND_ASSIGN(TestBrowserThread);
59 }; 55 };
60 56
61 } // namespace content 57 } // namespace content
62 58
63 #endif // CONTENT_PUBLIC_TEST_TEST_BROWSER_THREAD_H_ 59 #endif // CONTENT_PUBLIC_TEST_TEST_BROWSER_THREAD_H_
OLDNEW
« no previous file with comments | « content/browser/browser_thread_impl.h ('k') | content/public/test/test_browser_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698