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

Side by Side Diff: chrome/browser/automation/url_request_automation_job.h

Issue 6166010: net: Remove typedef net::URLRequestStatus URLRequestStatus; (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 11 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 // This class simulates what wininet does when a dns lookup fails. 4 // This class simulates what wininet does when a dns lookup fails.
5 5
6 #ifndef CHROME_BROWSER_AUTOMATION_URL_REQUEST_AUTOMATION_JOB_H_ 6 #ifndef CHROME_BROWSER_AUTOMATION_URL_REQUEST_AUTOMATION_JOB_H_
7 #define CHROME_BROWSER_AUTOMATION_URL_REQUEST_AUTOMATION_JOB_H_ 7 #define CHROME_BROWSER_AUTOMATION_URL_REQUEST_AUTOMATION_JOB_H_
8 #pragma once 8 #pragma once
9 9
10 #include "base/task.h" 10 #include "base/task.h"
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 static net::URLRequest::ProtocolFactory* old_http_factory_; 113 static net::URLRequest::ProtocolFactory* old_http_factory_;
114 static net::URLRequest::ProtocolFactory* old_https_factory_; 114 static net::URLRequest::ProtocolFactory* old_https_factory_;
115 115
116 // Set to true if the job is waiting for the external host to connect to the 116 // Set to true if the job is waiting for the external host to connect to the
117 // automation channel, which will be used for routing the network requests to 117 // automation channel, which will be used for routing the network requests to
118 // the host. 118 // the host.
119 bool is_pending_; 119 bool is_pending_;
120 120
121 // Contains the request status code, which is eventually passed to the http 121 // Contains the request status code, which is eventually passed to the http
122 // stack when we receive a Read request for a completed job. 122 // stack when we receive a Read request for a completed job.
123 URLRequestStatus request_status_; 123 net::URLRequestStatus request_status_;
124 124
125 ScopedRunnableMethodFactory<URLRequestAutomationJob> method_factory_; 125 ScopedRunnableMethodFactory<URLRequestAutomationJob> method_factory_;
126 126
127 DISALLOW_COPY_AND_ASSIGN(URLRequestAutomationJob); 127 DISALLOW_COPY_AND_ASSIGN(URLRequestAutomationJob);
128 }; 128 };
129 129
130 #endif // CHROME_BROWSER_AUTOMATION_URL_REQUEST_AUTOMATION_JOB_H_ 130 #endif // CHROME_BROWSER_AUTOMATION_URL_REQUEST_AUTOMATION_JOB_H_
OLDNEW
« no previous file with comments | « chrome/browser/autofill/autofill_download_unittest.cc ('k') | chrome/browser/automation/url_request_automation_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698