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

Unified Diff: content/child/webthread_impl.h

Issue 109283006: Redirect HTML resource bytes directly to parser thread (Chrome side CL) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/child/web_url_loader_impl.cc ('k') | content/content_child.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/webthread_impl.h
diff --git a/content/child/webthread_impl.h b/content/child/webthread_impl.h
index 649cad8d64738d7da5fa6b7faee1ecde9554a293..4c81b2579d6806fc2f2d601682ed2446a095a056 100644
--- a/content/child/webthread_impl.h
+++ b/content/child/webthread_impl.h
@@ -14,7 +14,7 @@
namespace content {
-class WebThreadBase : public blink::WebThread {
+class CONTENT_EXPORT WebThreadBase : public blink::WebThread {
public:
virtual ~WebThreadBase();
@@ -33,10 +33,10 @@ class WebThreadBase : public blink::WebThread {
TaskObserverMap task_observer_map_;
};
-class WebThreadImpl : public WebThreadBase {
+class CONTENT_EXPORT WebThreadImpl : public WebThreadBase {
public:
- CONTENT_EXPORT explicit WebThreadImpl(const char* name);
- CONTENT_EXPORT virtual ~WebThreadImpl();
+ explicit WebThreadImpl(const char* name);
+ virtual ~WebThreadImpl();
virtual void postTask(Task* task);
virtual void postDelayedTask(Task* task, long long delay_ms);
@@ -46,8 +46,9 @@ class WebThreadImpl : public WebThreadBase {
base::MessageLoop* message_loop() const { return thread_->message_loop(); }
- private:
virtual bool isCurrentThread() const OVERRIDE;
+
+ private:
scoped_ptr<base::Thread> thread_;
};
@@ -57,11 +58,11 @@ class WebThreadImplForMessageLoop : public WebThreadBase {
base::MessageLoopProxy* message_loop);
CONTENT_EXPORT virtual ~WebThreadImplForMessageLoop();
- virtual void postTask(Task* task);
- virtual void postDelayedTask(Task* task, long long delay_ms);
+ virtual void postTask(Task* task) OVERRIDE;
+ virtual void postDelayedTask(Task* task, long long delay_ms) OVERRIDE;
- virtual void enterRunLoop();
- virtual void exitRunLoop();
+ virtual void enterRunLoop() OVERRIDE;
+ virtual void exitRunLoop() OVERRIDE;
private:
virtual bool isCurrentThread() const OVERRIDE;
« no previous file with comments | « content/child/web_url_loader_impl.cc ('k') | content/content_child.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698