Index: tonic/dart_class_provider.h |
diff --git a/tonic/dart_class_provider.h b/tonic/dart_class_provider.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..35b55ae26e30d2dfa52e8b9a8fd0d2461e910d70 |
--- /dev/null |
+++ b/tonic/dart_class_provider.h |
@@ -0,0 +1,22 @@ |
+// Copyright 2015 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_TONIC_DART_CLASS_PROVIDER_H_ |
+#define SKY_ENGINE_TONIC_DART_CLASS_PROVIDER_H_ |
+ |
+#include "dart/runtime/include/dart_api.h" |
+ |
+namespace blink { |
+ |
+class DartClassProvider { |
+ public: |
+ virtual Dart_Handle GetClassByName(const char* class_name) = 0; |
+ |
+ protected: |
+ virtual ~DartClassProvider(); |
+}; |
+ |
+} // namespace blink |
+ |
+#endif // SKY_ENGINE_TONIC_DART_CLASS_PROVIDER_H_ |