OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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 CONTENT_CHILD_WEB_DATA_CONSUMER_HANDLE_IMPL_H_ | 5 #ifndef CONTENT_CHILD_WEB_DATA_CONSUMER_HANDLE_IMPL_H_ |
6 #define CONTENT_CHILD_WEB_DATA_CONSUMER_HANDLE_IMPL_H_ | 6 #define CONTENT_CHILD_WEB_DATA_CONSUMER_HANDLE_IMPL_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
9 #include "content/common/content_export.h" | 11 #include "content/common/content_export.h" |
10 #include "mojo/message_pump/handle_watcher.h" | 12 #include "mojo/message_pump/handle_watcher.h" |
11 #include "mojo/public/cpp/system/data_pipe.h" | 13 #include "mojo/public/cpp/system/data_pipe.h" |
12 #include "third_party/WebKit/public/platform/WebDataConsumerHandle.h" | 14 #include "third_party/WebKit/public/platform/WebDataConsumerHandle.h" |
13 | 15 |
14 namespace content { | 16 namespace content { |
15 | 17 |
16 class CONTENT_EXPORT WebDataConsumerHandleImpl final | 18 class CONTENT_EXPORT WebDataConsumerHandleImpl final |
17 : public NON_EXPORTED_BASE(blink::WebDataConsumerHandle) { | 19 : public NON_EXPORTED_BASE(blink::WebDataConsumerHandle) { |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 private: | 51 private: |
50 ReaderImpl* obtainReaderInternal(Client* client) override; | 52 ReaderImpl* obtainReaderInternal(Client* client) override; |
51 const char* debugName() const override; | 53 const char* debugName() const override; |
52 | 54 |
53 scoped_refptr<Context> context_; | 55 scoped_refptr<Context> context_; |
54 }; | 56 }; |
55 | 57 |
56 } // namespace content | 58 } // namespace content |
57 | 59 |
58 #endif // CONTENT_CHILD_WEB_DATA_CONSUMER_HANDLE_IMPL_H_ | 60 #endif // CONTENT_CHILD_WEB_DATA_CONSUMER_HANDLE_IMPL_H_ |
OLD | NEW |