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

Unified Diff: Source/modules/fetch/DataConsumerTee.h

Issue 1315743003: [part 1] Make classes and structures in modules/ fast-allocated. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 3 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 | « Source/modules/fetch/DataConsumerHandleUtil.h ('k') | Source/modules/fetch/FetchDataConsumerHandle.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/fetch/DataConsumerTee.h
diff --git a/Source/modules/fetch/DataConsumerTee.h b/Source/modules/fetch/DataConsumerTee.h
index eabd53b4a0566a50903f31df46fdaf4aa312b0e5..30a5782f95c1b09d5cb47600f7395bfb41531ea2 100644
--- a/Source/modules/fetch/DataConsumerTee.h
+++ b/Source/modules/fetch/DataConsumerTee.h
@@ -8,6 +8,7 @@
#include "modules/ModulesExport.h"
#include "modules/fetch/FetchDataConsumerHandle.h"
#include "public/platform/WebDataConsumerHandle.h"
+#include "wtf/Allocator.h"
#include "wtf/OwnPtr.h"
#include "wtf/PassOwnPtr.h"
@@ -16,6 +17,7 @@ namespace blink {
class ExecutionContext;
class MODULES_EXPORT DataConsumerTee {
+ STATIC_ONLY(DataConsumerTee);
public:
// Create two handles from one. |src| must be a valid unlocked handle.
static void create(ExecutionContext*, PassOwnPtr<WebDataConsumerHandle> src, OwnPtr<WebDataConsumerHandle>* dest1, OwnPtr<WebDataConsumerHandle>* dest2);
« no previous file with comments | « Source/modules/fetch/DataConsumerHandleUtil.h ('k') | Source/modules/fetch/FetchDataConsumerHandle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698