1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef WebThreadedDataReceiver_h
6 #define WebThreadedDataReceiver_h
12 class WebThreadedDataReceiver {
14 virtual void acceptData(const char* data, int dataLength) = 0;
15 virtual WebThread* backgroundThread() = 0;
17 virtual ~WebThreadedDataReceiver() { }