| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CHROME_BROWSER_CHROMEOS_FILEAPI_EXTERNAL_FILE_URL_REQUEST_JOB_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_FILEAPI_EXTERNAL_FILE_URL_REQUEST_JOB_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_FILEAPI_EXTERNAL_FILE_URL_REQUEST_JOB_H_ | 6 #define CHROME_BROWSER_CHROMEOS_FILEAPI_EXTERNAL_FILE_URL_REQUEST_JOB_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "base/callback.h" | 11 #include "base/callback.h" |
| 12 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
| 13 #include "chrome/browser/chromeos/drive/file_errors.h" | 13 #include "components/drive/file_errors.h" |
| 14 #include "net/base/net_errors.h" | 14 #include "net/base/net_errors.h" |
| 15 #include "net/http/http_byte_range.h" | 15 #include "net/http/http_byte_range.h" |
| 16 #include "net/url_request/url_request_job.h" | 16 #include "net/url_request/url_request_job.h" |
| 17 #include "storage/browser/fileapi/file_stream_reader.h" | 17 #include "storage/browser/fileapi/file_stream_reader.h" |
| 18 #include "storage/browser/fileapi/file_system_url.h" | 18 #include "storage/browser/fileapi/file_system_url.h" |
| 19 | 19 |
| 20 namespace net { | 20 namespace net { |
| 21 class IOBuffer; | 21 class IOBuffer; |
| 22 class NetworkDelegate; | 22 class NetworkDelegate; |
| 23 class URLRequest; | 23 class URLRequest; |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 | 103 |
| 104 // This should remain the last member so it'll be destroyed first and | 104 // This should remain the last member so it'll be destroyed first and |
| 105 // invalidate its weak pointers before other members are destroyed. | 105 // invalidate its weak pointers before other members are destroyed. |
| 106 base::WeakPtrFactory<ExternalFileURLRequestJob> weak_ptr_factory_; | 106 base::WeakPtrFactory<ExternalFileURLRequestJob> weak_ptr_factory_; |
| 107 DISALLOW_COPY_AND_ASSIGN(ExternalFileURLRequestJob); | 107 DISALLOW_COPY_AND_ASSIGN(ExternalFileURLRequestJob); |
| 108 }; | 108 }; |
| 109 | 109 |
| 110 } // namespace chromeos | 110 } // namespace chromeos |
| 111 | 111 |
| 112 #endif // CHROME_BROWSER_CHROMEOS_FILEAPI_EXTERNAL_FILE_URL_REQUEST_JOB_H_ | 112 #endif // CHROME_BROWSER_CHROMEOS_FILEAPI_EXTERNAL_FILE_URL_REQUEST_JOB_H_ |
| OLD | NEW |