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

Unified Diff: sky/engine/public/platform/ServiceProvider.h

Issue 696733003: Introduce blink::ServiceProvider (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 2 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/engine/public/platform/ServiceProvider.h
diff --git a/sky/engine/public/platform/ServiceProvider.h b/sky/engine/public/platform/ServiceProvider.h
new file mode 100644
index 0000000000000000000000000000000000000000..1aade2cb0fcaf46973770d97d899fb3ec4a01ef3
--- /dev/null
+++ b/sky/engine/public/platform/ServiceProvider.h
@@ -0,0 +1,24 @@
+// 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_PUBLIC_PLATOFORM_SERVICES_H_
+#define SKY_ENGINE_PUBLIC_PLATOFORM_SERVICES_H_
+
+namespace mojo {
+class NavigatorHost;
+}
+
+namespace blink {
+
+class ServiceProvider {
+ public:
+ virtual mojo::NavigatorHost* NavigatorHost() = 0;
+
+ protected:
+ virtual ~ServiceProvider();
+};
+
+} // namespace blink
+
+#endif

Powered by Google App Engine
This is Rietveld 408576698