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

Side by Side Diff: third_party/WebKit/Source/platform/loader/fetch/ResourceLoader.cpp

Issue 2746113002: platform/loader: move network/Resource* to loader/fetch (Closed)
Patch Set: git rebase master Created 3 years, 9 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 /* 1 /*
2 * Copyright (C) 2006, 2007, 2010, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2010, 2011 Apple Inc. All rights reserved.
3 * (C) 2007 Graham Dennis (graham.dennis@gmail.com) 3 * (C) 2007 Graham Dennis (graham.dennis@gmail.com)
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 17 matching lines...) Expand all
28 */ 28 */
29 29
30 #include "platform/loader/fetch/ResourceLoader.h" 30 #include "platform/loader/fetch/ResourceLoader.h"
31 31
32 #include "platform/SharedBuffer.h" 32 #include "platform/SharedBuffer.h"
33 #include "platform/exported/WrappedResourceRequest.h" 33 #include "platform/exported/WrappedResourceRequest.h"
34 #include "platform/exported/WrappedResourceResponse.h" 34 #include "platform/exported/WrappedResourceResponse.h"
35 #include "platform/loader/fetch/CrossOriginAccessControl.h" 35 #include "platform/loader/fetch/CrossOriginAccessControl.h"
36 #include "platform/loader/fetch/FetchContext.h" 36 #include "platform/loader/fetch/FetchContext.h"
37 #include "platform/loader/fetch/Resource.h" 37 #include "platform/loader/fetch/Resource.h"
38 #include "platform/loader/fetch/ResourceError.h"
38 #include "platform/loader/fetch/ResourceFetcher.h" 39 #include "platform/loader/fetch/ResourceFetcher.h"
39 #include "platform/network/NetworkInstrumentation.h" 40 #include "platform/network/NetworkInstrumentation.h"
40 #include "platform/network/ResourceError.h"
41 #include "platform/weborigin/SecurityViolationReportingPolicy.h" 41 #include "platform/weborigin/SecurityViolationReportingPolicy.h"
42 #include "public/platform/Platform.h" 42 #include "public/platform/Platform.h"
43 #include "public/platform/WebCachePolicy.h" 43 #include "public/platform/WebCachePolicy.h"
44 #include "public/platform/WebData.h" 44 #include "public/platform/WebData.h"
45 #include "public/platform/WebURLError.h" 45 #include "public/platform/WebURLError.h"
46 #include "public/platform/WebURLRequest.h" 46 #include "public/platform/WebURLRequest.h"
47 #include "public/platform/WebURLResponse.h" 47 #include "public/platform/WebURLResponse.h"
48 #include "wtf/Assertions.h" 48 #include "wtf/Assertions.h"
49 #include "wtf/CurrentTime.h" 49 #include "wtf/CurrentTime.h"
50 #include "wtf/PtrUtil.h" 50 #include "wtf/PtrUtil.h"
(...skipping 468 matching lines...) Expand 10 before | Expand all | Expand 10 after
519 return; 519 return;
520 520
521 // Don't activate if cache policy is explicitly set. 521 // Don't activate if cache policy is explicitly set.
522 if (request.getCachePolicy() != WebCachePolicy::UseProtocolCachePolicy) 522 if (request.getCachePolicy() != WebCachePolicy::UseProtocolCachePolicy)
523 return; 523 return;
524 524
525 m_isCacheAwareLoadingActivated = true; 525 m_isCacheAwareLoadingActivated = true;
526 } 526 }
527 527
528 } // namespace blink 528 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698