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

Unified Diff: runtime/vm/object.h

Issue 346003003: vmservice: Add /coverage collection to scripts, classes and libraries. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: exclude service_classescoverage from simmips tests Created 6 years, 6 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: runtime/vm/object.h
diff --git a/runtime/vm/object.h b/runtime/vm/object.h
index c7ad01329a13641a5ef24c759e21ff3cc8353840..9c45c861ba4d27f8ed8f272e67f73aaa1fd07db9 100644
--- a/runtime/vm/object.h
+++ b/runtime/vm/object.h
@@ -2519,6 +2519,8 @@ class Script : public Object {
intptr_t* first_token_index,
intptr_t* last_token_index) const;
+ RawLibrary* FindLibrary() const;
+
static intptr_t InstanceSize() {
return RoundedAllocationSize(sizeof(RawScript));
}
@@ -2527,6 +2529,8 @@ class Script : public Object {
const String& source,
RawScript::Kind kind);
+ static RawScript* FindByUrl(const String& url);
+
private:
void set_url(const String& value) const;
void set_source(const String& value) const;
« no previous file with comments | « runtime/vm/coverage.cc ('k') | runtime/vm/object.cc » ('j') | runtime/vm/object.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698