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

Issue 9836037: Adding policy support to Chrome Frame's launcher so that additional parameters can be passed to Chr… (Closed)

Created:
8 years, 9 months ago by tommi (sloooow) - chröme
Modified:
8 years, 9 months ago
CC:
chromium-reviews, Nirnimesh, amit, anantha, dyu1, dennis_jeffrey, gfeher
Visibility:
Public.

Description

Adding policy support to Chrome Frame's launcher so that additional parameters can be passed to Chrome via Group Policy. BUG=116783 TEST=See information in comment #5 of the issue. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=129384

Patch Set 1 #

Total comments: 7

Patch Set 2 : Handle XP as well and add tests #

Total comments: 10

Patch Set 3 : Address comments #

Patch Set 4 : Fix arguments in policy_settings_unittest.cc #

Total comments: 6

Patch Set 5 : Fix copyright years #

Total comments: 2

Patch Set 6 : Address review comments from Greg #

Unified diffs Side-by-side diffs Delta from patch set Stats (+168 lines, -27 lines) Patch
M chrome/app/policy/policy_templates.json View 1 2 2 chunks +13 lines, -1 line 0 comments Download
M chrome/test/functional/policy_test_cases.py View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome_frame/chrome_frame_automation.cc View 1 2 1 chunk +7 lines, -1 line 0 comments Download
M chrome_frame/chrome_frame_launcher.gyp View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M chrome_frame/chrome_launcher.cc View 1 2 3 4 5 3 chunks +56 lines, -0 lines 0 comments Download
M chrome_frame/chrome_launcher_utils.cc View 1 2 3 4 5 2 chunks +10 lines, -0 lines 0 comments Download
M chrome_frame/policy_settings.h View 1 2 3 4 5 4 chunks +13 lines, -4 lines 0 comments Download
M chrome_frame/policy_settings.cc View 1 2 3 4 5 5 chunks +23 lines, -12 lines 0 comments Download
M chrome_frame/test/policy_settings_unittest.cc View 1 2 3 4 5 7 chunks +43 lines, -8 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
tommi (sloooow) - chröme
8 years, 9 months ago (2012-03-23 14:11:38 UTC) #1
grt (UTC plus 2)
Hi Tommi! The launcher isn't used on XP, so you'll need code in AutomationProxyCacheEntry::CreateProxy to ...
8 years, 9 months ago (2012-03-23 15:49:12 UTC) #2
slightlyoff1
grt: yeah, we should be skipping the validation here. The whole point of it is ...
8 years, 9 months ago (2012-03-23 15:57:05 UTC) #3
grt (UTC plus 2)
On 2012/03/23 15:57:05, slightlyoff1 wrote: > grt: yeah, we should be skipping the validation here. ...
8 years, 9 months ago (2012-03-23 16:44:17 UTC) #4
robertshield
On 2012/03/23 16:44:17, grt wrote: > On 2012/03/23 15:57:05, slightlyoff1 wrote: > > grt: yeah, ...
8 years, 9 months ago (2012-03-23 17:04:22 UTC) #5
slightlyoff1
On 2012/03/23 17:04:22, robertshield wrote: > On 2012/03/23 16:44:17, grt wrote: > > On 2012/03/23 ...
8 years, 9 months ago (2012-03-23 17:06:48 UTC) #6
tommi (sloooow) - chröme
Hey guys, So, just to confirm, I'm purposely adding the arguments to the command line ...
8 years, 9 months ago (2012-03-24 09:25:01 UTC) #7
tommi (sloooow) - chröme
XP support added. gfeher - can you take a look at the changes in chrome/app/policy ...
8 years, 9 months ago (2012-03-26 10:12:35 UTC) #8
gfeher
Looks okay, but please check with Mattias. (I am not working on policies any more.)
8 years, 9 months ago (2012-03-26 10:27:54 UTC) #9
Mattias Nissler (ping if slow)
LGTM with nits. https://chromiumcodereview.appspot.com/9836037/diff/8001/chrome/app/policy/policy_templates.json File chrome/app/policy/policy_templates.json (right): https://chromiumcodereview.appspot.com/9836037/diff/8001/chrome/app/policy/policy_templates.json#newcode1806 chrome/app/policy/policy_templates.json:1806: 'desc': '''Allows you to specify additional ...
8 years, 9 months ago (2012-03-26 11:04:40 UTC) #10
tommi (sloooow) - chröme
https://chromiumcodereview.appspot.com/9836037/diff/1/chrome/app/policy/policy_templates.json File chrome/app/policy/policy_templates.json (right): https://chromiumcodereview.appspot.com/9836037/diff/1/chrome/app/policy/policy_templates.json#newcode1805 chrome/app/policy/policy_templates.json:1805: 'caption': '''Additional command line parameters for <ph name="PRODUCT_FRAME_NAME">$3<ex>Google Chrome ...
8 years, 9 months ago (2012-03-26 11:24:37 UTC) #11
Mattias Nissler (ping if slow)
https://chromiumcodereview.appspot.com/9836037/diff/8001/chrome_frame/test/policy_settings_unittest.cc File chrome_frame/test/policy_settings_unittest.cc (right): https://chromiumcodereview.appspot.com/9836037/diff/8001/chrome_frame/test/policy_settings_unittest.cc#newcode92 chrome_frame/test/policy_settings_unittest.cc:92: bool SetCFPolicyString(HKEY policy_root, const char* policy_name, On 2012/03/26 11:24:37, ...
8 years, 9 months ago (2012-03-26 11:40:55 UTC) #12
tommi (sloooow) - chröme
On 2012/03/26 11:40:55, Mattias Nissler wrote: > I'd rather encourage you to fix the entire ...
8 years, 9 months ago (2012-03-26 11:44:40 UTC) #13
tommi (sloooow) - chröme
https://chromiumcodereview.appspot.com/9836037/diff/8001/chrome_frame/test/policy_settings_unittest.cc File chrome_frame/test/policy_settings_unittest.cc (right): https://chromiumcodereview.appspot.com/9836037/diff/8001/chrome_frame/test/policy_settings_unittest.cc#newcode92 chrome_frame/test/policy_settings_unittest.cc:92: bool SetCFPolicyString(HKEY policy_root, const char* policy_name, On 2012/03/26 11:40:55, ...
8 years, 9 months ago (2012-03-26 11:48:18 UTC) #14
robertshield
LGTM, w/ year nits. https://chromiumcodereview.appspot.com/9836037/diff/9011/chrome_frame/policy_settings.cc File chrome_frame/policy_settings.cc (right): https://chromiumcodereview.appspot.com/9836037/diff/9011/chrome_frame/policy_settings.cc#newcode1 chrome_frame/policy_settings.cc:1: // Copyright (c) 2010 The ...
8 years, 9 months ago (2012-03-26 13:36:41 UTC) #15
tommi (sloooow) - chröme
https://chromiumcodereview.appspot.com/9836037/diff/9011/chrome_frame/policy_settings.cc File chrome_frame/policy_settings.cc (right): https://chromiumcodereview.appspot.com/9836037/diff/9011/chrome_frame/policy_settings.cc#newcode1 chrome_frame/policy_settings.cc:1: // Copyright (c) 2010 The Chromium Authors. All rights ...
8 years, 9 months ago (2012-03-26 15:33:24 UTC) #16
grt (UTC plus 2)
LGTM. You're gonna get a load of presubmit warnings from std::wstring. sad face. https://chromiumcodereview.appspot.com/9836037/diff/13007/chrome_frame/chrome_launcher.cc File ...
8 years, 9 months ago (2012-03-27 20:00:43 UTC) #17
tommi (sloooow) - chröme
On 2012/03/27 20:00:43, grt wrote: > LGTM. You're gonna get a load of presubmit warnings ...
8 years, 9 months ago (2012-03-27 21:19:23 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tommi@chromium.org/9836037/18001
8 years, 9 months ago (2012-03-27 22:48:04 UTC) #19
commit-bot: I haz the power
8 years, 9 months ago (2012-03-27 22:48:10 UTC) #20
Presubmit check for 9836037-18001 failed and returned exit status 1.

Running presubmit commit checks ...
Finished checking
/mnt/data/b/commit-queue/workdir/chromium/chrome/app/policy/policy_templates.json.
0 errors, 0 warnings.

** Presubmit Warnings **
New code should not use wstrings.  If you are calling an API that accepts a
wstring, fix the API.
    chrome_frame/chrome_launcher.cc:147
    chrome_frame/chrome_launcher.cc:153
    chrome_frame/policy_settings.cc:125
    chrome_frame/policy_settings.cc:129
    chrome_frame/policy_settings.cc:146
    chrome_frame/policy_settings.h:52

Presubmit checks took 1.8s to calculate.

Powered by Google App Engine
This is Rietveld 408576698