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

Side by Side Diff: third_party/WebKit/Source/core/loader/WorkerFetchContext.h

Issue 2842253002: Move ReportLocalLoadFailed to ExecutionContext (Closed)
Patch Set: +comment Created 3 years, 7 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
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WorkerFetchContext_h 5 #ifndef WorkerFetchContext_h
6 #define WorkerFetchContext_h 6 #define WorkerFetchContext_h
7 7
8 #include <memory> 8 #include <memory>
9 #include "core/CoreExport.h" 9 #include "core/CoreExport.h"
10 #include "core/loader/BaseFetchContext.h" 10 #include "core/loader/BaseFetchContext.h"
(...skipping 25 matching lines...) Expand all
36 36
37 // BaseFetchContext implementation: 37 // BaseFetchContext implementation:
38 ContentSettingsClient* GetContentSettingsClient() const override; 38 ContentSettingsClient* GetContentSettingsClient() const override;
39 Settings* GetSettings() const override; 39 Settings* GetSettings() const override;
40 SubresourceFilter* GetSubresourceFilter() const override; 40 SubresourceFilter* GetSubresourceFilter() const override;
41 SecurityContext* GetParentSecurityContext() const override; 41 SecurityContext* GetParentSecurityContext() const override;
42 bool ShouldBlockRequestByInspector(const ResourceRequest&) const override; 42 bool ShouldBlockRequestByInspector(const ResourceRequest&) const override;
43 void DispatchDidBlockRequest(const ResourceRequest&, 43 void DispatchDidBlockRequest(const ResourceRequest&,
44 const FetchInitiatorInfo&, 44 const FetchInitiatorInfo&,
45 ResourceRequestBlockedReason) const override; 45 ResourceRequestBlockedReason) const override;
46 void ReportLocalLoadFailed(const KURL&) const override;
47 bool ShouldBypassMainWorldCSP() const override; 46 bool ShouldBypassMainWorldCSP() const override;
48 bool IsSVGImageChromeClient() const override; 47 bool IsSVGImageChromeClient() const override;
49 void CountUsage(UseCounter::Feature) const override; 48 void CountUsage(UseCounter::Feature) const override;
50 void CountDeprecation(UseCounter::Feature) const override; 49 void CountDeprecation(UseCounter::Feature) const override;
51 bool ShouldBlockFetchByMixedContentCheck( 50 bool ShouldBlockFetchByMixedContentCheck(
52 const ResourceRequest&, 51 const ResourceRequest&,
53 const KURL&, 52 const KURL&,
54 SecurityViolationReportingPolicy) const override; 53 SecurityViolationReportingPolicy) const override;
55 54
56 // FetchContext implementation: 55 // FetchContext implementation:
(...skipping 14 matching lines...) Expand all
71 70
72 Member<WorkerGlobalScope> worker_global_scope_; 71 Member<WorkerGlobalScope> worker_global_scope_;
73 std::unique_ptr<WebWorkerFetchContext> web_context_; 72 std::unique_ptr<WebWorkerFetchContext> web_context_;
74 Member<ResourceFetcher> resource_fetcher_; 73 Member<ResourceFetcher> resource_fetcher_;
75 RefPtr<WebTaskRunner> loading_task_runner_; 74 RefPtr<WebTaskRunner> loading_task_runner_;
76 }; 75 };
77 76
78 } // namespace blink 77 } // namespace blink
79 78
80 #endif // WorkerFetchContext_h 79 #endif // WorkerFetchContext_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698