OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * 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 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 bool isLoadComplete() const override; | 94 bool isLoadComplete() const override; |
95 bool pageDismissalEventBeingDispatched() const override; | 95 bool pageDismissalEventBeingDispatched() const override; |
96 bool updateTimingInfoForIFrameNavigation(ResourceTimingInfo*) override; | 96 bool updateTimingInfoForIFrameNavigation(ResourceTimingInfo*) override; |
97 void sendImagePing(const KURL&) override; | 97 void sendImagePing(const KURL&) override; |
98 void addConsoleMessage(const String&) const override; | 98 void addConsoleMessage(const String&) const override; |
99 ExecutionContext* executionContext() const override; | 99 ExecutionContext* executionContext() const override; |
100 SecurityOrigin* securityOrigin() const override; | 100 SecurityOrigin* securityOrigin() const override; |
101 String charset() const override; | 101 String charset() const override; |
102 void upgradeInsecureRequest(FetchRequest&) override; | 102 void upgradeInsecureRequest(FetchRequest&) override; |
103 void addClientHintsIfNecessary(FetchRequest&) override; | 103 void addClientHintsIfNecessary(FetchRequest&) override; |
104 void addCSPHeaderIfNecessary(Resource::Type, FetchRequest&) override; | |
105 | 104 |
106 DECLARE_VIRTUAL_TRACE(); | 105 DECLARE_VIRTUAL_TRACE(); |
107 | 106 |
108 private: | 107 private: |
109 explicit FrameFetchContext(DocumentLoader*); | 108 explicit FrameFetchContext(DocumentLoader*); |
110 inline DocumentLoader* ensureLoaderForNotifications(); | 109 inline DocumentLoader* ensureLoaderForNotifications(); |
111 | 110 |
112 void printAccessDeniedMessage(const KURL&) const; | 111 void printAccessDeniedMessage(const KURL&) const; |
113 | 112 |
114 // FIXME: Oilpan: Ideally this should just be a traced Member but that will | 113 // FIXME: Oilpan: Ideally this should just be a traced Member but that will |
115 // currently leak because LayoutStyle and its data are not on the heap. | 114 // currently leak because LayoutStyle and its data are not on the heap. |
116 // See crbug.com/383860 for details. | 115 // See crbug.com/383860 for details. |
117 RawPtrWillBeWeakMember<Document> m_document; | 116 RawPtrWillBeWeakMember<Document> m_document; |
118 DocumentLoader* m_documentLoader; | 117 DocumentLoader* m_documentLoader; |
119 }; | 118 }; |
120 | 119 |
121 } | 120 } |
122 | 121 |
123 #endif | 122 #endif |
OLD | NEW |