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

Unified Diff: compiler/java/com/google/dart/compiler/Source.java

Issue 9677062: Step 1: Introduce a new method for source objects that will replace the current getUri (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 9 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: compiler/java/com/google/dart/compiler/Source.java
===================================================================
--- compiler/java/com/google/dart/compiler/Source.java (revision 5427)
+++ compiler/java/com/google/dart/compiler/Source.java (working copy)
@@ -37,6 +37,13 @@
Reader getSourceReader() throws IOException;
/**
+ * Return an identifier that will uniquely identify this source.
+ *
+ * @return the unique identifier for this source.
+ */
+ String getUniqueIdentifier();
+
+ /**
* Gets the identifier for this source. This is used to uniquely identify the
* source, but should not be used to obtain the source content. Use
* {@link #getSourceReader()} to obtain the source content.
« no previous file with comments | « compiler/java/com/google/dart/compiler/DeltaAnalyzer.java ('k') | compiler/java/com/google/dart/compiler/UrlSource.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698