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