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

Unified Diff: tools/deep_memory_profiler/visualizer/index.js

Issue 23933002: Fill json data in index.html template for dmprof visualizer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix review problems Created 7 years, 3 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: tools/deep_memory_profiler/visualizer/index.js
diff --git a/tools/deep_memory_profiler/visualizer/index.js b/tools/deep_memory_profiler/visualizer/index.js
deleted file mode 100644
index 43bdf84efe07216d30534e0efb5bbbee04f14c12..0000000000000000000000000000000000000000
--- a/tools/deep_memory_profiler/visualizer/index.js
+++ /dev/null
@@ -1,19 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-$(function() {
- // Read original data and plot.
- // TODO(junjianx): Make file path an argument.
- $.getJSON('data/sample.json', function(jsonData) {
- // Create model.
- var profiler = new Profiler(jsonData);
- // Create views subscribing model events.
- var graphView = new GraphView(profiler);
- var dropdownView = new DropdownView(profiler);
- var menuView = new MenuView(profiler);
-
- // initialize categories according to roots information.
- profiler.reparse();
- });
-});

Powered by Google App Engine
This is Rietveld 408576698