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

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

Issue 3412016: FBTF: Move a bunch of code to the headers and remove includes. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Rebase + fixed windows issues locally Created 10 years, 3 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "chrome/browser/automation/automation_resource_message_filter.h"
11 #include "chrome/common/ref_counted_util.h" 10 #include "chrome/common/ref_counted_util.h"
12 #include "net/http/http_response_headers.h"
13 #include "net/url_request/url_request.h" 11 #include "net/url_request/url_request.h"
14 #include "net/url_request/url_request_job.h" 12 #include "net/url_request/url_request_job.h"
15 13
16 class AutomationResourceMessageFilter; 14 class AutomationResourceMessageFilter;
17 15
16 namespace net {
17 class HttpResponseHeaders;
18 class HttpResponseInfo;
19 }
20
18 namespace IPC { 21 namespace IPC {
19 class Message; 22 class Message;
20 struct AutomationURLResponse; 23 struct AutomationURLResponse;
21 }; 24 }
22 25
23 // URLRequestJob implementation that loads the resources using 26 // URLRequestJob implementation that loads the resources using
24 // automation. 27 // automation.
25 class URLRequestAutomationJob : public URLRequestJob { 28 class URLRequestAutomationJob : public URLRequestJob {
26 public: 29 public:
27 URLRequestAutomationJob(URLRequest* request, int tab, int request_id, 30 URLRequestAutomationJob(URLRequest* request, int tab, int request_id,
28 AutomationResourceMessageFilter* filter, 31 AutomationResourceMessageFilter* filter,
29 bool is_pending); 32 bool is_pending);
30 33
31 // Register our factory for HTTP/HTTPs requests. 34 // Register our factory for HTTP/HTTPs requests.
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 120
118 // 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
119 // stack when we receive a Read request for a completed job. 122 // stack when we receive a Read request for a completed job.
120 URLRequestStatus request_status_; 123 URLRequestStatus request_status_;
121 124
122 DISALLOW_COPY_AND_ASSIGN(URLRequestAutomationJob); 125 DISALLOW_COPY_AND_ASSIGN(URLRequestAutomationJob);
123 }; 126 };
124 127
125 #endif // CHROME_BROWSER_AUTOMATION_URL_REQUEST_AUTOMATION_JOB_H_ 128 #endif // CHROME_BROWSER_AUTOMATION_URL_REQUEST_AUTOMATION_JOB_H_
126 129
OLDNEW
« no previous file with comments | « chrome/browser/automation/testing_automation_provider.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