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

Unified Diff: ios/web/public/test/test_web_thread_bundle.h

Issue 1406983008: [iOS] ios/web no longer depends on content::BrowserThread. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ios/web/ios_web_unittests.gyp ('k') | ios/web/public/web_thread.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/public/test/test_web_thread_bundle.h
diff --git a/ios/web/public/test/test_web_thread_bundle.h b/ios/web/public/test/test_web_thread_bundle.h
index 425cc51b1303d8b71ce04dff2ff45e0d46c4ce6a..1f586d52d5741c69985b6c25be2bc238c0a26ed7 100644
--- a/ios/web/public/test/test_web_thread_bundle.h
+++ b/ios/web/public/test/test_web_thread_bundle.h
@@ -33,9 +33,13 @@
#include "base/macros.h"
#include "base/memory/scoped_ptr.h"
+namespace base {
+class MessageLoop;
+}
+
namespace web {
-class TestWebThreadBundleImpl;
+class TestWebThread;
class TestWebThreadBundle {
public:
@@ -58,7 +62,15 @@ class TestWebThreadBundle {
~TestWebThreadBundle();
private:
- scoped_ptr<TestWebThreadBundleImpl> impl_;
+ void Init(int options);
+
+ scoped_ptr<base::MessageLoop> message_loop_;
+ scoped_ptr<TestWebThread> ui_thread_;
+ scoped_ptr<TestWebThread> db_thread_;
+ scoped_ptr<TestWebThread> file_thread_;
+ scoped_ptr<TestWebThread> file_user_blocking_thread_;
+ scoped_ptr<TestWebThread> cache_thread_;
+ scoped_ptr<TestWebThread> io_thread_;
DISALLOW_COPY_AND_ASSIGN(TestWebThreadBundle);
};
« no previous file with comments | « ios/web/ios_web_unittests.gyp ('k') | ios/web/public/web_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698