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

Side by Side Diff: Source/core/loader/FrameLoader.h

Issue 352313003: Make it possible to set the HTTP origin header from content (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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 | « Source/core/loader/FrameFetchContext.cpp ('k') | Source/core/loader/FrameLoader.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008, 2009, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009, 2011 Apple Inc. All rights reserved.
3 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/) 3 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/)
4 * Copyright (C) Research In Motion Limited 2009. All rights reserved. 4 * Copyright (C) Research In Motion Limited 2009. All rights reserved.
5 * Copyright (C) 2011 Google Inc. All rights reserved. 5 * Copyright (C) 2011 Google Inc. All rights reserved.
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 10 *
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 bool isLoadingMainFrame() const; 124 bool isLoadingMainFrame() const;
125 125
126 bool shouldTreatURLAsSameAsCurrent(const KURL&) const; 126 bool shouldTreatURLAsSameAsCurrent(const KURL&) const;
127 bool shouldTreatURLAsSrcdocDocument(const KURL&) const; 127 bool shouldTreatURLAsSrcdocDocument(const KURL&) const;
128 128
129 FrameLoadType loadType() const; 129 FrameLoadType loadType() const;
130 void setLoadType(FrameLoadType loadType) { m_loadType = loadType; } 130 void setLoadType(FrameLoadType loadType) { m_loadType = loadType; }
131 131
132 void checkLoadComplete(); 132 void checkLoadComplete();
133 133
134 static void addHTTPOriginIfNeeded(ResourceRequest&, const AtomicString& orig in);
135
136 FrameLoaderClient* client() const; 134 FrameLoaderClient* client() const;
137 135
138 void setDefersLoading(bool); 136 void setDefersLoading(bool);
139 137
140 void didExplicitOpen(); 138 void didExplicitOpen();
141 139
142 // Callbacks from DocumentWriter 140 // Callbacks from DocumentWriter
143 void didBeginDocument(bool dispatchWindowObjectAvailable); 141 void didBeginDocument(bool dispatchWindowObjectAvailable);
144 142
145 void receivedFirstData(); 143 void receivedFirstData();
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 Timer<FrameLoader> m_didAccessInitialDocumentTimer; 277 Timer<FrameLoader> m_didAccessInitialDocumentTimer;
280 278
281 SandboxFlags m_forcedSandboxFlags; 279 SandboxFlags m_forcedSandboxFlags;
282 280
283 bool m_willDetachClient; 281 bool m_willDetachClient;
284 }; 282 };
285 283
286 } // namespace WebCore 284 } // namespace WebCore
287 285
288 #endif // FrameLoader_h 286 #endif // FrameLoader_h
OLDNEW
« no previous file with comments | « Source/core/loader/FrameFetchContext.cpp ('k') | Source/core/loader/FrameLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698