|
Add request_id to HttpRequestInfo and pass it to the NetworkDelegate for events.
This lets us look up the request associated with an http transaction and
send event details for the webRequest.onBeforeRequest extension event.
I also hooked up the onBeforeRequest event for HTTP network and cache transactions so that they are separate from other requests. This lets us have the request header information.
BUG= 60101
TEST=no
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=79905
Total comments: 27
Total comments: 29
Total comments: 6
Total comments: 19
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1170 lines, -624 lines) |
Patch |
 |
|
chrome/browser/extensions/extension_webrequest_api.h
|
View
|
1
2
3
4
5
6
|
5 chunks |
+39 lines, -5 lines |
0 comments
|
Download
|
 |
|
chrome/browser/extensions/extension_webrequest_api.cc
|
View
|
1
2
3
4
5
6
|
7 chunks |
+84 lines, -7 lines |
0 comments
|
Download
|
 |
|
chrome/browser/extensions/extension_webrequest_api_constants.h
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
|
chrome/browser/extensions/extension_webrequest_api_constants.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
|
chrome/browser/extensions/extension_webrequest_apitest.cc
|
View
|
1
2
|
1 chunk |
+12 lines, -2 lines |
0 comments
|
Download
|
 |
|
chrome/browser/net/chrome_network_delegate.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
|
chrome/browser/net/chrome_network_delegate.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+12 lines, -4 lines |
0 comments
|
Download
|
 |
|
chrome/common/extensions/api/extension_api.json
|
View
|
1
2
3
4
5
6
|
1 chunk |
+15 lines, -0 lines |
0 comments
|
Download
|
 |
|
chrome/common/extensions/docs/experimental.webRequest.html
|
View
|
1
2
3
4
5
6
|
2 chunks |
+229 lines, -0 lines |
0 comments
|
Download
|
 |
|
chrome/common/extensions/docs/samples.html
|
View
|
1
2
|
49 chunks |
+442 lines, -442 lines |
0 comments
|
Download
|
 |
|
chrome/test/data/extensions/api_test/webrequest/api/test.html
|
View
|
1
2
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
|
chrome/test/data/extensions/api_test/webrequest/events/test.html
|
View
|
1
2
3
4
5
|
4 chunks |
+137 lines, -95 lines |
0 comments
|
Download
|
 |
|
net/base/network_delegate.h
|
View
|
1
2
3
4
5
6
|
3 chunks |
+26 lines, -9 lines |
0 comments
|
Download
|
 |
|
net/base/network_delegate.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+12 lines, -4 lines |
0 comments
|
Download
|
 |
|
net/http/http_cache_transaction.h
|
View
|
1
2
3
4
5
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
|
net/http/http_cache_transaction.cc
|
View
|
1
2
3
4
5
6
|
5 chunks |
+63 lines, -29 lines |
0 comments
|
Download
|
 |
|
net/http/http_network_transaction.h
|
View
|
1
2
3
4
5
6
|
3 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
|
net/http/http_network_transaction.cc
|
View
|
1
2
3
4
5
6
|
5 chunks |
+48 lines, -14 lines |
0 comments
|
Download
|
 |
|
net/http/http_request_info.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
|
net/http/http_request_info.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
|
net/url_request/url_request.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+6 lines, -2 lines |
0 comments
|
Download
|
 |
|
net/url_request/url_request_http_job.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
|
net/url_request/url_request_test_util.h
|
View
|
1
2
3
4
5
|
1 chunk |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
|
net/url_request/url_request_test_util.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+10 lines, -4 lines |
0 comments
|
Download
|
 |
|
net/url_request/url_request_unittest.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
Total messages: 16 (0 generated)
|