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

Issue 2905007: Add the URLRequest's priority to the net-log.... (Closed)

Created:
10 years, 5 months ago by eroman
Modified:
9 years, 6 months ago
Reviewers:
cbentzel
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

Add the URLRequest's priority to the net-log. BUG=NONE TEST=open about:net-internals, look at a request dump. there should be a "priority" field. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=52186

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : Ok, actually make it compile this time :) #

Patch Set 4 : '' #

Total comments: 4

Patch Set 5 : address cbentzel comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -8 lines) Patch
M chrome/browser/net/passive_log_collector_unittest.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M net/url_request/url_request.cc View 2 3 4 2 chunks +3 lines, -2 lines 0 comments Download
M net/url_request/url_request_netlog_params.h View 1 2 2 chunks +7 lines, -1 line 0 comments Download
M net/url_request/url_request_netlog_params.cc View 1 2 3 1 chunk +10 lines, -3 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
eroman
10 years, 5 months ago (2010-07-10 21:19:49 UTC) #1
cbentzel
LGTM I didn't look at the mac_valgrind compile failure - but I'm guessing it's an ...
10 years, 5 months ago (2010-07-13 02:23:37 UTC) #2
eroman
Thanks for the review! > I didn't look at the mac_valgrind compile failure - but ...
10 years, 5 months ago (2010-07-13 02:34:54 UTC) #3
cbentzel
10 years, 5 months ago (2010-07-13 02:40:31 UTC) #4
On Mon, Jul 12, 2010 at 10:34 PM, <eroman@chromium.org> wrote:

>
> My thinking is I want to keep the JSON interchange format between
> browser and renderer as structured as possible, and leave any formatting
> decisions up to the javascript rather than the C++.
>
>
I agree with this approach in general, although in the case of enum's I
could imagine passing a string with the symbolic name is reasonable
(otherwise, you'll need to maintain the mapping in both locations).

Powered by Google App Engine
This is Rietveld 408576698