| OLD | NEW |
| 1 // Copyright (c) 2006-2009 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 <vector> | |
| 11 | |
| 12 #include "chrome/browser/automation/automation_resource_message_filter.h" | 10 #include "chrome/browser/automation/automation_resource_message_filter.h" |
| 13 #include "chrome/common/ref_counted_util.h" | 11 #include "chrome/common/ref_counted_util.h" |
| 14 #include "net/http/http_response_headers.h" | 12 #include "net/http/http_response_headers.h" |
| 15 #include "net/url_request/url_request.h" | 13 #include "net/url_request/url_request.h" |
| 16 #include "net/url_request/url_request_job.h" | 14 #include "net/url_request/url_request_job.h" |
| 17 | 15 |
| 18 class AutomationResourceMessageFilter; | 16 class AutomationResourceMessageFilter; |
| 19 | 17 |
| 20 namespace IPC { | 18 namespace IPC { |
| 21 class Message; | 19 class Message; |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 | 117 |
| 120 // Contains the request status code, which is eventually passed to the http | 118 // Contains the request status code, which is eventually passed to the http |
| 121 // stack when we receive a Read request for a completed job. | 119 // stack when we receive a Read request for a completed job. |
| 122 URLRequestStatus request_status_; | 120 URLRequestStatus request_status_; |
| 123 | 121 |
| 124 DISALLOW_COPY_AND_ASSIGN(URLRequestAutomationJob); | 122 DISALLOW_COPY_AND_ASSIGN(URLRequestAutomationJob); |
| 125 }; | 123 }; |
| 126 | 124 |
| 127 #endif // CHROME_BROWSER_AUTOMATION_URL_REQUEST_AUTOMATION_JOB_H_ | 125 #endif // CHROME_BROWSER_AUTOMATION_URL_REQUEST_AUTOMATION_JOB_H_ |
| 128 | 126 |
| OLD | NEW |