| OLD | NEW |
| (Empty) |
| 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 SKY_ENGINE_CORE_LOADER_MOJOLOADER_H_ | |
| 6 #define SKY_ENGINE_CORE_LOADER_MOJOLOADER_H_ | |
| 7 | |
| 8 #include "mojo/public/cpp/system/data_pipe.h" | |
| 9 #include "sky/engine/platform/weborigin/KURL.h" | |
| 10 | |
| 11 namespace blink { | |
| 12 | |
| 13 class LocalFrame; | |
| 14 | |
| 15 class MojoLoader { | |
| 16 public: | |
| 17 explicit MojoLoader(LocalFrame&); | |
| 18 | |
| 19 void init(const KURL&); | |
| 20 void parse(mojo::ScopedDataPipeConsumerHandle); | |
| 21 | |
| 22 private: | |
| 23 LocalFrame& m_frame; | |
| 24 }; | |
| 25 | |
| 26 } | |
| 27 | |
| 28 #endif // SKY_ENGINE_CORE_LOADER_MOJOLOADER_H_ | |
| OLD | NEW |