| OLD | NEW |
| 1 // Copyright (c) 2006-2008 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 // A URLRequestJob class that pulls the content and http headers from disk. | 5 // A net::URLRequestJob class that pulls the content and http headers from disk. |
| 6 | 6 |
| 7 #ifndef CHROME_BROWSER_NET_URL_REQUEST_MOCK_HTTP_JOB_H_ | 7 #ifndef CHROME_BROWSER_NET_URL_REQUEST_MOCK_HTTP_JOB_H_ |
| 8 #define CHROME_BROWSER_NET_URL_REQUEST_MOCK_HTTP_JOB_H_ | 8 #define CHROME_BROWSER_NET_URL_REQUEST_MOCK_HTTP_JOB_H_ |
| 9 #pragma once | 9 #pragma once |
| 10 | 10 |
| 11 #include <string> | 11 #include <string> |
| 12 | 12 |
| 13 #include "net/url_request/url_request_file_job.h" | 13 #include "net/url_request/url_request_file_job.h" |
| 14 | 14 |
| 15 class FilePath; | 15 class FilePath; |
| (...skipping 28 matching lines...) Expand all Loading... |
| 44 | 44 |
| 45 private: | 45 private: |
| 46 void GetResponseInfoConst(net::HttpResponseInfo* info) const; | 46 void GetResponseInfoConst(net::HttpResponseInfo* info) const; |
| 47 | 47 |
| 48 // This is the file path leading to the root of the directory to use as the | 48 // This is the file path leading to the root of the directory to use as the |
| 49 // root of the http server. | 49 // root of the http server. |
| 50 static FilePath base_path_; | 50 static FilePath base_path_; |
| 51 }; | 51 }; |
| 52 | 52 |
| 53 #endif // CHROME_BROWSER_NET_URL_REQUEST_MOCK_HTTP_JOB_H_ | 53 #endif // CHROME_BROWSER_NET_URL_REQUEST_MOCK_HTTP_JOB_H_ |
| OLD | NEW |