Chromium Code Reviews| Index: third_party/WebKit/Source/core/loader/DocumentLoader.h |
| diff --git a/third_party/WebKit/Source/core/loader/DocumentLoader.h b/third_party/WebKit/Source/core/loader/DocumentLoader.h |
| index b0da0e6c76b5b39913d816e008f2b1194f496904..8e28a1ef857793bbed54d5ac4c1111d35cfe01fd 100644 |
| --- a/third_party/WebKit/Source/core/loader/DocumentLoader.h |
| +++ b/third_party/WebKit/Source/core/loader/DocumentLoader.h |
| @@ -96,7 +96,8 @@ class CORE_EXPORT DocumentLoader |
| unsigned long mainResourceIdentifier() const; |
| void replaceDocumentWhileExecutingJavaScriptURL(const DocumentInit&, |
| - const String& source); |
| + const String& source, |
| + SecurityOrigin* frameSecurityOrigin); |
|
dcheng
2017/04/04 07:53:21
Please clang-format the cl
(the presubmit should
andypaicu
2017/04/04 14:15:28
Good catch. My presubmit did not raise any warning
|
| const AtomicString& mimeType() const; |
| @@ -221,6 +222,11 @@ class CORE_EXPORT DocumentLoader |
| const SubstituteData&, |
| ClientRedirectPolicy); |
| + static bool shouldClearWindowName( |
| + const LocalFrame&, |
| + SecurityOrigin* frameSecurityOrigin, |
| + const Document& newDocument); |
| + |
| Vector<KURL> m_redirectChain; |
| private: |
| @@ -234,7 +240,8 @@ class CORE_EXPORT DocumentLoader |
| const AtomicString& encoding, |
| InstallNewDocumentReason, |
| ParserSynchronizationPolicy, |
| - const KURL& overridingURL); |
| + const KURL& overridingURL, |
| + SecurityOrigin* frameSecurityOrigin); |
| void didInstallNewDocument(Document*); |
| void didCommitNavigation(); |