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

Issue 927163002: Now command line flag does not beat Policy (Closed)

Created:
5 years, 10 months ago by peletskyi
Modified:
5 years, 8 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

If DefaultBrowserSettingEnabled set to false and there is the command line flag that makes chrome default browser, the flag beats Policy. This is wrong behavior. Thus added the condition that checks policy before set chrome as a default browser. BUG=361527 Committed: https://crrev.com/86af4462b98b956599232b6c1e89ada0ccbaac45 Cr-Commit-Position: refs/heads/master@{#324224}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Added new result code #

Total comments: 2

Patch Set 3 : #

Total comments: 4

Patch Set 4 : #

Total comments: 2

Patch Set 5 : Added test #

Patch Set 6 : #

Patch Set 7 : Fixed test for chromeos and rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -0 lines) Patch
M chrome/browser/chrome_browser_main.cc View 1 2 3 4 5 6 1 chunk +7 lines, -0 lines 0 comments Download
A chrome/browser/policy/policy_startup_browsertest.cc View 1 2 3 4 5 6 1 chunk +46 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/common/chrome_result_codes.h View 1 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 31 (12 generated)
peletskyi
Hi Julian, please review my changes. Thanks, Oleksandr
5 years, 10 months ago (2015-02-16 18:33:12 UTC) #2
peletskyi
On 2015/02/16 18:33:12, peletskyi wrote: > Hi Julian, > please review my changes. > Thanks, ...
5 years, 9 months ago (2015-03-18 15:55:53 UTC) #3
pastarmovj
I am basically ok with this and know the context already but I have one ...
5 years, 9 months ago (2015-03-18 16:02:17 UTC) #5
peletskyi
On 2015/03/18 16:02:17, pastarmovj wrote: > I am basically ok with this and know the ...
5 years, 9 months ago (2015-03-18 17:58:40 UTC) #6
pastarmovj
LGTM with one last suggestion. Beware that I am not an owner so you will ...
5 years, 9 months ago (2015-03-19 09:49:28 UTC) #7
peletskyi
Jochen, please take a look at these small changes. https://codereview.chromium.org/927163002/diff/20001/chrome/browser/chrome_browser_main.cc File chrome/browser/chrome_browser_main.cc (right): https://codereview.chromium.org/927163002/diff/20001/chrome/browser/chrome_browser_main.cc#newcode1163 chrome/browser/chrome_browser_main.cc:1163: ...
5 years, 9 months ago (2015-03-20 10:10:38 UTC) #11
pastarmovj
https://codereview.chromium.org/927163002/diff/40001/chrome/browser/chrome_browser_main.cc File chrome/browser/chrome_browser_main.cc (right): https://codereview.chromium.org/927163002/diff/40001/chrome/browser/chrome_browser_main.cc#newcode1162 chrome/browser/chrome_browser_main.cc:1162: prefs::kDefaultBrowserSettingEnabled); nit: indentation. https://codereview.chromium.org/927163002/diff/40001/chrome/browser/chrome_browser_main.cc#newcode1164 chrome/browser/chrome_browser_main.cc:1164: prefs::kDefaultBrowserSettingEnabled)) { nit: indentation.
5 years, 9 months ago (2015-03-20 10:57:04 UTC) #12
peletskyi
https://codereview.chromium.org/927163002/diff/40001/chrome/browser/chrome_browser_main.cc File chrome/browser/chrome_browser_main.cc (right): https://codereview.chromium.org/927163002/diff/40001/chrome/browser/chrome_browser_main.cc#newcode1162 chrome/browser/chrome_browser_main.cc:1162: prefs::kDefaultBrowserSettingEnabled); On 2015/03/20 10:57:04, pastarmovj wrote: > nit: indentation. ...
5 years, 9 months ago (2015-03-20 11:02:02 UTC) #13
jochen (gone - plz use gerrit)
i don't get how the code relates to the CL description. It looks like policy ...
5 years, 9 months ago (2015-03-20 14:49:14 UTC) #14
peletskyi
On 2015/03/20 14:49:14, jochen wrote: > i don't get how the code relates to the ...
5 years, 9 months ago (2015-03-24 13:50:52 UTC) #15
peletskyi
Please review my patch :) https://codereview.chromium.org/927163002/diff/60001/chrome/browser/chrome_browser_main.cc File chrome/browser/chrome_browser_main.cc (right): https://codereview.chromium.org/927163002/diff/60001/chrome/browser/chrome_browser_main.cc#newcode1169 chrome/browser/chrome_browser_main.cc:1169: static_cast<int>(content::RESULT_CODE_NORMAL_EXIT) : On 2015/03/20 ...
5 years, 9 months ago (2015-03-24 14:00:27 UTC) #17
jochen (gone - plz use gerrit)
can you please update the CL description to have a <80c summary in the first ...
5 years, 9 months ago (2015-03-25 12:12:35 UTC) #18
peletskyi
Drew, can you take a look?
5 years, 8 months ago (2015-04-01 09:07:32 UTC) #20
Andrew T Wilson (Slow)
Change the issue description to remove the text "Fix for the bug 361527:" since that's ...
5 years, 8 months ago (2015-04-01 09:10:49 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/927163002/100001
5 years, 8 months ago (2015-04-01 09:21:10 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/41873)
5 years, 8 months ago (2015-04-01 11:02:40 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/927163002/120001
5 years, 8 months ago (2015-04-08 13:43:08 UTC) #29
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 8 months ago (2015-04-08 14:13:08 UTC) #30
commit-bot: I haz the power
5 years, 8 months ago (2015-04-08 14:15:23 UTC) #31
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/86af4462b98b956599232b6c1e89ada0ccbaac45
Cr-Commit-Position: refs/heads/master@{#324224}

Powered by Google App Engine
This is Rietveld 408576698