| OLD | NEW |
| 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 | 4 |
| 5 #ifndef NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_ | 5 #ifndef NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_ |
| 6 #define NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_ | 6 #define NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/scoped_ptr.h" | 12 #include "base/scoped_ptr.h" |
| 13 #include "base/string16.h" | 13 #include "base/string16.h" |
| 14 #include "base/task.h" |
| 14 #include "net/base/auth.h" | 15 #include "net/base/auth.h" |
| 15 #include "net/base/completion_callback.h" | 16 #include "net/base/completion_callback.h" |
| 16 #include "net/http/http_request_info.h" | 17 #include "net/http/http_request_info.h" |
| 17 #include "net/url_request/url_request_job.h" | 18 #include "net/url_request/url_request_job.h" |
| 18 #include "net/url_request/url_request_throttler_entry_interface.h" | 19 #include "net/url_request/url_request_throttler_entry_interface.h" |
| 19 | 20 |
| 20 namespace net { | 21 namespace net { |
| 21 class HttpResponseInfo; | 22 class HttpResponseInfo; |
| 22 class HttpTransaction; | 23 class HttpTransaction; |
| 23 } | 24 } |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 // indicate what we decided on for this instance. | 129 // indicate what we decided on for this instance. |
| 129 bool sdch_test_activated_; // Advertising a dictionary for sdch. | 130 bool sdch_test_activated_; // Advertising a dictionary for sdch. |
| 130 bool sdch_test_control_; // Not even accepting-content sdch. | 131 bool sdch_test_control_; // Not even accepting-content sdch. |
| 131 | 132 |
| 132 // For recording of stats, we need to remember if this is cached content. | 133 // For recording of stats, we need to remember if this is cached content. |
| 133 bool is_cached_content_; | 134 bool is_cached_content_; |
| 134 | 135 |
| 135 private: | 136 private: |
| 136 virtual ~URLRequestHttpJob(); | 137 virtual ~URLRequestHttpJob(); |
| 137 | 138 |
| 139 ScopedRunnableMethodFactory<URLRequestHttpJob> method_factory_; |
| 140 |
| 138 DISALLOW_COPY_AND_ASSIGN(URLRequestHttpJob); | 141 DISALLOW_COPY_AND_ASSIGN(URLRequestHttpJob); |
| 139 }; | 142 }; |
| 140 | 143 |
| 141 #endif // NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_ | 144 #endif // NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_ |
| OLD | NEW |