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

Unified Diff: chrome/tools/test/reference_build/chrome_linux/resources/inspector/profile.js

Issue 177049: On Linux, move the passing of filedescriptors to a dedicated socketpair(). (Closed)
Patch Set: Removed *.d files from reference build Created 11 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: chrome/tools/test/reference_build/chrome_linux/resources/inspector/profile.js
diff --git a/chrome/tools/test/reference_build/chrome_linux/resources/inspector/profile.js b/chrome/tools/test/reference_build/chrome_linux/resources/inspector/profile.js
index 614c63557697b5a73858d38d0af8026e4e7b78ea..db4b542ff231af1390a8a253d59eb68645b31bcd 100644
--- a/chrome/tools/test/reference_build/chrome_linux/resources/inspector/profile.js
+++ b/chrome/tools/test/reference_build/chrome_linux/resources/inspector/profile.js
@@ -86,7 +86,23 @@ devtools.profiler.Profile.prototype.handleUnknownCode = function(
/**
- * Registers static (library) code entry.
+ * Registers a library.
+ *
+ * @param {string} name Code entry name.
+ * @param {number} startAddr Starting address.
+ * @param {number} endAddr Ending address.
+ */
+devtools.profiler.Profile.prototype.addLibrary = function(
+ name, startAddr, endAddr) {
+ var entry = new devtools.profiler.CodeMap.CodeEntry(
+ endAddr - startAddr, name);
+ this.codeMap_.addLibrary(startAddr, entry);
+ return entry;
+};
+
+
+/**
+ * Registers statically compiled code entry.
*
* @param {string} name Code entry name.
* @param {number} startAddr Starting address.

Powered by Google App Engine
This is Rietveld 408576698