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

Unified Diff: Source/core/history/HistoryItem.h

Issue 99733002: Update HTTPHeaderMap wrappers to use AtomicString type for header values (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase on master Created 7 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/fetch/ScriptResource.cpp ('k') | Source/core/history/HistoryItem.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/history/HistoryItem.h
diff --git a/Source/core/history/HistoryItem.h b/Source/core/history/HistoryItem.h
index 68e34f97cc4f1d18d813cb6867e9f700b41a22d4..e2fa91eb49acf03105edd83b4281e8c1ed959b48 100644
--- a/Source/core/history/HistoryItem.h
+++ b/Source/core/history/HistoryItem.h
@@ -59,11 +59,11 @@ public:
KURL url() const;
KURL originalURL() const;
- const String& referrer() const;
+ const AtomicString& referrer() const;
const String& target() const;
FormData* formData();
- String formContentType() const;
+ const AtomicString& formContentType() const;
const IntPoint& scrollPoint() const;
void setScrollPoint(const IntPoint&);
@@ -79,7 +79,7 @@ public:
void setURL(const KURL&);
void setURLString(const String&);
void setOriginalURLString(const String&);
- void setReferrer(const String&);
+ void setReferrer(const AtomicString&);
void setTarget(const String&);
void setStateObject(PassRefPtr<SerializedScriptValue> object);
@@ -96,7 +96,7 @@ public:
void setFormInfoFromRequest(const ResourceRequest&);
void setFormData(PassRefPtr<FormData>);
- void setFormContentType(const String&);
+ void setFormContentType(const AtomicString&);
void addChildItem(PassRefPtr<HistoryItem>);
const HistoryItemVector& children() const;
@@ -110,7 +110,7 @@ private:
String m_urlString;
String m_originalURLString;
- String m_referrer;
+ AtomicString m_referrer;
String m_target;
IntPoint m_scrollPoint;
@@ -137,7 +137,7 @@ private:
// info used to repost form data
RefPtr<FormData> m_formData;
- String m_formContentType;
+ AtomicString m_formContentType;
}; //class HistoryItem
« no previous file with comments | « Source/core/fetch/ScriptResource.cpp ('k') | Source/core/history/HistoryItem.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698