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

Issue 557733002: [Android WebView] Use NetLog for providing full request headers to DevTools (Closed)

Created:
6 years, 3 months ago by mnaganov (inactive)
Modified:
6 years, 3 months ago
Reviewers:
benm (inactive), boliu
CC:
chromium-reviews, cbentzel+watch_chromium.org, android-webview-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

[Android WebView] Use NetLog for providing full request headers to DevTools AwURLRequestContextGetter now owns an instance of net::NetLog. BUG=277075 R=boliu@chromium.org Committed: https://chromium.googlesource.com/chromium/src/+/a41817cd3386444c5b20ec8beda42e32f803cd55

Patch Set 1 #

Total comments: 2

Patch Set 2 : Moved NetLog ownership to AwURLRequestContextGetter #

Total comments: 2

Patch Set 3 : Comments addressed #

Total comments: 6

Patch Set 4 : Comments addressed #

Patch Set 5 : Moved NetLog creation to AwURLRequestContextGetter constructor #

Total comments: 2

Patch Set 6 : Added comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -5 lines) Patch
M android_webview/browser/aw_browser_context.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M android_webview/browser/aw_browser_context.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M android_webview/browser/aw_content_browser_client.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M android_webview/browser/net/aw_url_request_context_getter.h View 1 2 3 4 5 4 chunks +6 lines, -2 lines 0 comments Download
M android_webview/browser/net/aw_url_request_context_getter.cc View 1 2 3 4 4 chunks +8 lines, -1 line 0 comments Download

Messages

Total messages: 27 (7 generated)
mnaganov (inactive)
Please see my comments on b/17352664
6 years, 3 months ago (2014-09-09 10:17:35 UTC) #2
benm (inactive)
https://codereview.chromium.org/557733002/diff/1/android_webview/browser/aw_browser_context.cc File android_webview/browser/aw_browser_context.cc (right): https://codereview.chromium.org/557733002/diff/1/android_webview/browser/aw_browser_context.cc#newcode233 android_webview/browser/aw_browser_context.cc:233: return GetDefaultStoragePartition(this)->GetURLRequestContext(); I was looking to see if we ...
6 years, 3 months ago (2014-09-09 11:11:27 UTC) #3
mnaganov (inactive)
Seems like a good idea. At least, until we only have a single profile in ...
6 years, 3 months ago (2014-09-09 13:02:28 UTC) #4
benm (inactive)
On 2014/09/09 13:02:28, mnaganov (cr) wrote: > Seems like a good idea. At least, until ...
6 years, 3 months ago (2014-09-09 14:18:01 UTC) #5
benm (inactive)
https://codereview.chromium.org/557733002/diff/20001/android_webview/browser/aw_content_browser_client.h File android_webview/browser/aw_content_browser_client.h (right): https://codereview.chromium.org/557733002/diff/20001/android_webview/browser/aw_content_browser_client.h#newcode16 android_webview/browser/aw_content_browser_client.h:16: } needed?
6 years, 3 months ago (2014-09-09 14:18:07 UTC) #6
mnaganov (inactive)
https://codereview.chromium.org/557733002/diff/20001/android_webview/browser/aw_content_browser_client.h File android_webview/browser/aw_content_browser_client.h (right): https://codereview.chromium.org/557733002/diff/20001/android_webview/browser/aw_content_browser_client.h#newcode16 android_webview/browser/aw_content_browser_client.h:16: } On 2014/09/09 14:18:07, benm wrote: > needed? Removed, ...
6 years, 3 months ago (2014-09-09 14:48:18 UTC) #7
boliu
https://codereview.chromium.org/557733002/diff/40001/android_webview/android_webview.gyp File android_webview/android_webview.gyp (right): https://codereview.chromium.org/557733002/diff/40001/android_webview/android_webview.gyp#newcode137 android_webview/android_webview.gyp:137: '../net/net.gyp:net', Just wondering...how did all the other stuff from ...
6 years, 3 months ago (2014-09-09 15:41:40 UTC) #8
mnaganov (inactive)
https://codereview.chromium.org/557733002/diff/40001/android_webview/android_webview.gyp File android_webview/android_webview.gyp (right): https://codereview.chromium.org/557733002/diff/40001/android_webview/android_webview.gyp#newcode137 android_webview/android_webview.gyp:137: '../net/net.gyp:net', On 2014/09/09 15:41:39, boliu wrote: > Just wondering...how ...
6 years, 3 months ago (2014-09-09 16:01:17 UTC) #9
boliu
lgtm
6 years, 3 months ago (2014-09-09 16:05:43 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mnaganov@chromium.org/557733002/50007
6 years, 3 months ago (2014-09-09 16:53:41 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_tests_recipe on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_dbg_tests_recipe/builds/6864)
6 years, 3 months ago (2014-09-09 18:40:46 UTC) #14
boliu
Failing android tests due to threading issue. Good thing I asked for the DCHECK :) ...
6 years, 3 months ago (2014-09-10 01:40:57 UTC) #15
mnaganov (inactive)
NetLog is thread-safe, so it seems natural for people to request it from random threads. ...
6 years, 3 months ago (2014-09-10 08:51:39 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mnaganov@chromium.org/557733002/70001
6 years, 3 months ago (2014-09-10 14:28:59 UTC) #18
boliu
https://codereview.chromium.org/557733002/diff/70001/android_webview/browser/net/aw_url_request_context_getter.h File android_webview/browser/net/aw_url_request_context_getter.h (right): https://codereview.chromium.org/557733002/diff/70001/android_webview/browser/net/aw_url_request_context_getter.h#newcode50 android_webview/browser/net/aw_url_request_context_getter.h:50: net::NetLog* GetNetLog(); Add a comment this can be called ...
6 years, 3 months ago (2014-09-10 14:57:24 UTC) #19
mnaganov (inactive)
https://codereview.chromium.org/557733002/diff/70001/android_webview/browser/net/aw_url_request_context_getter.h File android_webview/browser/net/aw_url_request_context_getter.h (right): https://codereview.chromium.org/557733002/diff/70001/android_webview/browser/net/aw_url_request_context_getter.h#newcode50 android_webview/browser/net/aw_url_request_context_getter.h:50: net::NetLog* GetNetLog(); On 2014/09/10 14:57:24, boliu wrote: > Add ...
6 years, 3 months ago (2014-09-10 15:34:26 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mnaganov@chromium.org/557733002/90001
6 years, 3 months ago (2014-09-10 15:44:38 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: android_aosp on tryserver.chromium.linux (None)
6 years, 3 months ago (2014-09-10 17:15:18 UTC) #25
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/a41817cd3386444c5b20ec8beda42e32f803cd55 Cr-Commit-Position: refs/heads/master@{#294359}
6 years, 3 months ago (2014-09-11 09:00:38 UTC) #26
mnaganov (inactive)
6 years, 3 months ago (2014-09-11 09:00:42 UTC) #27
Message was sent while issue was closed.
Committed patchset #6 (id:90001) manually as a41817c (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698