Chromium Code Reviews| Index: third_party/WebKit/Source/platform/PlatformMojoInterface.h |
| diff --git a/third_party/WebKit/Source/platform/PlatformMojoInterface.h b/third_party/WebKit/Source/platform/PlatformMojoInterface.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..3ad8f75550bd065cd92f73e2f12e3eef93c6d978 |
| --- /dev/null |
| +++ b/third_party/WebKit/Source/platform/PlatformMojoInterface.h |
| @@ -0,0 +1,24 @@ |
| +// Copyright 2016 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 PlatformMojoInterface_h |
| +#define PlatformMojoInterface_h |
| + |
| +#include "public/platform/resource_hints.mojom-blink.h" |
| + |
| +namespace blink { |
| + |
| +class PlatformMojoInterface { |
|
kinuko
2016/06/16 05:39:58
nit: PlatformMojoInterface's'... or maybe Platform
Charlie Harrison
2016/06/16 11:00:20
Done.
|
| +public: |
| + PlatformMojoInterface(); |
| + |
| + const mojom::blink::ResourceHintsHandlerPtr& resourceHintsHandlerHost(); |
|
kinuko
2016/06/16 05:39:58
nit: why we add suffix 'Host' here? Just resourceH
Charlie Harrison
2016/06/16 11:00:20
Done.
|
| + |
| +private: |
| + mojom::blink::ResourceHintsHandlerPtr m_resourceHintsHandlerHost; |
| +}; |
| + |
| +} // namespace blink |
| + |
| +#endif // PlatformMojoInterface_h |