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

Issue 7390027: Added group policies to enable/disable importing of data from other browsers. (Closed)

Created:
9 years, 5 months ago by simo
Modified:
9 years, 4 months ago
CC:
chromium-reviews, tfarina, arv (Not doing code reviews), Paweł Hajdan Jr.
Visibility:
Public.

Description

Added group policies to enable/disable importing of data from other browsers. These are now proper user policies and disable/enable import settings even after the first run. There are separate policies for bookmarks, history, saved passwords, search engines and homepage. BUG=71080 TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=96921

Patch Set 1 #

Total comments: 21

Patch Set 2 : Fixed issues pointed out by Mattias #

Total comments: 3

Patch Set 3 : Fixed first run importer to consider recommended policies. #

Total comments: 4

Patch Set 4 : Fixed remaining nits #

Total comments: 6

Patch Set 5 : Fixed issues in James' codereview #

Total comments: 12

Patch Set 6 : . #

Total comments: 1

Patch Set 7 : Rebased patch. #

Patch Set 8 : Fixed compile error on windows in first_run.cc. #

Patch Set 9 : Rebased patch. #

Patch Set 10 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+385 lines, -46 lines) Patch
M chrome/app/policy/policy_templates.json View 1 2 3 4 5 6 7 8 9 3 chunks +56 lines, -2 lines 0 comments Download
M chrome/browser/first_run/first_run.cc View 1 2 3 4 5 6 7 4 chunks +94 lines, -26 lines 0 comments Download
M chrome/browser/importer/importer_host.cc View 1 2 2 chunks +14 lines, -0 lines 0 comments Download
M chrome/browser/policy/configuration_policy_pref_store.cc View 1 2 3 4 5 6 7 8 9 2 chunks +22 lines, -0 lines 0 comments Download
M chrome/browser/policy/configuration_policy_pref_store_unittest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +11 lines, -1 line 0 comments Download
M chrome/browser/resources/options/import_data_overlay.html View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -4 lines 0 comments Download
M chrome/browser/resources/options/import_data_overlay.js View 1 2 3 4 5 5 chunks +28 lines, -12 lines 0 comments Download
A chrome/browser/resources/policy.html View 1 2 3 4 5 6 7 8 9 1 chunk +113 lines, -0 lines 0 comments Download
M chrome/browser/ui/browser.cc View 1 2 3 4 5 6 7 8 9 1 chunk +16 lines, -0 lines 0 comments Download
M chrome/common/pref_names.h View 1 2 3 4 5 6 7 8 9 2 chunks +6 lines, -1 line 0 comments Download
M chrome/common/pref_names.cc View 1 2 3 4 5 6 7 8 9 1 chunk +20 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
Mattias Nissler (ping if slow)
+James for webui settings stuff Pretty good for your first patch. Only major thing I'd ...
9 years, 5 months ago (2011-07-18 15:02:30 UTC) #1
simo
http://codereview.chromium.org/7390027/diff/1/chrome/browser/first_run/first_run.cc File chrome/browser/first_run/first_run.cc (right): http://codereview.chromium.org/7390027/diff/1/chrome/browser/first_run/first_run.cc#newcode553 chrome/browser/first_run/first_run.cc:553: // policy On 2011/07/18 15:02:30, Mattias Nissler wrote: > ...
9 years, 5 months ago (2011-07-19 12:24:47 UTC) #2
Mattias Nissler (ping if slow)
getting closer... http://codereview.chromium.org/7390027/diff/1/chrome/browser/first_run/first_run.cc File chrome/browser/first_run/first_run.cc (right): http://codereview.chromium.org/7390027/diff/1/chrome/browser/first_run/first_run.cc#newcode553 chrome/browser/first_run/first_run.cc:553: // policy On 2011/07/19 12:24:47, simo wrote: ...
9 years, 5 months ago (2011-07-20 09:28:31 UTC) #3
Mattias Nissler (ping if slow)
mostly nits, I'm basically happy with this provided you're reasonably confident we have solved the ...
9 years, 5 months ago (2011-07-25 11:12:36 UTC) #4
James Hawkins
http://codereview.chromium.org/7390027/diff/13001/chrome/browser/first_run/first_run.cc File chrome/browser/first_run/first_run.cc (right): http://codereview.chromium.org/7390027/diff/13001/chrome/browser/first_run/first_run.cc#newcode228 chrome/browser/first_run/first_run.cc:228: if (value) { Optional, but recommended: Don't use braces ...
9 years, 4 months ago (2011-08-01 19:41:51 UTC) #5
simo
http://codereview.chromium.org/7390027/diff/13001/chrome/browser/first_run/first_run.cc File chrome/browser/first_run/first_run.cc (right): http://codereview.chromium.org/7390027/diff/13001/chrome/browser/first_run/first_run.cc#newcode228 chrome/browser/first_run/first_run.cc:228: if (value) { On 2011/08/01 19:41:51, James Hawkins wrote: ...
9 years, 4 months ago (2011-08-02 09:08:14 UTC) #6
James Hawkins
http://codereview.chromium.org/7390027/diff/18001/chrome/browser/first_run/first_run.cc File chrome/browser/first_run/first_run.cc (right): http://codereview.chromium.org/7390027/diff/18001/chrome/browser/first_run/first_run.cc#newcode60 chrome/browser/first_run/first_run.cc:60: void SetImportItem(PrefService* user_prefs, Document this method. http://codereview.chromium.org/7390027/diff/18001/chrome/browser/first_run/first_run.cc#newcode66 chrome/browser/first_run/first_run.cc:66: Remove ...
9 years, 4 months ago (2011-08-02 17:51:40 UTC) #7
simo
http://codereview.chromium.org/7390027/diff/18001/chrome/browser/first_run/first_run.cc File chrome/browser/first_run/first_run.cc (right): http://codereview.chromium.org/7390027/diff/18001/chrome/browser/first_run/first_run.cc#newcode60 chrome/browser/first_run/first_run.cc:60: void SetImportItem(PrefService* user_prefs, On 2011/08/02 17:51:43, James Hawkins wrote: ...
9 years, 4 months ago (2011-08-03 08:31:44 UTC) #8
James Hawkins
LGTM
9 years, 4 months ago (2011-08-03 17:45:01 UTC) #9
Mattias Nissler (ping if slow)
LGTM too. Simo, can you rebase? Patch doesn't apply cleanly on current trunk. Ping me ...
9 years, 4 months ago (2011-08-04 10:08:55 UTC) #10
simo
Done! I hope this works... On 2011/08/04 10:08:55, Mattias Nissler wrote: > LGTM too. Simo, ...
9 years, 4 months ago (2011-08-04 14:26:22 UTC) #11
simo
Updated patch. On 2011/08/04 14:26:22, simo wrote: > Done! I hope this works... > On ...
9 years, 4 months ago (2011-08-05 08:34:37 UTC) #12
commit-bot: I haz the power
Can't apply patch for file chrome/app/policy/policy_templates.json. While running patch -p1 --forward --force; patching file chrome/app/policy/policy_templates.json ...
9 years, 4 months ago (2011-08-16 07:25:50 UTC) #13
commit-bot: I haz the power
9 years, 4 months ago (2011-08-16 11:27:15 UTC) #14
Change committed as 96921

Powered by Google App Engine
This is Rietveld 408576698