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

Issue 6793045: Change text of DNS prefetch option to Network prediction option. (Closed)

Created:
9 years, 8 months ago by cbentzel
Modified:
9 years, 7 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, John Grabowski, idana, Raghu Simha, brettw-cc_chromium.org, ncarter (slow), arv (Not doing code reviews), darin-cc_chromium.org, dyu1, Paweł Hajdan Jr., anantha, tim (not reviewing)
Visibility:
Public.

Description

Change text of DNS prefetch option to Network prediction option. The "DNS Prefetch" option currently controls DNS prefetching, TCP preconnection, and prerendering of pages. This modifies the text string to replace this, and changes variable names to reflect it. The underlying preference name remains the same so settings are not lost. However, I changed the policy name to make name changes consistent. If this does not migrate well, I will retain the old policy name. BUG=77783 TEST=Existing tests, make sure text is correct in browser. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=80768

Patch Set 1 #

Patch Set 2 : Remove trailing period #

Total comments: 1

Patch Set 3 : Fix id on HTML page #

Total comments: 2

Patch Set 4 : Fixes for localized_error.cc #

Total comments: 7

Patch Set 5 : More localized_error fixes #

Patch Set 6 : Policy name revert #

Patch Set 7 : Rebase #

Patch Set 8 : Rebase and fix copyright #

Patch Set 9 : Fix bad merge #

Patch Set 10 : Another bad merge fix #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+63 lines, -56 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 4 5 6 4 chunks +5 lines, -6 lines 1 comment Download
M chrome/app/policy/policy_templates.json View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/net/net_pref_observer.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/net/net_pref_observer.cc View 3 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/net/predictor_api.cc View 1 2 3 4 5 6 7 2 chunks +1 line, -2 lines 0 comments Download
M chrome/browser/policy/configuration_policy_pref_store.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/policy/configuration_policy_pref_store_unittest.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/policy/managed_prefs_banner_base.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/options/advanced_options.html View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/glue/synchronized_preferences.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/options/options_util.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/options/advanced_options_handler.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/common/pref_names.h View 1 2 3 4 5 6 7 8 2 chunks +1 line, -1 line 0 comments Download
M chrome/common/pref_names.cc View 1 2 3 4 5 6 7 8 2 chunks +7 lines, -3 lines 0 comments Download
M chrome/renderer/localized_error.cc View 1 2 3 4 5 6 7 2 chunks +12 lines, -10 lines 0 comments Download
M chrome/renderer/resources/neterror.html View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/functional/enterprise.py View 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/functional/prefs.py View 1 2 3 4 5 6 7 3 chunks +7 lines, -6 lines 0 comments Download
M chrome/test/live_sync/two_client_live_preferences_sync_test.cc View 4 chunks +12 lines, -12 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
cbentzel
I changed the text of DNS prefetch to better reflect it's current behavior. The string ...
9 years, 8 months ago (2011-04-05 18:36:49 UTC) #1
cbentzel
Actually, I still need to fix localized_error.cc. The rest of the CL is still OK, ...
9 years, 8 months ago (2011-04-05 18:41:53 UTC) #2
jar (doing other things)
Please check with folks that are more savvy about the structure of the UI changes ...
9 years, 8 months ago (2011-04-05 18:52:32 UTC) #3
Nirnimesh
http://codereview.chromium.org/6793045/diff/3001/chrome/test/functional/enterprise.py File chrome/test/functional/enterprise.py (right): http://codereview.chromium.org/6793045/diff/3001/chrome/test/functional/enterprise.py#newcode142 chrome/test/functional/enterprise.py:142: (pyauto.kNetworkPredictionEnabled, True, False), This test depends on enterprise policy ...
9 years, 8 months ago (2011-04-05 19:11:02 UTC) #4
cbentzel
http://codereview.chromium.org/6793045/diff/3001/chrome/test/functional/enterprise.py File chrome/test/functional/enterprise.py (right): http://codereview.chromium.org/6793045/diff/3001/chrome/test/functional/enterprise.py#newcode142 chrome/test/functional/enterprise.py:142: (pyauto.kNetworkPredictionEnabled, True, False), On 2011/04/05 19:11:02, Nirnimesh wrote: > ...
9 years, 8 months ago (2011-04-05 20:30:29 UTC) #5
cbentzel
More reviewers: danno+Nirnimesh: I want to make sure that the renames for policy only impact ...
9 years, 8 months ago (2011-04-05 20:33:43 UTC) #6
mmenke
http://codereview.chromium.org/6793045/diff/3003/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): http://codereview.chromium.org/6793045/diff/3003/chrome/app/generated_resources.grd#newcode5883 chrome/app/generated_resources.grd:5883: <message name="IDS_ERRORPAGES_SUGGESTION_FIREWALL_CONFIG" desc="When a web page fails to load, ...
9 years, 8 months ago (2011-04-05 20:50:20 UTC) #7
danno
Changing the policy name is probably not a good idea, see my comments for more ...
9 years, 8 months ago (2011-04-05 20:53:02 UTC) #8
cbentzel
Thanks Danno. I'll revert back to the old name. http://codereview.chromium.org/6793045/diff/3003/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): http://codereview.chromium.org/6793045/diff/3003/chrome/app/generated_resources.grd#newcode5883 chrome/app/generated_resources.grd:5883: ...
9 years, 8 months ago (2011-04-05 21:00:45 UTC) #9
mmenke
Changes in localized_errors.cc and generated_resources.grd LGTM.
9 years, 8 months ago (2011-04-05 21:05:17 UTC) #10
cbentzel
On 2011/04/05 21:05:17, Matt Menke wrote: > Changes in localized_errors.cc and generated_resources.grd LGTM. The latest ...
9 years, 8 months ago (2011-04-05 21:59:12 UTC) #11
Nirnimesh
> > Nirnimesh: Do the functional tests expect the registry key and the preference > ...
9 years, 8 months ago (2011-04-05 22:49:05 UTC) #12
Nirnimesh
File I commented on LGTM
9 years, 8 months ago (2011-04-05 22:49:23 UTC) #13
cbentzel
Latest patchset is up to date with head and fixes copyright, otherwise the same. I ...
9 years, 8 months ago (2011-04-06 19:17:55 UTC) #14
wtc
9 years, 7 months ago (2011-05-02 18:27:14 UTC) #15
http://codereview.chromium.org/6793045/diff/10003/chrome/app/generated_resour...
File chrome/app/generated_resources.grd (right):

http://codereview.chromium.org/6793045/diff/10003/chrome/app/generated_resour...
chrome/app/generated_resources.grd:5894: and deselect &quot;<ph
name="NO_PREFETCH_DESCRIPTION">&lt;span
jscontent="noNetworkPredictionTitle"&gt;&lt;/span&gt;<ex>Predict network actions
to improve page load performance</ex></ph>.&quot;
Just a nit: the placeholder name "NO_PREFETCH_DESCRIPTION"
should also be changed to "NO_NETWORK_PREDICTION_DESCRIPTION"?

Powered by Google App Engine
This is Rietveld 408576698