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

Unified Diff: extensions/browser/api/web_request/extra_request_params.h

Issue 568583002: Introduce WebRequestEventRouterDelegate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Hide tab_id and window_id from extensions. Created 6 years, 3 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: 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_

Powered by Google App Engine
This is Rietveld 408576698