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

Unified Diff: components/safe_browsing/web_ui/resources/safe_browsing.js

Issue 2974243002: Revert of Added experiments section and exported the list of SafeBrowsing features in WebUI (Closed)
Patch Set: Created 3 years, 5 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: components/safe_browsing/web_ui/resources/safe_browsing.js
diff --git a/components/safe_browsing/web_ui/resources/safe_browsing.js b/components/safe_browsing/web_ui/resources/safe_browsing.js
deleted file mode 100644
index d47e9a2c812e8cc280e13dd05a573f7fff6fd14e..0000000000000000000000000000000000000000
--- a/components/safe_browsing/web_ui/resources/safe_browsing.js
+++ /dev/null
@@ -1,29 +0,0 @@
-/* Copyright 2017 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. */
-
- cr.define('safe_browsing', function() {
- 'use strict';
-
- function initialize() {
- chrome.send('expParamList',[]);
- }
-
- function addExperiment(result) {
- var resLength = result.length;
- var experimentsListFormatted="";
-
-for (var i = 0; i < resLength; i+=2) {
- experimentsListFormatted += "<div>" + result[i+1] + " --- " + result [i] +
- "</div>";}
- $('experimentsList').innerHTML = experimentsListFormatted;
- }
-
- return {
- addExperiment: addExperiment,
- initialize: initialize,
- };
-
-});
-
-document.addEventListener('DOMContentLoaded', safe_browsing.initialize);
« no previous file with comments | « components/safe_browsing/web_ui/resources/safe_browsing.html ('k') | components/safe_browsing/web_ui/safe_browsing_ui.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698