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

Side by Side Diff: content/public/test/test_browser_thread.h

Issue 2464233002: Experiment with redirecting all BrowserThreads (but UI/IO) to TaskScheduler (Closed)
Patch Set: remove WaitUntilThreadStarted on Android, makes Android test instrumentation hang, is previous issu… Created 4 years 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
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 <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 45
46 // Stops the thread. 46 // Stops the thread.
47 void Stop(); 47 void Stop();
48 48
49 // Returns true if the thread is running. 49 // Returns true if the thread is running.
50 bool IsRunning(); 50 bool IsRunning();
51 51
52 private: 52 private:
53 std::unique_ptr<TestBrowserThreadImpl> impl_; 53 std::unique_ptr<TestBrowserThreadImpl> impl_;
54 54
55 const BrowserThread::ID identifier_;
56
55 DISALLOW_COPY_AND_ASSIGN(TestBrowserThread); 57 DISALLOW_COPY_AND_ASSIGN(TestBrowserThread);
56 }; 58 };
57 59
58 } // namespace content 60 } // namespace content
59 61
60 #endif // CONTENT_PUBLIC_TEST_TEST_BROWSER_THREAD_H_ 62 #endif // CONTENT_PUBLIC_TEST_TEST_BROWSER_THREAD_H_
OLDNEW
« no previous file with comments | « content/public/browser/content_browser_client.cc ('k') | content/public/test/test_browser_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698