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

Issue 1129353005: Move Google Cache copy suggestion to an action button in the neterror interstitial (Closed)

Created:
5 years, 7 months ago by edwardjung
Modified:
5 years, 6 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move Google Cache copy suggestion to an action button in the neterror interstitial + Replaces the reload button + Removes the suggestion text from under the details section BUG=474848 Committed: https://crrev.com/0478c03f9462d8c543c0dddd1a034d35b1a85fc3 Cr-Commit-Position: refs/heads/master@{#333731}

Patch Set 1 #

Patch Set 2 : Add finch experiment code #

Total comments: 20

Patch Set 3 : Address review comments #

Total comments: 2

Patch Set 4 : #

Total comments: 19

Patch Set 5 : Review comments #

Total comments: 10

Patch Set 6 : Address review comments #

Patch Set 7 : Fix size_t to int data loss warning #

Unified diffs Side-by-side diffs Delta from patch set Stats (+89 lines, -3 lines) Patch
M chrome/app/generated_resources.grd View 1 2 chunks +6 lines, -1 line 0 comments Download
M chrome/common/localized_error.h View 1 2 3 4 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/common/localized_error.cc View 1 2 3 4 5 4 chunks +51 lines, -0 lines 0 comments Download
M chrome/renderer/resources/neterror.css View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/renderer/resources/neterror.js View 1 2 3 4 2 chunks +23 lines, -1 line 0 comments Download
M components/error_page/renderer/net_error_helper_core.cc View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 40 (9 generated)
edwardjung
Felt could you have a look at this code for an experiment on the net ...
5 years, 7 months ago (2015-05-11 11:41:36 UTC) #2
felt
https://codereview.chromium.org/1129353005/diff/20001/chrome/common/localized_error.cc File chrome/common/localized_error.cc (right): https://codereview.chromium.org/1129353005/diff/20001/chrome/common/localized_error.cc#newcode676 chrome/common/localized_error.cc:676: std::string fieldTrialExpType = base::FieldTrialList::FindFullName( in C++ style this should ...
5 years, 7 months ago (2015-05-11 20:46:44 UTC) #3
felt
swapping out the button content seems OK https://codereview.chromium.org/1129353005/diff/20001/chrome/renderer/resources/neterror.js File chrome/renderer/resources/neterror.js (right): https://codereview.chromium.org/1129353005/diff/20001/chrome/renderer/resources/neterror.js#newcode123 chrome/renderer/resources/neterror.js:123: reloadButton.onclick = ...
5 years, 7 months ago (2015-05-11 20:49:01 UTC) #4
edwardjung
Addressed your comments. Regarding the control, if this is just the same state as currently ...
5 years, 7 months ago (2015-05-12 10:16:50 UTC) #5
felt
https://codereview.chromium.org/1129353005/diff/20001/chrome/common/localized_error.cc File chrome/common/localized_error.cc (right): https://codereview.chromium.org/1129353005/diff/20001/chrome/common/localized_error.cc#newcode676 chrome/common/localized_error.cc:676: std::string fieldTrialExpType = base::FieldTrialList::FindFullName( On 2015/05/12 10:16:50, edwardjung wrote: ...
5 years, 7 months ago (2015-05-12 14:15:08 UTC) #6
felt
On 2015/05/12 10:16:50, edwardjung wrote: > Addressed your comments. > > Regarding the control, if ...
5 years, 7 months ago (2015-05-12 14:15:39 UTC) #7
edwardjung
Thanks. https://codereview.chromium.org/1129353005/diff/20001/chrome/common/localized_error.cc File chrome/common/localized_error.cc (right): https://codereview.chromium.org/1129353005/diff/20001/chrome/common/localized_error.cc#newcode676 chrome/common/localized_error.cc:676: std::string fieldTrialExpType = base::FieldTrialList::FindFullName( On 2015/05/12 14:15:08, felt ...
5 years, 7 months ago (2015-05-13 09:59:57 UTC) #8
edwardjung
Hi all, please take a look at the respected changes: mmenke: components/error_page/renderer/net_error_helper_core.cc sky: chrome/common/localized_error.cc arv: ...
5 years, 7 months ago (2015-05-13 10:03:09 UTC) #10
arv (Not doing code reviews)
https://codereview.chromium.org/1129353005/diff/60001/chrome/renderer/resources/neterror.js File chrome/renderer/resources/neterror.js (right): https://codereview.chromium.org/1129353005/diff/60001/chrome/renderer/resources/neterror.js#newcode123 chrome/renderer/resources/neterror.js:123: reloadButton.url = buttonStrings.cacheUrl; No need to add expandos here ...
5 years, 7 months ago (2015-05-13 14:26:22 UTC) #11
felt
https://codereview.chromium.org/1129353005/diff/20001/chrome/common/localized_error.cc File chrome/common/localized_error.cc (right): https://codereview.chromium.org/1129353005/diff/20001/chrome/common/localized_error.cc#newcode676 chrome/common/localized_error.cc:676: std::string fieldTrialExpType = base::FieldTrialList::FindFullName( On 2015/05/13 09:59:56, edwardjung wrote: ...
5 years, 7 months ago (2015-05-13 14:32:11 UTC) #12
mmenke
components/error_page LGTM. https://codereview.chromium.org/1129353005/diff/60001/chrome/renderer/resources/neterror.js File chrome/renderer/resources/neterror.js (right): https://codereview.chromium.org/1129353005/diff/60001/chrome/renderer/resources/neterror.js#newcode119 chrome/renderer/resources/neterror.js:119: function setupCachedButton(buttonStrings) { nit: setUp ("setup" is ...
5 years, 7 months ago (2015-05-13 14:58:41 UTC) #13
sky
Are field trials loaded in the renderer? https://codereview.chromium.org/1129353005/diff/60001/chrome/common/localized_error.cc File chrome/common/localized_error.cc (right): https://codereview.chromium.org/1129353005/diff/60001/chrome/common/localized_error.cc#newcode678 chrome/common/localized_error.cc:678: suggestions = ...
5 years, 7 months ago (2015-05-13 15:52:04 UTC) #14
edwardjung
Thanks all. New patchset uploaded. https://codereview.chromium.org/1129353005/diff/20001/chrome/common/localized_error.cc File chrome/common/localized_error.cc (right): https://codereview.chromium.org/1129353005/diff/20001/chrome/common/localized_error.cc#newcode676 chrome/common/localized_error.cc:676: std::string fieldTrialExpType = base::FieldTrialList::FindFullName( ...
5 years, 7 months ago (2015-05-13 17:34:34 UTC) #15
arv (Not doing code reviews)
renderer/resources/* LGTM
5 years, 7 months ago (2015-05-13 17:57:04 UTC) #16
edwardjung
> Are field trials loaded in the renderer? motek confirmed that recent changes means that ...
5 years, 7 months ago (2015-05-20 13:25:48 UTC) #17
felt
On 2015/05/20 13:25:48, edwardjung wrote: > > Are field trials loaded in the renderer? > ...
5 years, 7 months ago (2015-05-20 13:50:40 UTC) #18
edwardjung
> Have you tested this? You can test field trials with a command line flag: ...
5 years, 7 months ago (2015-05-20 13:58:31 UTC) #19
edwardjung
Sky, friendly ping, could you take a look. Thanks,
5 years, 6 months ago (2015-06-01 17:44:43 UTC) #20
sky
Sorry, what files do you need me to review?
5 years, 6 months ago (2015-06-01 21:48:10 UTC) #21
edwardjung
> Sorry, what files do you need me to review? chrome/common/localized_error.cc chrome/common/localized_error.h Thanks
5 years, 6 months ago (2015-06-02 09:18:23 UTC) #22
sky
https://codereview.chromium.org/1129353005/diff/80001/chrome/common/localized_error.cc File chrome/common/localized_error.cc (right): https://codereview.chromium.org/1129353005/diff/80001/chrome/common/localized_error.cc#newcode526 chrome/common/localized_error.cc:526: void LocalizedError::EnableGoogleCachedCopyButtonExperiment( Make position match that of header. https://codereview.chromium.org/1129353005/diff/80001/chrome/common/localized_error.cc#newcode541 ...
5 years, 6 months ago (2015-06-02 16:18:06 UTC) #23
edwardjung
Sky, I've addressed your comments, please take another look. Thanks. https://codereview.chromium.org/1129353005/diff/80001/chrome/common/localized_error.cc File chrome/common/localized_error.cc (right): https://codereview.chromium.org/1129353005/diff/80001/chrome/common/localized_error.cc#newcode526 ...
5 years, 6 months ago (2015-06-03 13:40:37 UTC) #24
edwardjung
Ping! On 2015/06/03 13:40:37, edwardjung wrote: > Sky, I've addressed your comments, please take another ...
5 years, 6 months ago (2015-06-09 15:28:15 UTC) #25
sky
LGTM
5 years, 6 months ago (2015-06-09 16:59:54 UTC) #26
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1129353005/100001
5 years, 6 months ago (2015-06-09 17:18:58 UTC) #29
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_x64_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/65885)
5 years, 6 months ago (2015-06-09 18:19:16 UTC) #31
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1129353005/120001
5 years, 6 months ago (2015-06-10 13:45:59 UTC) #34
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 6 months ago (2015-06-10 14:26:46 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1129353005/120001
5 years, 6 months ago (2015-06-10 14:44:22 UTC) #38
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 6 months ago (2015-06-10 14:48:00 UTC) #39
commit-bot: I haz the power
5 years, 6 months ago (2015-06-10 14:48:45 UTC) #40
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/0478c03f9462d8c543c0dddd1a034d35b1a85fc3
Cr-Commit-Position: refs/heads/master@{#333731}

Powered by Google App Engine
This is Rietveld 408576698