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

Unified Diff: net/url_request/url_request_inet_job.h

Issue 11502: Fix the FTP implementation. Our change to make the MessageLoopForIO not... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 12 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 | « no previous file | net/url_request/url_request_inet_job.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request_inet_job.h
===================================================================
--- net/url_request/url_request_inet_job.h (revision 5686)
+++ net/url_request/url_request_inet_job.h (working copy)
@@ -8,6 +8,7 @@
#include <windows.h>
#include <wininet.h>
+#include "base/lock.h"
#include "net/url_request/url_request.h"
#include "net/url_request/url_request_job.h"
@@ -125,10 +126,6 @@
// One-time global state setup
static void InitializeTheInternet(const std::string& user_agent);
- // Runs on the thread where the first URLRequest was created
- static LRESULT CALLBACK URLRequestWndProc(HWND hwnd, UINT message,
- WPARAM wparam, LPARAM lparam);
-
// Runs on some background thread (called by WinInet)
static void CALLBACK URLRequestStatusCallback(HINTERNET handle,
DWORD_PTR job_id,
@@ -137,7 +134,6 @@
DWORD status_info_len);
static HINTERNET the_internet_;
- static HWND message_hwnd_;
#ifndef NDEBUG
static MessageLoop* my_message_loop_; // Used to sanity-check that all
// requests are made on the same
@@ -156,6 +152,9 @@
// can reuse the async_result_ member for all its asynchronous IOs.
AsyncResult async_result_;
+ Lock loop_lock_;
+ MessageLoop* loop_;
+
DISALLOW_EVIL_CONSTRUCTORS(URLRequestInetJob);
};
« no previous file with comments | « no previous file | net/url_request/url_request_inet_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698