| // Copyright 2014 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. | |
| #ifndef MojoLoader_h | |
| #define MojoLoader_h | |
| #include "mojo/public/cpp/system/data_pipe.h" | |
| #include "platform/weborigin/KURL.h" | |
| namespace blink { | |
| class LocalFrame; | |
| class MojoLoader { | |
| public: | |
| explicit MojoLoader(LocalFrame&); | |
| void load(const KURL&, mojo::ScopedDataPipeConsumerHandle); | |
| private: | |
| LocalFrame& m_frame; | |
| }; | |
| } | |
| #endif |