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

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

Issue 385703005: Docserver: Modify doc inlining so all relevant data is present in availability_finder.py (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 158dea71db8c13b6a579a6bb1bbcf542b365299f..af24e948e168913471f4388f6e7fb98a2d4f95f6 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
@@ -22,6 +22,16 @@ TABS_SCHEMA_BRANCHES = MoveAllTo(CHROME_EXTENSIONS, {
'_api_features.json': '{}',
'_manifest_features.json': '{}',
'_permission_features.json': '{}',
+ 'fake_tabs.idl': '\n'.join(['// Some description here.',
+ 'namespace fakeTabs {',
+ ' dictionary WasImplicitlyInlinedType {};',
+ ' interface Functions {',
+ ' // $ref:WasImplicitlyInlinedType',
+ ' static void myFunc();',
+ ' // $ref:WasImplicitlyInlinedType',
+ ' static void anotherFunc();',
+ ' };',
+ '};']),
'tabs.json': json.dumps([{
'namespace': 'tabs',
'types': [
@@ -168,6 +178,16 @@ TABS_SCHEMA_BRANCHES = MoveAllTo(CHROME_EXTENSIONS, {
'_api_features.json': "{}",
'_manifest_features.json': "{}",
'_permission_features.json': "{}",
+ 'fake_tabs.idl': '\n'.join(['// Some description here.',
+ 'namespace fakeTabs {',
+ ' dictionary WasImplicitlyInlinedType {};',
+ ' interface Functions {',
+ ' // $ref:WasImplicitlyInlinedType',
+ ' static void myFunc();',
+ ' // $ref:WasImplicitlyInlinedType',
+ ' static void anotherFunc();',
+ ' };',
+ '};']),
'tabs.json': json.dumps([{
'namespace': 'tabs',
'types': [
@@ -265,6 +285,16 @@ TABS_SCHEMA_BRANCHES = MoveAllTo(CHROME_EXTENSIONS, {
'_api_features.json': "{}",
'_manifest_features.json': "{}",
'_permission_features.json': "{}",
+ 'fake_tabs.idl': '\n'.join(['// Some description here.',
+ 'namespace fakeTabs {',
+ ' dictionary WasImplicitlyInlinedType {};',
+ ' interface Functions {',
+ ' // $ref:WasImplicitlyInlinedType',
+ ' static void myFunc();',
+ ' // $ref:WasImplicitlyInlinedType',
+ ' static void anotherFunc();',
+ ' };',
+ '};']),
'tabs.json': json.dumps([{
'namespace': 'tabs',
'types': [
@@ -357,6 +387,16 @@ TABS_SCHEMA_BRANCHES = MoveAllTo(CHROME_EXTENSIONS, {
'api': {
'_manifest_features.json': "{}",
'_permission_features.json': "{}",
+ 'fake_tabs.idl': '\n'.join(['// Some description here.',
+ 'namespace fakeTabs {',
+ ' dictionary WasImplicitlyInlinedType {};',
+ ' interface Functions {',
+ ' // $ref:WasImplicitlyInlinedType',
+ ' static void myFunc();',
+ ' // $ref:WasImplicitlyInlinedType',
+ ' static void anotherFunc();',
+ ' };',
+ '};']),
'tabs.json': json.dumps([{
'namespace': 'tabs',
'types': [
@@ -435,6 +475,15 @@ TABS_SCHEMA_BRANCHES = MoveAllTo(CHROME_EXTENSIONS, {
'api': {
'_manifest_features.json': "{}",
'_permission_features.json': "{}",
+ 'fake_tabs.idl': '\n'.join(['// Some description here.',
+ 'namespace fakeTabs {',
+ ' dictionary WasImplicitlyInlinedType {};',
+ ' interface Functions {',
+ ' // $ref:WasImplicitlyInlinedType',
ahernandez 2014/07/10 22:03:15 I need a bit of help with this IDL file test. I wa
not at google - send to devlin 2014/07/15 21:02:38 here's an example: https://code.google.com/p/chrom
+ ' static void myFunc();',
+ ' static void anotherFunc();',
+ ' };',
+ '};']),
'tabs.json': json.dumps([{
'namespace': 'tabs',
'types': [

Powered by Google App Engine
This is Rietveld 408576698