| Index: Source/platform/exported/WebDataConsumerHandle.cpp
|
| diff --git a/Source/platform/exported/WebDataConsumerHandle.cpp b/Source/platform/exported/WebDataConsumerHandle.cpp
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..011e4da9f501febec8311439bb8e2f74fdccc754
|
| --- /dev/null
|
| +++ b/Source/platform/exported/WebDataConsumerHandle.cpp
|
| @@ -0,0 +1,29 @@
|
| +// Copyright 2015 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "config.h"
|
| +#include "public/platform/WebDataConsumerHandle.h"
|
| +
|
| +#include "platform/heap/Handle.h"
|
| +
|
| +namespace blink {
|
| +
|
| +WebDataConsumerHandle::WebDataConsumerHandle()
|
| +{
|
| + ASSERT(ThreadState::current());
|
| +}
|
| +
|
| +WebDataConsumerHandle::~WebDataConsumerHandle()
|
| +{
|
| + ASSERT(ThreadState::current());
|
| +}
|
| +
|
| +PassOwnPtr<WebDataConsumerHandle::Reader> WebDataConsumerHandle::obtainReader(WebDataConsumerHandle::Client* client)
|
| +{
|
| + ASSERT(ThreadState::current());
|
| + return adoptPtr(obtainReaderInternal(client));
|
| +}
|
| +
|
| +} // namespace blink
|
| +
|
|
|