• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 
8 namespace blink {
9 
10 class WebThread;
11 
12 class WebThreadedDataReceiver {
13 public:
14     virtual void acceptData(const char* data, int dataLength) = 0;
15     virtual WebThread* backgroundThread() = 0;
16 
~WebThreadedDataReceiver()17     virtual ~WebThreadedDataReceiver() { }
18 };
19 
20 } // namespace blink
21 
22 #endif
23