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

Unified Diff: chrome/common/child_thread.h

Issue 126070: Make XHR work in Workers. Creates a 'shadow page' in a worker process to prox... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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 | « no previous file | chrome/renderer/renderer_glue.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/child_thread.h
===================================================================
--- chrome/common/child_thread.h (revision 18410)
+++ chrome/common/child_thread.h (working copy)
@@ -34,6 +34,9 @@
return resource_dispatcher_.get();
}
+ // Returns the one child thread.
+ static ChildThread* current();
+
protected:
friend class ChildProcess;
@@ -52,9 +55,6 @@
virtual void OnControlMessageReceived(const IPC::Message& msg) { }
- // Returns the one child thread.
- static ChildThread* current();
-
IPC::SyncChannel* channel() { return channel_.get(); }
// Thread implementation.
« no previous file with comments | « no previous file | chrome/renderer/renderer_glue.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698