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

Side by Side Diff: Source/WebCore/platform/network/chromium/ResourceHandle.cpp

Issue 10993046: Merge 129585 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1271/
Patch Set: Created 8 years, 2 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
« no previous file with comments | « LayoutTests/http/tests/security/svg-image-leak-expected.txt ('k') | no next file » | 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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 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 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 d->setClient(client); 211 d->setClient(client);
212 } 212 }
213 213
214 void ResourceHandle::setDefersLoading(bool value) 214 void ResourceHandle::setDefersLoading(bool value)
215 { 215 {
216 d->setDefersLoading(value); 216 d->setDefersLoading(value);
217 } 217 }
218 218
219 bool ResourceHandle::start(NetworkingContext* context) 219 bool ResourceHandle::start(NetworkingContext* context)
220 { 220 {
221 if (!context)
222 return false;
223
221 d->start(); 224 d->start();
222 return true; 225 return true;
223 } 226 }
224 227
225 bool ResourceHandle::hasAuthenticationChallenge() const 228 bool ResourceHandle::hasAuthenticationChallenge() const
226 { 229 {
227 return false; 230 return false;
228 } 231 }
229 232
230 void ResourceHandle::clearAuthentication() 233 void ResourceHandle::clearAuthentication()
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 return true; 289 return true;
287 } 290 }
288 291
289 // static 292 // static
290 void ResourceHandle::cacheMetadata(const ResourceResponse& response, const Vecto r<char>& data) 293 void ResourceHandle::cacheMetadata(const ResourceResponse& response, const Vecto r<char>& data)
291 { 294 {
292 WebKit::Platform::current()->cacheMetadata(response.url(), response.response Time(), data.data(), data.size()); 295 WebKit::Platform::current()->cacheMetadata(response.url(), response.response Time(), data.data(), data.size());
293 } 296 }
294 297
295 } // namespace WebCore 298 } // namespace WebCore
OLDNEW
« no previous file with comments | « LayoutTests/http/tests/security/svg-image-leak-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698