Index: extensions/browser/api/web_request/extra_request_params.h |
diff --git a/extensions/browser/api/web_request/extra_request_params.h b/extensions/browser/api/web_request/extra_request_params.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..71bbe635b9bafb941168b91770ddb9dfe97022e1 |
--- /dev/null |
+++ b/extensions/browser/api/web_request/extra_request_params.h |
@@ -0,0 +1,25 @@ |
+// Copyright (c) 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef EXTENSIONS_BROWSER_API_WEB_REQUEST_EXTRA_REQUEST_PARAMS_H_ |
+#define EXTENSIONS_BROWSER_API_WEB_REQUEST_EXTRA_REQUEST_PARAMS_H_ |
+ |
+#include "base/values.h" |
+ |
+namespace net { |
+class URLRequest; |
+} // namespace net |
+ |
+class ExtraRequestParams { |
+ public: |
+ ExtraRequestParams(); |
+ explicit ExtraRequestParams(const ExtraRequestParams& params); |
+ virtual ~ExtraRequestParams(); |
+ |
+ virtual bool OnInitFromValueCheck(const base::DictionaryValue& value); |
+ |
+ virtual bool OnGetMatchingListenersImplCheck(net::URLRequest* request) const; |
+}; |
+ |
+#endif // EXTENSIONS_BROWSER_API_WEB_REQUEST_EXTRA_REQUEST_PARAMS_H_ |