OLD | NEW |
1 // Copyright (c) 2017 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2017 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 CONTENT_BROWSER_APPCACHE_APPCACHE_URL_LOADER_REQUEST_H_ | 5 #ifndef CONTENT_BROWSER_APPCACHE_APPCACHE_URL_LOADER_REQUEST_H_ |
6 #define CONTENT_BROWSER_APPCACHE_APPCACHE_URL_LOADER_REQUEST_H_ | 6 #define CONTENT_BROWSER_APPCACHE_APPCACHE_URL_LOADER_REQUEST_H_ |
7 | 7 |
8 #include "content/browser/appcache/appcache_request.h" | 8 #include "content/browser/appcache/appcache_request.h" |
9 #include "content/common/resource_request.h" | 9 #include "content/public/common/resource_request.h" |
10 | 10 |
11 namespace content { | 11 namespace content { |
12 | 12 |
13 // AppCacheRequest wrapper for the ResourceRequest class for users of | 13 // AppCacheRequest wrapper for the ResourceRequest class for users of |
14 // URLLoader. | 14 // URLLoader. |
15 class CONTENT_EXPORT AppCacheURLLoaderRequest : public AppCacheRequest { | 15 class CONTENT_EXPORT AppCacheURLLoaderRequest : public AppCacheRequest { |
16 public: | 16 public: |
17 // Factory function to create an instance of the AppCacheResourceRequest | 17 // Factory function to create an instance of the AppCacheResourceRequest |
18 // class. | 18 // class. |
19 static std::unique_ptr<AppCacheURLLoaderRequest> Create( | 19 static std::unique_ptr<AppCacheURLLoaderRequest> Create( |
(...skipping 25 matching lines...) Expand all Loading... |
45 | 45 |
46 private: | 46 private: |
47 ResourceRequest request_; | 47 ResourceRequest request_; |
48 | 48 |
49 DISALLOW_COPY_AND_ASSIGN(AppCacheURLLoaderRequest); | 49 DISALLOW_COPY_AND_ASSIGN(AppCacheURLLoaderRequest); |
50 }; | 50 }; |
51 | 51 |
52 } // namespace content | 52 } // namespace content |
53 | 53 |
54 #endif // CONTENT_BROWSER_APPCACHE_APPCACHE_URL_LOADER_REQUEST_H_ | 54 #endif // CONTENT_BROWSER_APPCACHE_APPCACHE_URL_LOADER_REQUEST_H_ |
OLD | NEW |