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

Side by Side Diff: content/renderer/internal_document_state_data.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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_RENDERER_INTERNAL_DOCUMENT_STATE_DATA_H_ 5 #ifndef CONTENT_RENDERER_INTERNAL_DOCUMENT_STATE_DATA_H_
6 #define CONTENT_RENDERER_INTERNAL_DOCUMENT_STATE_DATA_H_ 6 #define CONTENT_RENDERER_INTERNAL_DOCUMENT_STATE_DATA_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/supports_user_data.h" 12 #include "base/supports_user_data.h"
13 #include "third_party/WebKit/public/platform/WebCachePolicy.h" 13 #include "third_party/WebKit/public/platform/WebCachePolicy.h"
14 #include "url/gurl.h" 14 #include "url/gurl.h"
15 15
16 namespace blink { 16 namespace blink {
17 class WebDataSource; 17 class WebDataSource;
18 enum class WebCachePolicy;
19 } 18 }
20 19
21 namespace content { 20 namespace content {
22 21
23 class DocumentState; 22 class DocumentState;
24 23
25 // Stores internal state per WebDataSource. 24 // Stores internal state per WebDataSource.
26 class InternalDocumentStateData : public base::SupportsUserData::Data { 25 class InternalDocumentStateData : public base::SupportsUserData::Data {
27 public: 26 public:
28 InternalDocumentStateData(); 27 InternalDocumentStateData();
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 bool must_reset_scroll_and_scale_state_; 85 bool must_reset_scroll_and_scale_state_;
87 bool cache_policy_override_set_; 86 bool cache_policy_override_set_;
88 blink::WebCachePolicy cache_policy_override_; 87 blink::WebCachePolicy cache_policy_override_;
89 88
90 DISALLOW_COPY_AND_ASSIGN(InternalDocumentStateData); 89 DISALLOW_COPY_AND_ASSIGN(InternalDocumentStateData);
91 }; 90 };
92 91
93 } // namespace content 92 } // namespace content
94 93
95 #endif // CONTENT_RENDERER_INTERNAL_DOCUMENT_STATE_DATA_H_ 94 #endif // CONTENT_RENDERER_INTERNAL_DOCUMENT_STATE_DATA_H_
OLDNEW
« no previous file with comments | « content/renderer/fetchers/multi_resolution_image_resource_fetcher.h ('k') | content/renderer/render_frame_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698