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

Unified Diff: tools/json_schema_compiler/js_externs_generator_test.py

Issue 2650733002: Revert of Update json_schema_compiler to handle the Automation extension API (Closed)
Patch Set: Created 3 years, 11 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
« no previous file with comments | « tools/json_schema_compiler/js_externs_generator.py ('k') | tools/json_schema_compiler/js_util.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/json_schema_compiler/js_externs_generator_test.py
diff --git a/tools/json_schema_compiler/js_externs_generator_test.py b/tools/json_schema_compiler/js_externs_generator_test.py
index 88c2a09f04d0773e10fa5643d730557c2cf42975..917ce6379fb6db95b2973748096b55367282f66f 100755
--- a/tools/json_schema_compiler/js_externs_generator_test.py
+++ b/tools/json_schema_compiler/js_externs_generator_test.py
@@ -45,18 +45,6 @@
(DOMString or Greek or long[]) choice;
object plainObj;
ArrayBuffer arrayBuff;
- };
-
- dictionary Qux {
- long notOptionalLong;
- long? optionalLong;
-
- // A map from string to number.
- // <jsexterns>@type {Object<string, number>}</jsexterns>
- object dict;
-
- static void go();
- static void stop();
};
callback VoidCallback = void();
@@ -142,43 +130,6 @@
* @see https://developer.chrome.com/extensions/fakeApi#type-Baz
*/
chrome.fakeApi.Baz;
-
-/**
- * @constructor
- * @private
- * @see https://developer.chrome.com/extensions/fakeApi#type-Qux
- */
-chrome.fakeApi.Qux = function() {};
-
-/**
- * @type {number}
- * @see https://developer.chrome.com/extensions/fakeApi#type-notOptionalLong
- */
-chrome.fakeApi.Qux.prototype.notOptionalLong;
-
-/**
- * @type {(number|undefined)}
- * @see https://developer.chrome.com/extensions/fakeApi#type-optionalLong
- */
-chrome.fakeApi.Qux.prototype.optionalLong;
-
-/**
- * A map from string to number.
- * @type {Object<string, number>}
- * @see https://developer.chrome.com/extensions/fakeApi#type-dict
- */
-chrome.fakeApi.Qux.prototype.dict;
-
-/**
- * @see https://developer.chrome.com/extensions/fakeApi#method-go
- */
-chrome.fakeApi.Qux.prototype.go = function() {};
-
-/**
- * @see https://developer.chrome.com/extensions/fakeApi#method-stop
- */
-chrome.fakeApi.Qux.prototype.stop = function() {};
-
/**
* Does something exciting! And what's more, this is a multiline function
« no previous file with comments | « tools/json_schema_compiler/js_externs_generator.py ('k') | tools/json_schema_compiler/js_util.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698