Commit 0c717e54 authored by battre@chromium.org's avatar battre@chromium.org

Remove instanceType attributes from API documentation

This CL removes the instanceType constants from the API documentation because the extension developer does not need to care about them. They are filled by calling the respective constructors.

BUG=112155
TBR=mpcomplete@chromium.org

Review URL: https://chromiumcodereview.appspot.com/10836078

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149681 0039d316-1c4b-4281-b951-d872f2087c98
parent 9ec5aaa0
......@@ -23,7 +23,10 @@
"description": "Matches if the request type of a request is contained in the list. Requests that cannot match any of the types will be filtered out.",
"items": { "type": "string", "enum": ["main_frame", "sub_frame", "stylesheet", "script", "image", "object", "xmlhttprequest", "other"] }
},
"instanceType": { "type": "string", "enum": ["declarativeWebRequest.RequestMatcher"] }
"instanceType": {
"type": "string", "enum": ["declarativeWebRequest.RequestMatcher"],
"nodoc": true
}
}
},
{
......@@ -31,7 +34,10 @@
"description": "Declarative event action that cancels a network request.",
"type": "object",
"properties": {
"instanceType": { "type": "string", "enum": ["declarativeWebRequest.CancelRequest"] }
"instanceType": {
"type": "string", "enum": ["declarativeWebRequest.CancelRequest"],
"nodoc": true
}
}
},
{
......@@ -39,7 +45,10 @@
"description": "Declarative event action that redirects a network request.",
"type": "object",
"properties": {
"instanceType": { "type": "string", "enum": ["declarativeWebRequest.RedirectRequest"] },
"instanceType": {
"type": "string", "enum": ["declarativeWebRequest.RedirectRequest"],
"nodoc": true
},
"redirectUrl": { "type": "string", "description": "Destination to where the request is redirected."}
}
},
......
......@@ -684,33 +684,6 @@ very fast URL matching algorithm for hundreds of thousands of URLs.
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
</div><div>
<div>
<dt>
<var>instanceType</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span class="enum">enumerated</span>
<span id="typeTemplate">
<span>
<span>string</span>
<span>["declarativeWebRequest.RequestMatcher"]</span>
</span>
</span>
)
</div>
</em>
</dt>
<dd class="todo">
Undocumented.
</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
</div>
</dl>
......@@ -743,33 +716,6 @@ very fast URL matching algorithm for hundreds of thousands of URLs.
<dl>
<div>
<div>
<dt>
<var>instanceType</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span class="enum">enumerated</span>
<span id="typeTemplate">
<span>
<span>string</span>
<span>["declarativeWebRequest.RedirectRequest"]</span>
</span>
</span>
)
</div>
</em>
</dt>
<dd class="todo">
Undocumented.
</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
</div><div>
<div>
<dt>
<var>redirectUrl</var>
<em>
......@@ -876,34 +822,6 @@ very fast URL matching algorithm for hundreds of thousands of URLs.
<!-- OBJECT PROPERTIES -->
<dd>
<dl>
<div>
<div>
<dt>
<var>instanceType</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span class="enum">enumerated</span>
<span id="typeTemplate">
<span>
<span>string</span>
<span>["declarativeWebRequest.CancelRequest"]</span>
</span>
</span>
)
</div>
</em>
</dt>
<dd class="todo">
Undocumented.
</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
</div>
</dl>
</dd>
<!-- OBJECT METHODS -->
......
......@@ -1942,7 +1942,7 @@
"options.js",
"style.css"
],
"source_hash": "a4052b597b547934e7c84ae39627a5378cd2e397",
"source_hash": "6a1b18989fb2b403d947c1f879fd0ac086145b8b",
"zip_path": "examples/api/notifications.zip"
},
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment