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

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

Issue 2843503002: scheduler: Move WebFrameScheduler and WebScheduler into Blink (Closed)
Patch Set: Build fix Created 3 years, 7 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
(...skipping 26 matching lines...) Expand all
37 #include "platform/loader/fetch/CachedMetadata.h" 37 #include "platform/loader/fetch/CachedMetadata.h"
38 #include "platform/loader/fetch/CrossOriginAccessControl.h" 38 #include "platform/loader/fetch/CrossOriginAccessControl.h"
39 #include "platform/loader/fetch/FetchInitiatorTypeNames.h" 39 #include "platform/loader/fetch/FetchInitiatorTypeNames.h"
40 #include "platform/loader/fetch/FetchParameters.h" 40 #include "platform/loader/fetch/FetchParameters.h"
41 #include "platform/loader/fetch/IntegrityMetadata.h" 41 #include "platform/loader/fetch/IntegrityMetadata.h"
42 #include "platform/loader/fetch/MemoryCache.h" 42 #include "platform/loader/fetch/MemoryCache.h"
43 #include "platform/loader/fetch/ResourceClient.h" 43 #include "platform/loader/fetch/ResourceClient.h"
44 #include "platform/loader/fetch/ResourceClientWalker.h" 44 #include "platform/loader/fetch/ResourceClientWalker.h"
45 #include "platform/loader/fetch/ResourceLoader.h" 45 #include "platform/loader/fetch/ResourceLoader.h"
46 #include "platform/network/HTTPParsers.h" 46 #include "platform/network/HTTPParsers.h"
47 #include "platform/scheduler/child/web_scheduler.h"
47 #include "platform/weborigin/KURL.h" 48 #include "platform/weborigin/KURL.h"
48 #include "platform/wtf/CurrentTime.h" 49 #include "platform/wtf/CurrentTime.h"
49 #include "platform/wtf/MathExtras.h" 50 #include "platform/wtf/MathExtras.h"
50 #include "platform/wtf/StdLibExtras.h" 51 #include "platform/wtf/StdLibExtras.h"
51 #include "platform/wtf/Vector.h" 52 #include "platform/wtf/Vector.h"
52 #include "platform/wtf/text/CString.h" 53 #include "platform/wtf/text/CString.h"
53 #include "platform/wtf/text/StringBuilder.h" 54 #include "platform/wtf/text/StringBuilder.h"
54 #include "public/platform/Platform.h" 55 #include "public/platform/Platform.h"
55 #include "public/platform/WebCachePolicy.h" 56 #include "public/platform/WebCachePolicy.h"
56 #include "public/platform/WebScheduler.h"
57 #include "public/platform/WebSecurityOrigin.h" 57 #include "public/platform/WebSecurityOrigin.h"
58 58
59 namespace blink { 59 namespace blink {
60 60
61 // These response headers are not copied from a revalidated response to the 61 // These response headers are not copied from a revalidated response to the
62 // cached response headers. For compatibility, this list is based on Chromium's 62 // cached response headers. For compatibility, this list is based on Chromium's
63 // net/http/http_response_headers.cc. 63 // net/http/http_response_headers.cc.
64 const char* const kHeadersToIgnoreAfterRevalidation[] = { 64 const char* const kHeadersToIgnoreAfterRevalidation[] = {
65 "allow", 65 "allow",
66 "connection", 66 "connection",
(...skipping 1061 matching lines...) Expand 10 before | Expand all | Expand 10 after
1128 case Resource::kMedia: 1128 case Resource::kMedia:
1129 case Resource::kManifest: 1129 case Resource::kManifest:
1130 case Resource::kMock: 1130 case Resource::kMock:
1131 return false; 1131 return false;
1132 } 1132 }
1133 NOTREACHED(); 1133 NOTREACHED();
1134 return false; 1134 return false;
1135 } 1135 }
1136 1136
1137 } // namespace blink 1137 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698