| Index: chrome/browser/resources/net_internals/source_tracker.js
|
| ===================================================================
|
| --- chrome/browser/resources/net_internals/source_tracker.js (revision 106059)
|
| +++ chrome/browser/resources/net_internals/source_tracker.js (working copy)
|
| @@ -75,6 +75,17 @@
|
| },
|
|
|
| /**
|
| + * Returns the description of the specified SourceEntry, or an empty string
|
| + * if it doesn't exist.
|
| + */
|
| + getDescription: function(id) {
|
| + var entry = this.getSourceEntry(id);
|
| + if (entry)
|
| + return entry.getDescription();
|
| + return '';
|
| + },
|
| +
|
| + /**
|
| * Returns the specified SourceEntry.
|
| */
|
| getSourceEntry: function(id) {
|
|
|