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

Unified Diff: third_party/google_input_tools/third_party/closure_library/closure/goog/debug/error.js

Issue 1257313003: Update Google Input Tools (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Free up grd resources. Created 5 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: third_party/google_input_tools/third_party/closure_library/closure/goog/debug/error.js
diff --git a/third_party/google_input_tools/third_party/closure_library/closure/goog/debug/error.js b/third_party/google_input_tools/third_party/closure_library/closure/goog/debug/error.js
index 6fed470018e213995a3e7e97886605521186c63b..5f1bd3e4eced615c1a0a1e37d52a856b0c43f5e6 100644
--- a/third_party/google_input_tools/third_party/closure_library/closure/goog/debug/error.js
+++ b/third_party/google_input_tools/third_party/closure_library/closure/goog/debug/error.js
@@ -46,6 +46,15 @@ goog.debug.Error = function(opt_msg) {
if (opt_msg) {
this.message = String(opt_msg);
}
+
+ /**
+ * Whether to report this error to the server. Setting this to false will
+ * cause the error reporter to not report the error back to the server,
+ * which can be useful if the client knows that the error has already been
+ * logged on the server.
+ * @type {boolean}
+ */
+ this.reportErrorToServer = true;
};
goog.inherits(goog.debug.Error, Error);

Powered by Google App Engine
This is Rietveld 408576698