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

Unified Diff: chrome/common/extensions/docs/server2/test_data/object_level_availability/tabs.py

Issue 386443003: Docserver: Add 'deprecated since' message for API nodes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nit Created 6 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: chrome/common/extensions/docs/server2/test_data/object_level_availability/tabs.py
diff --git a/chrome/common/extensions/docs/server2/test_data/object_level_availability/tabs.py b/chrome/common/extensions/docs/server2/test_data/object_level_availability/tabs.py
index f5456d748d87dcba500e6af16120fbd1c9ac9b2d..2c12521f2b108ce17f2e3e668cd1043cac59e292 100644
--- a/chrome/common/extensions/docs/server2/test_data/object_level_availability/tabs.py
+++ b/chrome/common/extensions/docs/server2/test_data/object_level_availability/tabs.py
@@ -42,7 +42,11 @@ TABS_SCHEMA_BRANCHES = MoveAllTo(CHROME_EXTENSIONS, {
}
},
'api': {
- '_api_features.json': '{}',
+ '_api_features.json': json.dumps({
+ 'tabs.scheduledFunc': {
+ 'channel': 'stable'
+ }
+ }),
'_manifest_features.json': '{}',
'_permission_features.json': '{}',
'fake_tabs.idl': FAKE_TABS_IDL,
@@ -89,6 +93,11 @@ TABS_SCHEMA_BRANCHES = MoveAllTo(CHROME_EXTENSIONS, {
'type':'any'
}
}
+ },
+ {
+ 'id': 'DeprecatedType',
+ 'type': 'any',
+ 'deprecated': 'This is deprecated'
}
],
'properties': {
@@ -136,6 +145,10 @@ TABS_SCHEMA_BRANCHES = MoveAllTo(CHROME_EXTENSIONS, {
'type': 'any'
}
]
+ },
+ {
+ 'name': 'scheduledFunc',
+ 'parameters': []
}
],
'events': [
@@ -189,7 +202,11 @@ TABS_SCHEMA_BRANCHES = MoveAllTo(CHROME_EXTENSIONS, {
},
'1500': {
'api': {
- '_api_features.json': "{}",
+ '_api_features.json': json.dumps({
+ 'tabs.scheduledFunc': {
+ 'channel': 'stable'
+ }
+ }),
'_manifest_features.json': "{}",
'_permission_features.json': "{}",
'fake_tabs.idl': FAKE_TABS_IDL,
@@ -213,6 +230,10 @@ TABS_SCHEMA_BRANCHES = MoveAllTo(CHROME_EXTENSIONS, {
'code': {},
'file': {}
}
+ },
+ {
+ 'id': 'DeprecatedType',
+ 'deprecated': 'This is deprecated'
}
],
'properties': {
@@ -248,6 +269,10 @@ TABS_SCHEMA_BRANCHES = MoveAllTo(CHROME_EXTENSIONS, {
'name': 'tabId'
}
]
+ },
+ {
+ 'name': 'scheduledFunc',
+ 'parameters': []
}
],
'events': [
@@ -311,6 +336,10 @@ TABS_SCHEMA_BRANCHES = MoveAllTo(CHROME_EXTENSIONS, {
'code': {},
'file': {}
}
+ },
+ {
+ 'id': 'DeprecatedType',
+ 'deprecated': 'This is deprecated'
}
],
'properties': {
@@ -404,6 +433,10 @@ TABS_SCHEMA_BRANCHES = MoveAllTo(CHROME_EXTENSIONS, {
'code': {},
'file': {}
}
+ },
+ {
+ 'id': 'DeprecatedType',
+ 'deprecated': 'This is deprecated'
}
],
'properties': {
@@ -481,6 +514,9 @@ TABS_SCHEMA_BRANCHES = MoveAllTo(CHROME_EXTENSIONS, {
'properties': {
'allFrames': {}
}
+ },
+ {
+ 'id': 'DeprecatedType',
}
],
'properties': {

Powered by Google App Engine
This is Rietveld 408576698