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

Unified Diff: third_party/WebKit/Source/platform/loader/fetch/Resource.h

Issue 2876453002: Stop using Resource::ResourceCallback and make Resource have a TaskHandle (Closed)
Patch Set: s/async_callback_task_handle_/async_finish_pending_clients_task_/ 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/loader/fetch/Resource.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/loader/fetch/Resource.h
diff --git a/third_party/WebKit/Source/platform/loader/fetch/Resource.h b/third_party/WebKit/Source/platform/loader/fetch/Resource.h
index c4ae381bf14708e4c6e4175bb6c6af472e81454b..412044fa1645778086c669ad50f8cff8b1819cf4 100644
--- a/third_party/WebKit/Source/platform/loader/fetch/Resource.h
+++ b/third_party/WebKit/Source/platform/loader/fetch/Resource.h
@@ -29,6 +29,7 @@
#include "platform/PlatformExport.h"
#include "platform/SharedBuffer.h"
#include "platform/Timer.h"
+#include "platform/WebTaskRunner.h"
#include "platform/instrumentation/tracing/web_process_memory_dump.h"
#include "platform/loader/fetch/CachedMetadataHandler.h"
#include "platform/loader/fetch/IntegrityMetadata.h"
@@ -413,7 +414,6 @@ class PLATFORM_EXPORT Resource : public GarbageCollectedFinalized<Resource>,
void ClearData();
private:
- class ResourceCallback;
class CachedMetadataHandlerImpl;
class ServiceWorkerResponseCachedMetadataHandler;
@@ -480,6 +480,7 @@ class PLATFORM_EXPORT Resource : public GarbageCollectedFinalized<Resource>,
double response_timestamp_;
TaskRunnerTimer<Resource> cancel_timer_;
+ TaskHandle async_finish_pending_clients_task_;
ResourceRequest resource_request_;
Member<ResourceLoader> loader_;
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/loader/fetch/Resource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698