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

Unified Diff: third_party/WebKit/Source/devtools/front_end/common/OutputStream.js

Issue 2493373002: DevTools: rename WebInspector into modules. (Closed)
Patch Set: for bots Created 4 years, 1 month 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/WebKit/Source/devtools/front_end/common/OutputStream.js
diff --git a/third_party/WebKit/Source/devtools/front_end/common/OutputStream.js b/third_party/WebKit/Source/devtools/front_end/common/OutputStream.js
index 123e2a7b3b4e9d0e367d077f8654acd83e598d2b..ca0d2ee0411fb459f7c7b16791cfa0d264108188 100644
--- a/third_party/WebKit/Source/devtools/front_end/common/OutputStream.js
+++ b/third_party/WebKit/Source/devtools/front_end/common/OutputStream.js
@@ -4,12 +4,12 @@
/**
* @interface
*/
-WebInspector.OutputStream = function() {};
+Common.OutputStream = function() {};
-WebInspector.OutputStream.prototype = {
+Common.OutputStream.prototype = {
/**
* @param {string} data
- * @param {function(!WebInspector.OutputStream)=} callback
+ * @param {function(!Common.OutputStream)=} callback
*/
write: function(data, callback) {},
@@ -17,10 +17,10 @@ WebInspector.OutputStream.prototype = {
};
/**
- * @implements {WebInspector.OutputStream}
+ * @implements {Common.OutputStream}
* @unrestricted
*/
-WebInspector.StringOutputStream = class {
+Common.StringOutputStream = class {
constructor() {
this._data = '';
}
@@ -28,7 +28,7 @@ WebInspector.StringOutputStream = class {
/**
* @override
* @param {string} chunk
- * @param {function(!WebInspector.OutputStream)=} callback
+ * @param {function(!Common.OutputStream)=} callback
*/
write(chunk, callback) {
this._data += chunk;

Powered by Google App Engine
This is Rietveld 408576698