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

Issue 207553008: Surface button for loading stale cache copy on net error page. (Closed)

Created:
6 years, 9 months ago by Randy Smith (Not in Mondays)
Modified:
6 years, 8 months ago
CC:
chromium-reviews, davidben
Visibility:
Public.

Description

Surface button for loading stale cache copy on net error page. In cases in which a network error occurs, and we have a stale copy of the top level resource that was attempting to be loaded, show a button on the network error page that the user can use to load that stale copy. BUG=329620 R=mmenke@chromium.org R=ellyjones@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=264696

Patch Set 1 #

Patch Set 2 : Shift text to match behavior doc. #

Total comments: 10

Patch Set 3 : Incorporated Matt's comments. #

Patch Set 4 : Sync'd to r261035 #

Patch Set 5 : Add var to variables in swapButtonOrder function. #

Patch Set 6 : Incorporated Matt's comments from c#5. #

Patch Set 7 : Added hover text. #

Patch Set 8 : Added UMA (big patch). #

Patch Set 9 : Minor tweaks from self-review. #

Total comments: 37

Patch Set 10 : Incorporated comments. #

Total comments: 43

Patch Set 11 : Incoporated all comments. #

Patch Set 12 : Make new functionality work transparently on IOS, which doesn't have gin bindings. #

Total comments: 24

Patch Set 13 : Incorporated Matt's comments on PS12. #

Patch Set 14 : Sync'd to r264192. #

Total comments: 8

Patch Set 15 : Incorporated comments. #

Patch Set 16 : Include unsaved emacs buffers :-J. #

Patch Set 17 : Fix compiler error. #

Total comments: 2

Patch Set 18 : Fix incorrect spelling of iOS. #

Total comments: 22
Unified diffs Side-by-side diffs Delta from patch set Stats (+464 lines, -170 lines) Patch
M chrome/app/generated_resources.grd View 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/errorpage_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 9 chunks +26 lines, -11 lines 0 comments Download
M chrome/browser/net/net_error_tab_helper.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/net/net_error_tab_helper.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +16 lines, -0 lines 0 comments Download
M chrome/chrome_renderer.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/common/localized_error.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/localized_error.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +13 lines, -5 lines 0 comments Download
M chrome/common/net/net_error_info.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +23 lines, -0 lines 0 comments Download
M chrome/common/net/net_error_info.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +6 lines, -0 lines 2 comments Download
D chrome/renderer/net/error_cache_load.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -60 lines 0 comments Download
D chrome/renderer/net/error_cache_load.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -60 lines 0 comments Download
M chrome/renderer/net/net_error_helper.h View 1 2 3 4 5 6 7 8 9 3 chunks +9 lines, -1 line 0 comments Download
M chrome/renderer/net/net_error_helper.cc View 1 2 3 4 5 6 7 8 9 7 chunks +32 lines, -5 lines 0 comments Download
M chrome/renderer/net/net_error_helper_core.h View 1 2 3 4 5 6 7 8 9 10 6 chunks +22 lines, -1 line 2 comments Download
M chrome/renderer/net/net_error_helper_core.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 9 chunks +79 lines, -7 lines 6 comments Download
M chrome/renderer/net/net_error_helper_core_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 9 chunks +47 lines, -10 lines 4 comments Download
A chrome/renderer/net/net_error_page_controller.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +53 lines, -0 lines 4 comments Download
A chrome/renderer/net/net_error_page_controller.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +89 lines, -0 lines 2 comments Download
M chrome/renderer/resources/neterror.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +9 lines, -5 lines 0 comments Download
M chrome/renderer/resources/neterror.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +27 lines, -2 lines 2 comments Download

Messages

