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

Side by Side Diff: third_party/WebKit/Source/core/loader/HistoryItem.h

Issue 2920663002: Class/struct layout optimization for blink Resource related classes (Closed)
Patch Set: 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 /* 1 /*
2 * Copyright (C) 2006, 2008, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2008, 2011 Apple Inc. All rights reserved.
3 * Copyright (C) 2012 Research In Motion Limited. All rights reserved. 3 * Copyright (C) 2012 Research In Motion Limited. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 25 matching lines...) Expand all
36 #include "platform/scroll/ScrollTypes.h" 36 #include "platform/scroll/ScrollTypes.h"
37 #include "platform/weborigin/Referrer.h" 37 #include "platform/weborigin/Referrer.h"
38 #include "platform/wtf/text/WTFString.h" 38 #include "platform/wtf/text/WTFString.h"
39 39
40 namespace blink { 40 namespace blink {
41 41
42 class DocumentState; 42 class DocumentState;
43 class EncodedFormData; 43 class EncodedFormData;
44 class KURL; 44 class KURL;
45 class ResourceRequest; 45 class ResourceRequest;
46 enum class WebCachePolicy; 46 enum class WebCachePolicy : uint8_t;
47 47
48 class CORE_EXPORT HistoryItem final 48 class CORE_EXPORT HistoryItem final
49 : public GarbageCollectedFinalized<HistoryItem> { 49 : public GarbageCollectedFinalized<HistoryItem> {
50 public: 50 public:
51 static HistoryItem* Create() { return new HistoryItem; } 51 static HistoryItem* Create() { return new HistoryItem; }
52 ~HistoryItem(); 52 ~HistoryItem();
53 53
54 const String& UrlString() const; 54 const String& UrlString() const;
55 KURL Url() const; 55 KURL Url() const;
56 56
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 RefPtr<SerializedScriptValue> state_object_; 145 RefPtr<SerializedScriptValue> state_object_;
146 146
147 // info used to repost form data 147 // info used to repost form data
148 RefPtr<EncodedFormData> form_data_; 148 RefPtr<EncodedFormData> form_data_;
149 AtomicString form_content_type_; 149 AtomicString form_content_type_;
150 }; // class HistoryItem 150 }; // class HistoryItem
151 151
152 } // namespace blink 152 } // namespace blink
153 153
154 #endif // HISTORYITEM_H 154 #endif // HISTORYITEM_H
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698