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

Side by Side Diff: Source/modules/fetch/DataConsumerTee.h

Issue 1212123003: Componentization: make symbols visible. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 5 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 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef DataConsumerTee_h 5 #ifndef DataConsumerTee_h
6 #define DataConsumerTee_h 6 #define DataConsumerTee_h
7 7
8 #include "modules/ModulesExport.h"
8 #include "public/platform/WebDataConsumerHandle.h" 9 #include "public/platform/WebDataConsumerHandle.h"
9 10
10 #include "wtf/OwnPtr.h" 11 #include "wtf/OwnPtr.h"
11 #include "wtf/PassOwnPtr.h" 12 #include "wtf/PassOwnPtr.h"
12 13
13 namespace blink { 14 namespace blink {
14 15
15 class ExecutionContext; 16 class ExecutionContext;
16 17
17 class DataConsumerTee { 18 class MODULES_EXPORT DataConsumerTee {
18 public: 19 public:
19 // Create two handles from one. |src| must be a valid unlocked handle. 20 // Create two handles from one. |src| must be a valid unlocked handle.
20 static void create(ExecutionContext*, PassOwnPtr<WebDataConsumerHandle> src, OwnPtr<WebDataConsumerHandle>* dest1, OwnPtr<WebDataConsumerHandle>* dest2); 21 static void create(ExecutionContext*, PassOwnPtr<WebDataConsumerHandle> src, OwnPtr<WebDataConsumerHandle>* dest1, OwnPtr<WebDataConsumerHandle>* dest2);
21 }; 22 };
22 23
23 } // namespace blink 24 } // namespace blink
24 25
25 #endif // DataConsumerTee_h 26 #endif // DataConsumerTee_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698