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

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

Issue 1198313002: Implement debugName() in WebDataConsumerHandle subclasses in Blink (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Style fix. Created 5 years, 6 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
« no previous file with comments | « no previous file | Source/modules/fetch/DataConsumerHandleUtil.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 CompositeDataConsumerHandle_h 5 #ifndef CompositeDataConsumerHandle_h
6 #define CompositeDataConsumerHandle_h 6 #define CompositeDataConsumerHandle_h
7 7
8 #include "public/platform/WebDataConsumerHandle.h" 8 #include "public/platform/WebDataConsumerHandle.h"
9 #include "wtf/OwnPtr.h" 9 #include "wtf/OwnPtr.h"
10 #include "wtf/PassOwnPtr.h" 10 #include "wtf/PassOwnPtr.h"
(...skipping 16 matching lines...) Expand all
27 27
28 // This function should be called on the thread on which this object 28 // This function should be called on the thread on which this object
29 // was created. |handle| must not be null and must not be locked. 29 // was created. |handle| must not be null and must not be locked.
30 void update(PassOwnPtr<WebDataConsumerHandle> /* handle */); 30 void update(PassOwnPtr<WebDataConsumerHandle> /* handle */);
31 31
32 private: 32 private:
33 class Context; 33 class Context;
34 class ReaderImpl; 34 class ReaderImpl;
35 Reader* obtainReaderInternal(Client*) override; 35 Reader* obtainReaderInternal(Client*) override;
36 36
37 const char* debugName() const override { return "CompositeDataConsumerHandle "; }
38
37 explicit CompositeDataConsumerHandle(PassOwnPtr<WebDataConsumerHandle>); 39 explicit CompositeDataConsumerHandle(PassOwnPtr<WebDataConsumerHandle>);
38 40
39 RefPtr<Context> m_context; 41 RefPtr<Context> m_context;
40 }; 42 };
41 43
42 } // namespace blink 44 } // namespace blink
43 45
44 #endif // CompositeDataConsumerHandle_h 46 #endif // CompositeDataConsumerHandle_h
OLDNEW
« no previous file with comments | « no previous file | Source/modules/fetch/DataConsumerHandleUtil.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698