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

Unified Diff: chrome/browser/resources/net_internals/browser_bridge.js

Issue 8883046: Show parse errors in the UI when loading ONC files. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years 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/browser/resources/net_internals/browser_bridge.js
===================================================================
--- chrome/browser/resources/net_internals/browser_bridge.js (revision 114539)
+++ chrome/browser/resources/net_internals/browser_bridge.js (working copy)
@@ -316,9 +316,9 @@
this.hstsObservers_[i].onHSTSQueryResult(info);
},
- receivedONCFileParse: function(status) {
+ receivedONCFileParse: function(error) {
for (var i = 0; i < this.crosONCFileParseObservers_.length; i++)
- this.crosONCFileParseObservers_[i].onONCFileParse(status);
+ this.crosONCFileParseObservers_[i].onONCFileParse(error);
},
receivedHttpCacheInfo: function(info) {
@@ -498,7 +498,7 @@
* Adds a listener for ONC file parse status. The observer will be called
* back with:
*
- * observer.onONCFileParse(status);
+ * observer.onONCFileParse(error);
*/
addCrosONCFileParseObserver: function(observer) {
this.crosONCFileParseObservers_.push(observer);

Powered by Google App Engine
This is Rietveld 408576698