| 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; |
| 104 | 105 |
| 105 DECLARE_VIRTUAL_TRACE(); | 106 DECLARE_VIRTUAL_TRACE(); |
| 106 | 107 |
| 107 private: | 108 private: |
| 108 explicit FrameFetchContext(DocumentLoader*); | 109 explicit FrameFetchContext(DocumentLoader*); |
| 109 inline DocumentLoader* ensureLoaderForNotifications(); | 110 inline DocumentLoader* ensureLoaderForNotifications(); |
| 110 | 111 |
| 111 void printAccessDeniedMessage(const KURL&) const; | 112 void printAccessDeniedMessage(const KURL&) const; |
| 112 | 113 |
| 113 // FIXME: Oilpan: Ideally this should just be a traced Member but that will | 114 // FIXME: Oilpan: Ideally this should just be a traced Member but that will |
| 114 // currently leak because LayoutStyle and its data are not on the heap. | 115 // currently leak because LayoutStyle and its data are not on the heap. |
| 115 // See crbug.com/383860 for details. | 116 // See crbug.com/383860 for details. |
| 116 RawPtrWillBeWeakMember<Document> m_document; | 117 RawPtrWillBeWeakMember<Document> m_document; |
| 117 DocumentLoader* m_documentLoader; | 118 DocumentLoader* m_documentLoader; |
| 118 }; | 119 }; |
| 119 | 120 |
| 120 } | 121 } |
| 121 | 122 |
| 122 #endif | 123 #endif |
| OLD | NEW |