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

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

Issue 615583003: Introduce NetworkDelegate's implementation in extensions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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"
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698