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

Side by Side Diff: third_party/WebKit/Source/core/fetch/Resource.h

Issue 2506553002: Scheduler: Deprecate CancellableTaskFactory in favor of WebTaskRunner::postCancellableTask (Closed)
Patch Set: add comments Created 4 years, 1 month 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) 2006 Samuel Weinig (sam.weinig@gmail.com) 4 Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com)
5 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All 5 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All
6 rights reserved. 6 rights reserved.
7 7
8 This library is free software; you can redistribute it and/or 8 This library is free software; you can redistribute it and/or
9 modify it under the terms of the GNU Library General Public 9 modify it under the terms of the GNU Library General Public
10 License as published by the Free Software Foundation; either 10 License as published by the Free Software Foundation; either
(...skipping 17 matching lines...) Expand all
28 #include "core/fetch/CachedMetadataHandler.h" 28 #include "core/fetch/CachedMetadataHandler.h"
29 #include "core/fetch/IntegrityMetadata.h" 29 #include "core/fetch/IntegrityMetadata.h"
30 #include "core/fetch/ResourceLoaderOptions.h" 30 #include "core/fetch/ResourceLoaderOptions.h"
31 #include "platform/MemoryCoordinator.h" 31 #include "platform/MemoryCoordinator.h"
32 #include "platform/SharedBuffer.h" 32 #include "platform/SharedBuffer.h"
33 #include "platform/Timer.h" 33 #include "platform/Timer.h"
34 #include "platform/network/ResourceError.h" 34 #include "platform/network/ResourceError.h"
35 #include "platform/network/ResourceLoadPriority.h" 35 #include "platform/network/ResourceLoadPriority.h"
36 #include "platform/network/ResourceRequest.h" 36 #include "platform/network/ResourceRequest.h"
37 #include "platform/network/ResourceResponse.h" 37 #include "platform/network/ResourceResponse.h"
38 #include "platform/scheduler/CancellableTaskFactory.h"
39 #include "platform/tracing/web_process_memory_dump.h" 38 #include "platform/tracing/web_process_memory_dump.h"
40 #include "public/platform/WebDataConsumerHandle.h" 39 #include "public/platform/WebDataConsumerHandle.h"
41 #include "wtf/Allocator.h" 40 #include "wtf/Allocator.h"
42 #include "wtf/AutoReset.h" 41 #include "wtf/AutoReset.h"
43 #include "wtf/HashCountedSet.h" 42 #include "wtf/HashCountedSet.h"
44 #include "wtf/HashSet.h" 43 #include "wtf/HashSet.h"
45 #include "wtf/text/WTFString.h" 44 #include "wtf/text/WTFString.h"
46 #include <memory> 45 #include <memory>
47 46
48 namespace blink { 47 namespace blink {
(...skipping 444 matching lines...) Expand 10 before | Expand all | Expand 10 after
493 }; 492 };
494 493
495 #define DEFINE_RESOURCE_TYPE_CASTS(typeName) \ 494 #define DEFINE_RESOURCE_TYPE_CASTS(typeName) \
496 DEFINE_TYPE_CASTS(typeName##Resource, Resource, resource, \ 495 DEFINE_TYPE_CASTS(typeName##Resource, Resource, resource, \
497 resource->getType() == Resource::typeName, \ 496 resource->getType() == Resource::typeName, \
498 resource.getType() == Resource::typeName); 497 resource.getType() == Resource::typeName);
499 498
500 } // namespace blink 499 } // namespace blink
501 500
502 #endif 501 #endif
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/fetch/Resource.cpp » ('j') | third_party/WebKit/Source/core/fetch/Resource.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698