Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(857)

Unified Diff: sky/shell/ui/platform_impl.h

Issue 936883002: Connect Sky and Ganesh in SkyShell (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: sort includes Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: sky/shell/ui/platform_impl.h
diff --git a/sky/shell/ui/platform_impl.h b/sky/shell/ui/platform_impl.h
index 5a62d0e8f217b72680e1b6f041cf76c7c5ff9ed4..e8fa5503b09e5ed85cf84301ec9b42a39ff2dcfa 100644
--- a/sky/shell/ui/platform_impl.h
+++ b/sky/shell/ui/platform_impl.h
@@ -6,6 +6,8 @@
#define SKY_SHELL_UI_PLATFORM_IMPL_H_
#include "base/message_loop/message_loop.h"
+#include "mojo/public/interfaces/application/service_provider.mojom.h"
+#include "mojo/services/network/public/interfaces/network_service.mojom.h"
#include "sky/engine/public/platform/Platform.h"
namespace sky {
@@ -13,15 +15,18 @@ namespace shell {
class PlatformImpl : public blink::Platform {
public:
- PlatformImpl();
+ explicit PlatformImpl(mojo::ServiceProviderPtr service_provider);
~PlatformImpl() override;
// blink::Platform:
blink::WebString defaultLocale() override;
base::SingleThreadTaskRunner* mainThreadTaskRunner() override;
+ mojo::NetworkService* networkService() override;
private:
scoped_refptr<base::SingleThreadTaskRunner> main_thread_task_runner_;
+ mojo::ServiceProviderPtr service_provider_;
+ mojo::NetworkServicePtr network_service_;
DISALLOW_COPY_AND_ASSIGN(PlatformImpl);
};

Powered by Google App Engine
This is Rietveld 408576698