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

Side by Side Diff: Source/core/fetch/FetchContext.cpp

Issue 1309533002: Merge a couple of memory cache hit notifications (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 5 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/fetch/FetchContext.h ('k') | Source/core/fetch/ResourceFetcher.h » ('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) 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 59
60 ResourceRequestCachePolicy FetchContext::resourceRequestCachePolicy(const Resour ceRequest&, Resource::Type) const 60 ResourceRequestCachePolicy FetchContext::resourceRequestCachePolicy(const Resour ceRequest&, Resource::Type) const
61 { 61 {
62 return UseProtocolCachePolicy; 62 return UseProtocolCachePolicy;
63 } 63 }
64 64
65 void FetchContext::dispatchWillSendRequest(unsigned long, ResourceRequest&, cons t ResourceResponse&, const FetchInitiatorInfo&) 65 void FetchContext::dispatchWillSendRequest(unsigned long, ResourceRequest&, cons t ResourceResponse&, const FetchInitiatorInfo&)
66 { 66 {
67 } 67 }
68 68
69 void FetchContext::dispatchDidLoadResourceFromMemoryCache(const ResourceRequest& , const ResourceResponse&) 69 void FetchContext::dispatchDidLoadResourceFromMemoryCache(const Resource*)
70 { 70 {
71 } 71 }
72 72
73 void FetchContext::dispatchDidReceiveResponse(unsigned long, const ResourceRespo nse&, ResourceLoader*) 73 void FetchContext::dispatchDidReceiveResponse(unsigned long, const ResourceRespo nse&, ResourceLoader*)
74 { 74 {
75 } 75 }
76 76
77 void FetchContext::dispatchDidReceiveData(unsigned long, const char*, int, int) 77 void FetchContext::dispatchDidReceiveData(unsigned long, const char*, int, int)
78 { 78 {
79 } 79 }
80 80
81 void FetchContext::dispatchDidDownloadData(unsigned long, int, int) 81 void FetchContext::dispatchDidDownloadData(unsigned long, int, int)
82 { 82 {
83 } 83 }
84 84
85 void FetchContext::dispatchDidFinishLoading(unsigned long, double, int64_t) 85 void FetchContext::dispatchDidFinishLoading(unsigned long, double, int64_t)
86 { 86 {
87 } 87 }
88 88
89 void FetchContext::dispatchDidFail(unsigned long, const ResourceError&, bool) 89 void FetchContext::dispatchDidFail(unsigned long, const ResourceError&, bool)
90 { 90 {
91 } 91 }
92 92
93 void FetchContext::sendRemainingDelegateMessages(unsigned long, const ResourceRe sponse&, int)
94 {
95 }
96
97 void FetchContext::willStartLoadingResource(ResourceRequest&) 93 void FetchContext::willStartLoadingResource(ResourceRequest&)
98 { 94 {
99 } 95 }
100 96
101 void FetchContext::didLoadResource() 97 void FetchContext::didLoadResource()
102 { 98 {
103 } 99 }
104 100
105 void FetchContext::addResourceTiming(const ResourceTimingInfo&) 101 void FetchContext::addResourceTiming(const ResourceTimingInfo&)
106 { 102 {
(...skipping 13 matching lines...) Expand all
120 116
121 void FetchContext::addClientHintsIfNecessary(FetchRequest&) 117 void FetchContext::addClientHintsIfNecessary(FetchRequest&)
122 { 118 {
123 } 119 }
124 120
125 void FetchContext::addCSPHeaderIfNecessary(Resource::Type, FetchRequest&) 121 void FetchContext::addCSPHeaderIfNecessary(Resource::Type, FetchRequest&)
126 { 122 {
127 } 123 }
128 124
129 } // namespace blink 125 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/fetch/FetchContext.h ('k') | Source/core/fetch/ResourceFetcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698