Total messages: 47 (0 generated)
mmenke
https://codereview.chromium.org/207553008/diff/20001/chrome/common/localized_error.cc File chrome/common/localized_error.cc (right): https://codereview.chromium.org/207553008/diff/20001/chrome/common/localized_error.cc#newcode672 chrome/common/localized_error.cc:672: if (stale_copy_in_cache) { I suggest putting this below use_default_suggestions. ...
6 years, 9 months ago (2014-03-26 15:06:14 UTC) #1
mmenke
Oops...sorry if I commented before this was ready. I knew I had a review to ...
6 years, 9 months ago (2014-03-26 15:18:12 UTC) #2
Randy Smith (Not in Mondays)
On 2014/03/26 15:18:12, mmenke wrote: > Oops...sorry if I commented before this was ready. I ...
6 years, 9 months ago (2014-03-26 15:43:24 UTC) #3
Randy Smith (Not in Mondays)
Comments incorporated. Not currently requesting a re-review, as this CL is likely to change as ...
6 years, 9 months ago (2014-03-26 20:40:11 UTC) #4
mmenke
Quick responses to your responses. https://codereview.chromium.org/207553008/diff/20001/chrome/common/localized_error.cc File chrome/common/localized_error.cc (right): https://codereview.chromium.org/207553008/diff/20001/chrome/common/localized_error.cc#newcode672 chrome/common/localized_error.cc:672: if (stale_copy_in_cache) { On ...
6 years, 9 months ago (2014-03-27 14:28:28 UTC) #5
Elly Fong-Jones
Is there any sort of in-UI explanation of what a 'stale local copy' is? Maybe ...
6 years, 9 months ago (2014-03-27 15:15:01 UTC) #6
Randy Smith (Not in Mondays)
On 2014/03/27 15:15:01, Elly Jones wrote: > Is there any sort of in-UI explanation of ...
6 years, 8 months ago (2014-04-02 18:30:30 UTC) #7
Randy Smith (Not in Mondays)
Matt, Elly: Willing to give this a real review? I think I'm ready to actually ...
6 years, 8 months ago (2014-04-02 19:20:58 UTC) #8
Randy Smith (Not in Mondays)
On 2014/04/02 19:20:58, rdsmith wrote: > Matt, Elly: Willing to give this a real review? ...
6 years, 8 months ago (2014-04-02 19:21:37 UTC) #9
Randy Smith (Not in Mondays)
Ok, I think I'm ready for review of this CL. Adding ttuttle@ at his request ...
6 years, 8 months ago (2014-04-08 22:25:45 UTC) #10
mmenke
This looks pretty good...As an added bonus, I'll need to track clicks on the Link ...
6 years, 8 months ago (2014-04-09 15:59:26 UTC) #11
Randy Smith (Not in Mondays)
On 2014/04/08 22:25:45, rdsmith wrote: > Ok, I think I'm ready for review of this ...
6 years, 8 months ago (2014-04-09 16:32:49 UTC) #12
mmenke
On 2014/04/09 16:32:49, rdsmith wrote: > On 2014/04/08 22:25:45, rdsmith wrote: > > Ok, I ...
6 years, 8 months ago (2014-04-09 17:49:45 UTC) #13
Elly Fong-Jones
design lgtm. https://codereview.chromium.org/207553008/diff/200001/chrome/renderer/net/error_page_helper_functions.cc File chrome/renderer/net/error_page_helper_functions.cc (right): https://codereview.chromium.org/207553008/diff/200001/chrome/renderer/net/error_page_helper_functions.cc#newcode39 chrome/renderer/net/error_page_helper_functions.cc:39: if (!render_frame_) can this object outlive the ...
6 years, 8 months ago (2014-04-10 17:15:37 UTC) #14
Randy Smith (Not in Mondays)
On 2014/04/09 17:49:45, mmenke wrote: > On 2014/04/09 16:32:49, rdsmith wrote: > > On 2014/04/08 ...
6 years, 8 months ago (2014-04-10 18:08:01 UTC) #15
Randy Smith (Not in Mondays)
All comments incorporated; ready for a new round of review. Jochen: I'm adding you as ...
6 years, 8 months ago (2014-04-10 21:51:00 UTC) #16
mmenke
https://codereview.chromium.org/207553008/diff/200001/chrome/renderer/net/net_error_helper_core.cc File chrome/renderer/net/net_error_helper_core.cc (right): https://codereview.chromium.org/207553008/diff/200001/chrome/renderer/net/net_error_helper_core.cc#newcode376 chrome/renderer/net/net_error_helper_core.cc:376: navigation_from_button_ = NO_BUTTON; On 2014/04/10 21:51:01, rdsmith wrote: > ...
6 years, 8 months ago (2014-04-11 19:42:31 UTC) #17
jochen (gone - plz use gerrit)
https://codereview.chromium.org/207553008/diff/210001/chrome/renderer/net/net_error_page_controller.h File chrome/renderer/net/net_error_page_controller.h (right): https://codereview.chromium.org/207553008/diff/210001/chrome/renderer/net/net_error_page_controller.h#newcode28 chrome/renderer/net/net_error_page_controller.h:28: public content::RenderFrameObserver { why do you derive from RFO?
6 years, 8 months ago (2014-04-14 07:32:35 UTC) #18
Randy Smith (Not in Mondays)
Jochen: I'll take a look at this and get back to you (current guess: historical, ...
6 years, 8 months ago (2014-04-14 13:06:05 UTC) #19
jochen (gone - plz use gerrit)
https://codereview.chromium.org/207553008/diff/200001/chrome/renderer/net/error_page_helper_functions.cc File chrome/renderer/net/error_page_helper_functions.cc (right): https://codereview.chromium.org/207553008/diff/200001/chrome/renderer/net/error_page_helper_functions.cc#newcode27 chrome/renderer/net/error_page_helper_functions.cc:27: if (context.IsEmpty()) On 2014/04/10 21:51:01, rdsmith wrote: > On ...
6 years, 8 months ago (2014-04-14 13:11:52 UTC) #20
Deprecated (see juliatuttle)
net_error_{,tab_}helper.* look fine to me. https://codereview.chromium.org/207553008/diff/210001/chrome/renderer/net/net_error_helper_core.h File chrome/renderer/net/net_error_helper_core.h (right): https://codereview.chromium.org/207553008/diff/210001/chrome/renderer/net/net_error_helper_core.h#newcode162 chrome/renderer/net/net_error_helper_core.h:162: // care of in ...
6 years, 8 months ago (2014-04-14 13:56:28 UTC) #21
mmenke
https://codereview.chromium.org/207553008/diff/210001/chrome/renderer/net/net_error_page_controller.h File chrome/renderer/net/net_error_page_controller.h (right): https://codereview.chromium.org/207553008/diff/210001/chrome/renderer/net/net_error_page_controller.h#newcode28 chrome/renderer/net/net_error_page_controller.h:28: public content::RenderFrameObserver { On 2014/04/14 13:11:53, jochen wrote: > ...
6 years, 8 months ago (2014-04-14 14:05:45 UTC) #22
Randy Smith (Not in Mondays)
Ready for next round of review. David: I added you to the cc list in ...
6 years, 8 months ago (2014-04-14 22:02:13 UTC) #23
mmenke
Just nits. https://codereview.chromium.org/207553008/diff/240001/chrome/browser/errorpage_browsertest.cc File chrome/browser/errorpage_browsertest.cc (right): https://codereview.chromium.org/207553008/diff/240001/chrome/browser/errorpage_browsertest.cc#newcode279 chrome/browser/errorpage_browsertest.cc:279: return testing::AssertionFailure() << "Result is " << ...
6 years, 8 months ago (2014-04-15 16:02:25 UTC) #24
Randy Smith (Not in Mondays)
Incorporated Matt's comments on PS12. https://codereview.chromium.org/207553008/diff/240001/chrome/browser/errorpage_browsertest.cc File chrome/browser/errorpage_browsertest.cc (right): https://codereview.chromium.org/207553008/diff/240001/chrome/browser/errorpage_browsertest.cc#newcode279 chrome/browser/errorpage_browsertest.cc:279: return testing::AssertionFailure() << "Result ...
6 years, 8 months ago (2014-04-15 18:27:29 UTC) #25
mmenke
I want to do a careful review tomorrow before signing off on this, but I'm ...
6 years, 8 months ago (2014-04-15 18:47:03 UTC) #26
davidben
https://codereview.chromium.org/207553008/diff/200001/chrome/renderer/net/net_error_helper_core.cc File chrome/renderer/net/net_error_helper_core.cc (right): https://codereview.chromium.org/207553008/diff/200001/chrome/renderer/net/net_error_helper_core.cc#newcode376 chrome/renderer/net/net_error_helper_core.cc:376: navigation_from_button_ = NO_BUTTON; On 2014/04/14 22:02:13, rdsmith wrote: > ...
6 years, 8 months ago (2014-04-15 22:04:38 UTC) #27
mmenke
On 2014/04/15 22:04:38, David Benjamin wrote: > https://codereview.chromium.org/207553008/diff/200001/chrome/renderer/net/net_error_helper_core.cc > File chrome/renderer/net/net_error_helper_core.cc (right): > > https://codereview.chromium.org/207553008/diff/200001/chrome/renderer/net/net_error_helper_core.cc#newcode376 ...
6 years, 8 months ago (2014-04-16 14:22:40 UTC) #28
mmenke
LGTM https://codereview.chromium.org/207553008/diff/240001/chrome/renderer/resources/neterror.js File chrome/renderer/resources/neterror.js (right): https://codereview.chromium.org/207553008/diff/240001/chrome/renderer/resources/neterror.js#newcode83 chrome/renderer/resources/neterror.js:83: } On 2014/04/15 18:27:29, rdsmith wrote: > On ...
6 years, 8 months ago (2014-04-17 14:39:24 UTC) #29
Randy Smith (Not in Mondays)
Scott: Would you be willing to stamp this based on mmenke's approval? This is specifically ...
6 years, 8 months ago (2014-04-17 15:06:53 UTC) #30
Randy Smith (Not in Mondays)
On 2014/04/17 15:06:53, rdsmith wrote: > Scott: Would you be willing to stamp this based ...
6 years, 8 months ago (2014-04-17 15:07:53 UTC) #31
sky
errorpage_browsertest.cc chrome/common/localized_error.* chrome/common/net/net_error_info.* LGTM For chrome/renderer/resources/neterror.* please get a better owner. https://codereview.chromium.org/207553008/diff/280001/chrome/browser/errorpage_browsertest.cc File chrome/browser/errorpage_browsertest.cc (right): ...
6 years, 8 months ago (2014-04-17 15:26:53 UTC) #32
Randy Smith (Not in Mondays)
Thanks; Scott; will incorporate your comments. NIco, willing to take a look at neterror.*? The ...
6 years, 8 months ago (2014-04-17 15:40:57 UTC) #33
Randy Smith (Not in Mondays)
Comments from Matt & Scott incorporated. https://codereview.chromium.org/207553008/diff/240001/chrome/renderer/resources/neterror.js File chrome/renderer/resources/neterror.js (right): https://codereview.chromium.org/207553008/diff/240001/chrome/renderer/resources/neterror.js#newcode83 chrome/renderer/resources/neterror.js:83: } On 2014/04/17 ...
6 years, 8 months ago (2014-04-17 16:04:53 UTC) #34
Nico
neterror lgtm stamp based on mmenke's review https://codereview.chromium.org/207553008/diff/340001/chrome/renderer/resources/neterror.js File chrome/renderer/resources/neterror.js (right): https://codereview.chromium.org/207553008/diff/340001/chrome/renderer/resources/neterror.js#newcode65 chrome/renderer/resources/neterror.js:65: // IOS. ...
6 years, 8 months ago (2014-04-17 16:51:47 UTC) #35
Randy Smith (Not in Mondays)
Thanks! https://codereview.chromium.org/207553008/diff/340001/chrome/renderer/resources/neterror.js File chrome/renderer/resources/neterror.js (right): https://codereview.chromium.org/207553008/diff/340001/chrome/renderer/resources/neterror.js#newcode65 chrome/renderer/resources/neterror.js:65: // IOS. On 2014/04/17 16:51:47, Nico wrote: > ...
6 years, 8 months ago (2014-04-17 16:59:14 UTC) #36
Randy Smith (Not in Mondays)
The CQ bit was checked by rdsmith@chromium.org
6 years, 8 months ago (2014-04-17 18:49:07 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rdsmith@chromium.org/207553008/360001
6 years, 8 months ago (2014-04-17 18:49:52 UTC) #38
mmenke
On 2014/04/17 18:49:52, I haz the power (commit-bot) wrote: > CQ is trying da patch. ...
6 years, 8 months ago (2014-04-17 21:37:06 UTC) #39
commit-bot: I haz the power
Change committed as 264696
6 years, 8 months ago (2014-04-18 00:50:54 UTC) #40
jar (doing other things)
https://codereview.chromium.org/207553008/diff/360001/chrome/common/net/net_error_info.cc File chrome/common/net/net_error_info.cc (right): https://codereview.chromium.org/207553008/diff/360001/chrome/common/net/net_error_info.cc#newcode41 chrome/common/net/net_error_info.cc:41: UMA_HISTOGRAM_ENUMERATION("Net.ErrorPageCounts", event, Please add an entry in tools/metrics/histograms/histograms.xml for ...
6 years, 8 months ago (2014-04-21 23:48:18 UTC) #41
mmenke
https://codereview.chromium.org/207553008/diff/360001/chrome/renderer/net/net_error_helper_core.cc File chrome/renderer/net/net_error_helper_core.cc (right): https://codereview.chromium.org/207553008/diff/360001/chrome/renderer/net/net_error_helper_core.cc#newcode379 chrome/renderer/net/net_error_helper_core.cc:379: navigation_from_button_ == RELOAD_BUTTON ? On 2014/04/21 23:48:19, jar wrote: ...
6 years, 8 months ago (2014-04-22 00:24:58 UTC) #42
jar (doing other things)
https://codereview.chromium.org/207553008/diff/360001/chrome/renderer/net/net_error_helper_core.cc File chrome/renderer/net/net_error_helper_core.cc (right): https://codereview.chromium.org/207553008/diff/360001/chrome/renderer/net/net_error_helper_core.cc#newcode379 chrome/renderer/net/net_error_helper_core.cc:379: navigation_from_button_ == RELOAD_BUTTON ? On 2014/04/22 00:24:59, mmenke wrote: ...
6 years, 8 months ago (2014-04-22 17:53:42 UTC) #43
Randy Smith (Not in Mondays)
I've actually incorporated the comments I respond to below in https://codereview.chromium.org/248123002/, also adding the histograms ...
6 years, 8 months ago (2014-04-22 20:40:01 UTC) #44
mmenke
https://codereview.chromium.org/207553008/diff/360001/chrome/renderer/net/net_error_helper_core.cc File chrome/renderer/net/net_error_helper_core.cc (right): https://codereview.chromium.org/207553008/diff/360001/chrome/renderer/net/net_error_helper_core.cc#newcode379 chrome/renderer/net/net_error_helper_core.cc:379: navigation_from_button_ == RELOAD_BUTTON ? On 2014/04/22 20:40:02, rdsmith wrote: ...
6 years, 8 months ago (2014-04-22 21:03:26 UTC) #45
Randy Smith (Not in Mondays)
(In https://codereview.chromium.org/248123002/). https://codereview.chromium.org/207553008/diff/360001/chrome/renderer/net/net_error_helper_core_unittest.cc File chrome/renderer/net/net_error_helper_core_unittest.cc (right): https://codereview.chromium.org/207553008/diff/360001/chrome/renderer/net/net_error_helper_core_unittest.cc#newcode117 chrome/renderer/net/net_error_helper_core_unittest.cc:117: NetErrorHelperCoreTest() : timer_(new base::MockTimer(false, false)), On 2014/04/22 ...
6 years, 8 months ago (2014-04-22 21:09:41 UTC) #46
jar (doing other things)
6 years, 8 months ago (2014-04-23 01:52:00 UTC) #47
Message was sent while issue was closed.
Thanks for the nit responses!

LGTM % discussion. (whether in this, or in another CL).

https://codereview.chromium.org/207553008/diff/360001/chrome/renderer/net/net...
File chrome/renderer/net/net_error_helper_core.cc (right):

https://codereview.chromium.org/207553008/diff/360001/chrome/renderer/net/net...
chrome/renderer/net/net_error_helper_core.cc:379: navigation_from_button_ ==
RELOAD_BUTTON ?
On 2014/04/22 21:03:27, mmenke wrote:
> On 2014/04/22 20:40:02, rdsmith wrote:
> > On 2014/04/22 17:53:43, jar wrote:
> > > On 2014/04/22 00:24:59, mmenke wrote:
> > > > On 2014/04/21 23:48:19, jar wrote:
> > > > > nit: This will fit on the previous line...and then you can avoid the
> > > > > questionable double-indent you applied on the next two line (standard
4
> > > space
> > > > > indent is probably more style compliant).
> > > > 
> > > > While the Google style guide doesn't explicitly discuss single arguments
> > that
> > > > take up multiple-lines, this does seem to fit more closely what it does
> say
> > > than
> > > > what you suggest.
> > > > 
> > > > The rules it gives:
> > > > 
> > > > "If the arguments do not all fit on one line, they should be broken up
> onto
> > > > multiple lines, with each subsequent line aligned with the first
argument.
> > Do
> > > > not add spaces after the open paren or before the close paren"
> > > > 
> > > > "Arguments may optionally all be placed on subsequent lines, with one
line
> > per
> > > > argument"
> > > > 
> > > > In particular, your suggestion seems to violate the "with each
subsequent
> > line
> > > > aligned with the first argument".  (This follows it, with the addendum
> that
> > > the
> > > > subsequent lines of each argument are indented 4 spaces)
> > > 
> > > If you really prefer to start a new line... that's fine... 
> > > 
> > > nit:  ... just don't indent the next two lines "extra" because there is a
> "?"
> > on
> > > the previous line.  This is all one monster line continuation, and there
is
> no
> > > reason to indent further on additional lines
> > 
> > I formatted it this way in response to Matt's comment in
> >
>
https://codereview.chromium.org/207553008/diff/210001/chrome/renderer/net/net...
> > .  I don't particularly care, so I'm happy to do whatever you and Matt agree
> on,
> > but in the absence of an agreement, I'll leave it the way I've already
landed
> > it.
> 
> The style guide says nothing about this case, so we can't really rely on it.
> 
> I find this a lot clearer because it makes it clear these are continuation
> lines, rather than separate parameters.  I don't think jar and I are going to
> reach consensus on this, other than perhaps by searching the codebase and
> finding out what the most common style is.
> 
> One option is just to write out a whole else/if statement, I guess.

As noted, this is a nit.  I couldn't find any reason for adding additional
indentation.

To be honest, I think your indentation makes some sense... I just couldn't find
any justification for doing so... and could see that IF you did this... then you
could keep on indenting more and more "whenever it feels right" ... and I didn't
like where that was going.

When I see extra indents, I try to figure out why, as "I must have missed
something."  

Bottom line: Leave it as is if you feel strongly that it helps more than it
hurts (folks like me that are surprised by it).

https://codereview.chromium.org/207553008/diff/360001/chrome/renderer/net/net...
File chrome/renderer/net/net_error_page_controller.h (right):

https://codereview.chromium.org/207553008/diff/360001/chrome/renderer/net/net...
chrome/renderer/net/net_error_page_controller.h:20: class NetErrorPageController
On 2014/04/22 21:03:27, mmenke wrote:
> On 2014/04/22 20:40:02, rdsmith wrote:
> > On 2014/04/21 23:48:19, jar wrote:
> > > nit: Should this be in the net namespace?
> > 
> > I followed the model of NetErrorHelper, which isn't.  That makes sense to
me,
> as
> > we're nowhere near src/net, which is what I think of the net namespace as
> > meaning.
> > 
> 
> You're correct - neither browser/net nor renderer/net should be in the net
> namespace.

You're correct. This is not in the src/net/... path.... I didn't read the path
name well. Sorry.

I researched namespaces standards in Chromium (reading threads about it)... and
couldn't find a justification to land it anywhere specific... but the name,
starting with "NetError" sure seemed to confuse me.  Most other classes in this
directory (other than NetErrorHelper*) have names that don't resemble well know
libraries...

I'll get over it... and get used to it.  Sorry for the diversion.

Powered by Google App Engine
This is Rietveld 408576698