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

Issue 10916341: Ignore --use-spdy=off command line option if spdy.disabled pref is (Closed)

Created:
8 years, 3 months ago by ramant (doing other things)
Modified:
8 years, 3 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Ignore --use-spdy=off command line option if spdy.disabled pref is managed by the policy. Implement the following priority order for spdy.disabled pref and --use-spdy command line options. 1. If there is a policy for spdy.disabled, use its value 2. If there is a command line for --use-spdy, use its value 3. If there is a user pref for spdy.disabled, use its value 4. Otherwise use the default value of the pref for spdy.pref (which will always enable SPDY). Part of priortity order was fixed earlier in https://chromiumcodereview.appspot.com/10911198 R=joaodasilva@chromium.org BUG=83895 TEST=browser unit tests. Specify --disable-spdy command line switch and in chrome://net-internals SPDY should say it is off. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=157471

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -2 lines) Patch
M chrome/browser/chrome_browser_main.cc View 1 4 chunks +19 lines, -2 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
ramant (doing other things)
Hi Joao, Finished implementing the 2nd part of the fix you had suggested for controlling ...
8 years, 3 months ago (2012-09-17 17:33:33 UTC) #1
Joao da Silva
lgtm, thanks for doing this! http://codereview.chromium.org/10916341/diff/1/chrome/browser/chrome_browser_main.cc File chrome/browser/chrome_browser_main.cc (right): http://codereview.chromium.org/10916341/diff/1/chrome/browser/chrome_browser_main.cc#newcode120 chrome/browser/chrome_browser_main.cc:120: #include "policy/policy_constants.h" policy_service.h is ...
8 years, 3 months ago (2012-09-18 11:35:56 UTC) #2
ramant (doing other things)
Many many thanks Joao da Silva, raman http://codereview.chromium.org/10916341/diff/1/chrome/browser/chrome_browser_main.cc File chrome/browser/chrome_browser_main.cc (right): http://codereview.chromium.org/10916341/diff/1/chrome/browser/chrome_browser_main.cc#newcode120 chrome/browser/chrome_browser_main.cc:120: #include "policy/policy_constants.h" ...
8 years, 3 months ago (2012-09-18 21:16:22 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rtenneti@chromium.org/10916341/10001
8 years, 3 months ago (2012-09-18 21:16:32 UTC) #4
commit-bot: I haz the power
Presubmit check for 10916341-10001 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 3 months ago (2012-09-18 21:16:34 UTC) #5
ramant (doing other things)
Hi thestig@, Can I get OWNERs approval (or rubber stamp) please? thanks much raman
8 years, 3 months ago (2012-09-18 21:18:54 UTC) #6
Lei Zhang
lgtm
8 years, 3 months ago (2012-09-18 22:02:03 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rtenneti@chromium.org/10916341/10001
8 years, 3 months ago (2012-09-18 22:03:52 UTC) #8
commit-bot: I haz the power
8 years, 3 months ago (2012-09-19 01:50:57 UTC) #9
Change committed as 157471

Powered by Google App Engine
This is Rietveld 408576698