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

Side by Side Diff: extensions/browser/api/web_request/web_request_event_router_delegate.cc

Issue 1577673002: WebRequest API cleanup (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: copy GetSocketAddress().host instead of & to resolve win failure Created 4 years, 11 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 unified diff | Download patch
OLDNEW
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" 7 #include "extensions/browser/api/web_request/web_request_api_constants.h"
8 #include "extensions/browser/api/web_request/web_request_event_details.h"
8 9
9 namespace keys = extension_web_request_api_constants; 10 namespace keys = extension_web_request_api_constants;
10 11
11 namespace extensions { 12 namespace extensions {
12 13
13 WebRequestEventRouterDelegate::WebRequestEventRouterDelegate() { 14 WebRequestEventRouterDelegate::WebRequestEventRouterDelegate() {
14 } 15 }
15 16
16 WebRequestEventRouterDelegate::~WebRequestEventRouterDelegate() { 17 WebRequestEventRouterDelegate::~WebRequestEventRouterDelegate() {
17 } 18 }
18 void WebRequestEventRouterDelegate::ExtractExtraRequestDetails( 19 void WebRequestEventRouterDelegate::ExtractExtraRequestDetails(
19 const net::URLRequest* request, 20 const net::URLRequest* request,
20 base::DictionaryValue* out) { 21 WebRequestEventDetails* out) {
21 out->SetInteger(keys::kTabIdKey, -1); 22 out->SetInteger(keys::kTabIdKey, -1);
22 } 23 }
23 24
24 bool WebRequestEventRouterDelegate::OnGetMatchingListenersImplCheck( 25 bool WebRequestEventRouterDelegate::OnGetMatchingListenersImplCheck(
25 int tab_id, 26 int tab_id,
26 int window_id, 27 int window_id,
27 const net::URLRequest* request) { 28 const net::URLRequest* request) {
28 return false; 29 return false;
29 } 30 }
30 31
31 } // namespace extensions 32 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698