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

Side by Side Diff: third_party/WebKit/Source/platform/ThreadedDataReceiver.h

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 (c) 2015 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 ThreadedDataReceiver_h 5 #ifndef ThreadedDataReceiver_h
6 #define ThreadedDataReceiver_h 6 #define ThreadedDataReceiver_h
7 7
8 #include "platform/heap/Handle.h" 8 #include "platform/heap/Handle.h"
9 9
10 namespace blink { 10 namespace blink {
11 11
12 class WebThread; 12 class WebThread;
13 13
14 class ThreadedDataReceiver : public WillBeGarbageCollectedMixin { 14 class ThreadedDataReceiver : public GarbageCollectedMixin {
15 public: 15 public:
16 virtual ~ThreadedDataReceiver() { } 16 virtual ~ThreadedDataReceiver() { }
17 17
18 #if !ENABLE(OILPAN) 18 #if !ENABLE(OILPAN)
19 virtual void ref() = 0; 19 virtual void ref() = 0;
20 virtual void deref() = 0; 20 virtual void deref() = 0;
21 #endif 21 #endif
22 22
23 virtual void acceptData(const char* data, int dataLength) = 0; 23 virtual void acceptData(const char* data, int dataLength) = 0;
24 virtual WebThread* backgroundThread() = 0; 24 virtual WebThread* backgroundThread() = 0;
25 25
26 virtual bool needsMainthreadDataCopy() = 0; 26 virtual bool needsMainthreadDataCopy() = 0;
27 virtual void acceptMainthreadDataNotification(const char* data, int dataLeng th, int encodedDataLength) = 0; 27 virtual void acceptMainthreadDataNotification(const char* data, int dataLeng th, int encodedDataLength) = 0;
28 }; 28 };
29 29
30 } // namespace blink 30 } // namespace blink
31 31
32 #endif // ThreadedDataReceiver_h 32 #endif // ThreadedDataReceiver_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698