| Index: chrome/browser/extensions/api/web_request/web_request_api.h
|
| diff --git a/chrome/browser/extensions/api/web_request/web_request_api.h b/chrome/browser/extensions/api/web_request/web_request_api.h
|
| index e3925990d8111869dfea31e94d194b92551c07a0..e44487fdf2fcd121ebc1f212775a57693087b4b1 100644
|
| --- a/chrome/browser/extensions/api/web_request/web_request_api.h
|
| +++ b/chrome/browser/extensions/api/web_request/web_request_api.h
|
| @@ -99,6 +99,7 @@ class ExtensionWebRequestEventRouter
|
| RESPONSE_HEADERS = 1<<1,
|
| BLOCKING = 1<<2,
|
| ASYNC_BLOCKING = 1<<3,
|
| + POST_DATA = 1<<4,
|
| };
|
|
|
| static bool InitFromValue(const base::ListValue& value,
|
| @@ -443,4 +444,10 @@ class WebRequestHandlerBehaviorChanged : public SyncIOThreadExtensionFunction {
|
| // TODO(mpcomplete): remove. http://crbug.com/100411
|
| void SendExtensionWebRequestStatusToHost(content::RenderProcessHost* host);
|
|
|
| +// PostData feature (crbug.com/10694055/) is currently only available in dev
|
| +// and canary channels. This function caches the channel info from
|
| +// chrome::VersionInfo. It is used both in WebRequest implementation and in
|
| +// tests, so it needs to be in this header.
|
| +bool IsPostDataEnabled();
|
| +
|
| #endif // CHROME_BROWSER_EXTENSIONS_API_WEB_REQUEST_WEB_REQUEST_API_H_
|
|
|