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

Unified Diff: mojo/dart/dart_snapshotter/loader.h

Issue 1273743005: Dart: Adds a program to create snapshots of Mojo apps. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 4 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: mojo/dart/dart_snapshotter/loader.h
diff --git a/mojo/dart/dart_snapshotter/loader.h b/mojo/dart/dart_snapshotter/loader.h
new file mode 100644
index 0000000000000000000000000000000000000000..30a5c5964ee5fcc36ded3f90b5ea8e6d4976309b
--- /dev/null
+++ b/mojo/dart/dart_snapshotter/loader.h
@@ -0,0 +1,17 @@
+// 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 MOJO_DART_DART_SNAPSHOTTER_LOADER_H_
+#define MOJO_DART_DART_SNAPSHOTTER_LOADER_H_
+
+#include <string>
+
+#include "dart/runtime/include/dart_api.h"
+
+Dart_Handle HandleLibraryTag(Dart_LibraryTag tag,
+ Dart_Handle library,
+ Dart_Handle url);
+void LoadScript(const std::string& url);
+
+#endif // MOJO_DART_DART_SNAPSHOTTER_LOADER_H_

Powered by Google App Engine
This is Rietveld 408576698