blob: 33f273c91bbe80ad3df3ff33c0374f63edff1a0d [file] [log] [blame]
// 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 SKY_ENGINE_CORE_LOADER_MOJOLOADER_H_
#define SKY_ENGINE_CORE_LOADER_MOJOLOADER_H_
#include "mojo/public/cpp/system/data_pipe.h"
#include "sky/engine/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 // SKY_ENGINE_CORE_LOADER_MOJOLOADER_H_