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. 4 5#ifndef WebThreadedDataReceiver_h 6#define WebThreadedDataReceiver_h 7 8namespace blink { 9 10class WebThread; 11 12class WebThreadedDataReceiver { 13public: 14 virtual void acceptData(const char* data, int dataLength) = 0; 15 virtual WebThread* backgroundThread() = 0; 16 17 virtual ~WebThreadedDataReceiver() { } 18}; 19 20} // namespace blink 21 22#endif 23