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

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

Issue 2584423002: Loading: move core/fetch to platform/loader/fetch (Closed)
Patch Set: another try Created 3 years, 11 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) 1998 Lars Knoll (knoll@mpi-hd.mpg.de) 2 Copyright (C) 1998 Lars Knoll (knoll@mpi-hd.mpg.de)
3 Copyright (C) 2001 Dirk Mueller (mueller@kde.org) 3 Copyright (C) 2001 Dirk Mueller (mueller@kde.org)
4 Copyright (C) 2002 Waldo Bastian (bastian@kde.org) 4 Copyright (C) 2002 Waldo Bastian (bastian@kde.org)
5 Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com) 5 Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com)
6 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All 6 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All
7 rights reserved. 7 rights reserved.
8 8
9 This library is free software; you can redistribute it and/or 9 This library is free software; you can redistribute it and/or
10 modify it under the terms of the GNU Library General Public 10 modify it under the terms of the GNU Library General Public
11 License as published by the Free Software Foundation; either 11 License as published by the Free Software Foundation; either
12 version 2 of the License, or (at your option) any later version. 12 version 2 of the License, or (at your option) any later version.
13 13
14 This library is distributed in the hope that it will be useful, 14 This library is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of 15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 Library General Public License for more details. 17 Library General Public License for more details.
18 18
19 You should have received a copy of the GNU Library General Public License 19 You should have received a copy of the GNU Library General Public License
20 along with this library; see the file COPYING.LIB. If not, write to 20 along with this library; see the file COPYING.LIB. If not, write to
21 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 21 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
22 Boston, MA 02110-1301, USA. 22 Boston, MA 02110-1301, USA.
23 */ 23 */
24 24
25 #include "core/fetch/Resource.h" 25 #include "platform/loader/fetch/Resource.h"
26 26
27 #include "core/fetch/CachedMetadata.h"
28 #include "core/fetch/CrossOriginAccessControl.h"
29 #include "core/fetch/FetchInitiatorTypeNames.h"
30 #include "core/fetch/FetchRequest.h"
31 #include "core/fetch/IntegrityMetadata.h"
32 #include "core/fetch/MemoryCache.h"
33 #include "core/fetch/ResourceClient.h"
34 #include "core/fetch/ResourceClientWalker.h"
35 #include "core/fetch/ResourceLoader.h"
36 #include "platform/Histogram.h" 27 #include "platform/Histogram.h"
37 #include "platform/InstanceCounters.h" 28 #include "platform/InstanceCounters.h"
38 #include "platform/RuntimeEnabledFeatures.h" 29 #include "platform/RuntimeEnabledFeatures.h"
39 #include "platform/SharedBuffer.h" 30 #include "platform/SharedBuffer.h"
40 #include "platform/WebTaskRunner.h" 31 #include "platform/WebTaskRunner.h"
41 #include "platform/instrumentation/tracing/TraceEvent.h" 32 #include "platform/instrumentation/tracing/TraceEvent.h"
33 #include "platform/loader/fetch/CachedMetadata.h"
34 #include "platform/loader/fetch/CrossOriginAccessControl.h"
35 #include "platform/loader/fetch/FetchInitiatorTypeNames.h"
36 #include "platform/loader/fetch/FetchRequest.h"
37 #include "platform/loader/fetch/IntegrityMetadata.h"
38 #include "platform/loader/fetch/MemoryCache.h"
39 #include "platform/loader/fetch/ResourceClient.h"
40 #include "platform/loader/fetch/ResourceClientWalker.h"
41 #include "platform/loader/fetch/ResourceLoader.h"
42 #include "platform/network/HTTPParsers.h" 42 #include "platform/network/HTTPParsers.h"
43 #include "platform/weborigin/KURL.h" 43 #include "platform/weborigin/KURL.h"
44 #include "public/platform/Platform.h" 44 #include "public/platform/Platform.h"
45 #include "public/platform/WebCachePolicy.h" 45 #include "public/platform/WebCachePolicy.h"
46 #include "public/platform/WebScheduler.h" 46 #include "public/platform/WebScheduler.h"
47 #include "public/platform/WebSecurityOrigin.h" 47 #include "public/platform/WebSecurityOrigin.h"
48 #include "wtf/CurrentTime.h" 48 #include "wtf/CurrentTime.h"
49 #include "wtf/MathExtras.h" 49 #include "wtf/MathExtras.h"
50 #include "wtf/StdLibExtras.h" 50 #include "wtf/StdLibExtras.h"
51 #include "wtf/Vector.h" 51 #include "wtf/Vector.h"
(...skipping 1063 matching lines...) Expand 10 before | Expand all | Expand 10 after
1115 case Resource::Media: 1115 case Resource::Media:
1116 case Resource::Manifest: 1116 case Resource::Manifest:
1117 case Resource::Mock: 1117 case Resource::Mock:
1118 return false; 1118 return false;
1119 } 1119 }
1120 NOTREACHED(); 1120 NOTREACHED();
1121 return false; 1121 return false;
1122 } 1122 }
1123 1123
1124 } // namespace blink 1124 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698