OLD | NEW |
1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "extensions/browser/api/web_request/web_request_event_router_delegate.h
" | 5 #include "extensions/browser/api/web_request/web_request_event_router_delegate.h
" |
6 | 6 |
| 7 #include "extensions/browser/api/web_request/web_request_api_constants.h" |
| 8 |
| 9 namespace keys = extension_web_request_api_constants; |
| 10 |
7 namespace extensions { | 11 namespace extensions { |
8 | 12 |
9 WebRequestEventRouterDelegate::WebRequestEventRouterDelegate() { | 13 WebRequestEventRouterDelegate::WebRequestEventRouterDelegate() { |
10 } | 14 } |
11 | 15 |
12 WebRequestEventRouterDelegate::~WebRequestEventRouterDelegate() { | 16 WebRequestEventRouterDelegate::~WebRequestEventRouterDelegate() { |
13 } | 17 } |
| 18 void WebRequestEventRouterDelegate::ExtractExtraRequestDetails( |
| 19 net::URLRequest* request, base::DictionaryValue* out){ |
| 20 out->SetInteger(keys::kTabIdKey, -1); |
| 21 } |
14 | 22 |
15 bool WebRequestEventRouterDelegate::OnGetMatchingListenersImplCheck( | 23 bool WebRequestEventRouterDelegate::OnGetMatchingListenersImplCheck( |
16 int tab_id, int window_id, net::URLRequest* request) { | 24 int tab_id, int window_id, net::URLRequest* request) { |
17 return false; | 25 return false; |
18 } | 26 } |
19 | 27 |
20 } // namespace extensions | 28 } // namespace extensions |
OLD | NEW |