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

Unified Diff: chrome/browser/resources/profiler/profiler.js

Issue 980333004: Removing unused Births methods and unnecessary link from chrome://profiler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@reset_max
Patch Set: Created 5 years, 10 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
« no previous file with comments | « chrome/browser/resources/profiler/profiler.html ('k') | chrome/browser/ui/webui/profiler_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/profiler/profiler.js
diff --git a/chrome/browser/resources/profiler/profiler.js b/chrome/browser/resources/profiler/profiler.js
index a9c44c4fa3a7348dce1aa9d4feddf69ed9fc4c59..9095872d3631a7e2aa539677d7152b97bdbc7c1a 100644
--- a/chrome/browser/resources/profiler/profiler.js
+++ b/chrome/browser/resources/profiler/profiler.js
@@ -42,10 +42,6 @@ var BrowserBridge = (function() {
chrome.send('getData');
},
- sendResetData: function() {
- chrome.send('resetData');
- },
-
//--------------------------------------------------------------------------
// Messages received from the browser.
//--------------------------------------------------------------------------
@@ -99,8 +95,6 @@ var MainView = (function() {
// "PAC threads" will be merged together.
var MERGE_SIMILAR_THREADS_CHECKBOX_ID = 'merge-similar-threads-checkbox';
- var RESET_DATA_LINK_ID = 'reset-data-link';
-
var TOGGLE_SNAPSHOTS_LINK_ID = 'snapshots-link';
var SNAPSHOTS_ROW = 'snapshots-row';
var SNAPSHOT_SELECTION_SUMMARY_ID = 'snapshot-selection-summary';
@@ -905,7 +899,7 @@ var MainView = (function() {
value = m[1] + '*';
}
return value;
- }
+ };
} else {
propertyGetterFunc = function(row, key) { return row[key]; };
}
@@ -1762,9 +1756,6 @@ var MainView = (function() {
$(MERGE_SIMILAR_THREADS_CHECKBOX_ID).onchange =
this.onMergeSimilarThreadsCheckboxChanged_.bind(this);
- $(RESET_DATA_LINK_ID).onclick =
- g_browserBridge.sendResetData.bind(g_browserBridge);
-
$(TAKE_SNAPSHOT_BUTTON_ID).onclick = this.takeSnapshot_.bind(this);
$(SAVE_SNAPSHOTS_BUTTON_ID).onclick = this.saveSnapshots_.bind(this);
« no previous file with comments | « chrome/browser/resources/profiler/profiler.html ('k') | chrome/browser/ui/webui/profiler_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698