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

Unified Diff: sky/engine/v8_inspector/read_from_source_tree.h

Issue 776743002: Make v8 inspector not crash (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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
« no previous file with comments | « sky/engine/v8_inspector/ScriptDebugServer.cpp ('k') | sky/engine/v8_inspector/read_from_source_tree.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/v8_inspector/read_from_source_tree.h
diff --git a/sky/engine/v8_inspector/read_from_source_tree.h b/sky/engine/v8_inspector/read_from_source_tree.h
new file mode 100644
index 0000000000000000000000000000000000000000..f60980b9b4204ebc3eff59ba779d26f2f57c34ed
--- /dev/null
+++ b/sky/engine/v8_inspector/read_from_source_tree.h
@@ -0,0 +1,18 @@
+// 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_V8_INSPECTOR_READ_FROM_SOURCE_TREE_H_
+#define SKY_ENGINE_V8_INSPECTOR_READ_FROM_SOURCE_TREE_H_
+
+#include <string>
+
+namespace inspector {
+
+// TODO(eseidel): This is a horrible hack and only works when run
+// inside its source tree! crbug.com/434513
+void ReadFileFromSourceTree(const char* name, std::string* buffer);
+
+} // namespace inspector
+
+#endif // SKY_ENGINE_V8_INSPECTOR_READ_FROM_SOURCE_TREE_H_
« no previous file with comments | « sky/engine/v8_inspector/ScriptDebugServer.cpp ('k') | sky/engine/v8_inspector/read_from_source_tree.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698