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

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

Issue 24009002: Move synchronously fetching to ResourceFetcher, as well as most of the logic (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 3 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
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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 54
55 CachePolicy FetchContext::cachePolicy(Resource::Type) const 55 CachePolicy FetchContext::cachePolicy(Resource::Type) const
56 { 56 {
57 return CachePolicyVerify; 57 return CachePolicyVerify;
58 } 58 }
59 59
60 void FetchContext::dispatchWillSendRequest(DocumentLoader*, unsigned long, Resou rceRequest&, const ResourceResponse&, const FetchInitiatorInfo&) 60 void FetchContext::dispatchWillSendRequest(DocumentLoader*, unsigned long, Resou rceRequest&, const ResourceResponse&, const FetchInitiatorInfo&)
61 { 61 {
62 } 62 }
63 63
64 void FetchContext::dispatchDidLoadResourceFromMemoryCache(const ResourceRequest& , const ResourceResponse&)
65 {
66 }
67
64 void FetchContext::dispatchDidReceiveResponse(DocumentLoader*, unsigned long, co nst ResourceResponse&, ResourceLoader*) 68 void FetchContext::dispatchDidReceiveResponse(DocumentLoader*, unsigned long, co nst ResourceResponse&, ResourceLoader*)
65 { 69 {
66 } 70 }
67 71
68 void FetchContext::dispatchDidReceiveData(DocumentLoader*, unsigned long, const char*, int, int) 72 void FetchContext::dispatchDidReceiveData(DocumentLoader*, unsigned long, const char*, int, int)
69 { 73 {
70 } 74 }
71 75
72 void FetchContext::dispatchDidFinishLoading(DocumentLoader*, unsigned long, doub le) 76 void FetchContext::dispatchDidFinishLoading(DocumentLoader*, unsigned long, doub le)
73 { 77 {
74 } 78 }
75 79
76 void FetchContext::dispatchDidFail(DocumentLoader*, unsigned long, const Resourc eError&) 80 void FetchContext::dispatchDidFail(DocumentLoader*, unsigned long, const Resourc eError&)
77 { 81 {
78 } 82 }
79 83
80 void FetchContext::sendRemainingDelegateMessages(DocumentLoader*, unsigned long, const ResourceResponse&, const char*, int, int, const ResourceError&) 84 void FetchContext::sendRemainingDelegateMessages(DocumentLoader*, unsigned long, const ResourceResponse&, const char*, int, int, const ResourceError&)
81 { 85 {
82 } 86 }
83 87
84 } // namespace WebCore 88 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698