Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(58)

Side by Side Diff: content/public/renderer/associated_resource_fetcher.h

Issue 2920663002: Class/struct layout optimization for blink Resource related classes (Closed)
Patch Set: Rebase Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | content/renderer/fetchers/associated_resource_fetcher_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_PUBLIC_RENDERER_ASSOCIATED_RESOURCE_FETCHER_H_ 5 #ifndef CONTENT_PUBLIC_RENDERER_ASSOCIATED_RESOURCE_FETCHER_H_
6 #define CONTENT_PUBLIC_RENDERER_ASSOCIATED_RESOURCE_FETCHER_H_ 6 #define CONTENT_PUBLIC_RENDERER_ASSOCIATED_RESOURCE_FETCHER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "content/common/content_export.h" 11 #include "content/common/content_export.h"
12 #include "third_party/WebKit/public/platform/WebCachePolicy.h"
12 #include "third_party/WebKit/public/platform/WebURLRequest.h" 13 #include "third_party/WebKit/public/platform/WebURLRequest.h"
13 14
14 class GURL; 15 class GURL;
15 16
16 namespace blink { 17 namespace blink {
17 class WebFrame; 18 class WebFrame;
18 class WebURLResponse; 19 class WebURLResponse;
19 enum class WebCachePolicy;
20 struct WebAssociatedURLLoaderOptions; 20 struct WebAssociatedURLLoaderOptions;
21 } 21 }
22 22
23 namespace content { 23 namespace content {
24 24
25 // Interface to download resources asynchronously. 25 // Interface to download resources asynchronously.
26 class CONTENT_EXPORT AssociatedResourceFetcher { 26 class CONTENT_EXPORT AssociatedResourceFetcher {
27 public: 27 public:
28 virtual ~AssociatedResourceFetcher() {} 28 virtual ~AssociatedResourceFetcher() {}
29 29
(...skipping 28 matching lines...) Expand all
58 blink::WebURLRequest::FrameType frame_type, 58 blink::WebURLRequest::FrameType frame_type,
59 const Callback& callback) = 0; 59 const Callback& callback) = 0;
60 60
61 // Manually cancel the request. 61 // Manually cancel the request.
62 virtual void Cancel() = 0; 62 virtual void Cancel() = 0;
63 }; 63 };
64 64
65 } // namespace content 65 } // namespace content
66 66
67 #endif // CONTENT_PUBLIC_RENDERER_ASSOCIATED_RESOURCE_FETCHER_H_ 67 #endif // CONTENT_PUBLIC_RENDERER_ASSOCIATED_RESOURCE_FETCHER_H_
OLDNEW
« no previous file with comments | « no previous file | content/renderer/fetchers/associated_resource_fetcher_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698