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

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

Issue 2797983002: Rewrite references to "wtf/" to "platform/wtf/" in platform/loader. (Closed)
Patch Set: Created 3 years, 8 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 21 matching lines...) Expand all
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/ResourceError.h"
39 #include "platform/loader/fetch/ResourceFetcher.h" 39 #include "platform/loader/fetch/ResourceFetcher.h"
40 #include "platform/network/NetworkInstrumentation.h" 40 #include "platform/network/NetworkInstrumentation.h"
41 #include "platform/weborigin/SecurityViolationReportingPolicy.h" 41 #include "platform/weborigin/SecurityViolationReportingPolicy.h"
42 #include "platform/wtf/Assertions.h"
43 #include "platform/wtf/CurrentTime.h"
44 #include "platform/wtf/PtrUtil.h"
45 #include "platform/wtf/text/StringBuilder.h"
42 #include "public/platform/Platform.h" 46 #include "public/platform/Platform.h"
43 #include "public/platform/WebCachePolicy.h" 47 #include "public/platform/WebCachePolicy.h"
44 #include "public/platform/WebData.h" 48 #include "public/platform/WebData.h"
45 #include "public/platform/WebURLError.h" 49 #include "public/platform/WebURLError.h"
46 #include "public/platform/WebURLRequest.h" 50 #include "public/platform/WebURLRequest.h"
47 #include "public/platform/WebURLResponse.h" 51 #include "public/platform/WebURLResponse.h"
48 #include "wtf/Assertions.h"
49 #include "wtf/CurrentTime.h"
50 #include "wtf/PtrUtil.h"
51 #include "wtf/text/StringBuilder.h"
52 52
53 namespace blink { 53 namespace blink {
54 54
55 ResourceLoader* ResourceLoader::create(ResourceFetcher* fetcher, 55 ResourceLoader* ResourceLoader::create(ResourceFetcher* fetcher,
56 Resource* resource) { 56 Resource* resource) {
57 return new ResourceLoader(fetcher, resource); 57 return new ResourceLoader(fetcher, resource);
58 } 58 }
59 59
60 ResourceLoader::ResourceLoader(ResourceFetcher* fetcher, Resource* resource) 60 ResourceLoader::ResourceLoader(ResourceFetcher* fetcher, Resource* resource)
61 : m_fetcher(fetcher), 61 : m_fetcher(fetcher),
(...skipping 459 matching lines...) Expand 10 before | Expand all | Expand 10 after
521 return; 521 return;
522 522
523 // Don't activate if cache policy is explicitly set. 523 // Don't activate if cache policy is explicitly set.
524 if (request.getCachePolicy() != WebCachePolicy::UseProtocolCachePolicy) 524 if (request.getCachePolicy() != WebCachePolicy::UseProtocolCachePolicy)
525 return; 525 return;
526 526
527 m_isCacheAwareLoadingActivated = true; 527 m_isCacheAwareLoadingActivated = true;
528 } 528 }
529 529
530 } // namespace blink 530 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698