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

Issue 14344002: Sync: Turn on full history sync by default. (Closed)

Created:
7 years, 8 months ago by Patrick Dubroy
Modified:
7 years, 8 months ago
CC:
chromium-reviews, Raghu Simha, haitaol1, browser-components-watch_chromium.org, akalin, tim (not reviewing)
Visibility:
Public.

Description

Sync: Turn on full history sync by default. Full history sync (and history delete directives) were off by default, but turned on in M27 via an experiment. This meant that history from signed-in devices was not visible on chrome://history until the browser was restarted. This CL make full history sync enabled by default, but retains a command-line switch and about:flags option to disable it. It also removes the option to disable delete directives only, since that had the same effect as disabling full history sync. TBR=brettw@chromium.org BUG=233098 TEST=Start up Chrome in a fresh profile, and sign in. Go to chrome://history and ensure that it says "Showing history from your signed-in devices" at the top of the history page. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=196116 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=196394

Patch Set 1 : #

Total comments: 2

Patch Set 2 : Address zea's comments. #

Patch Set 3 : Fix another broken test. #

Patch Set 4 : Fix use-after-free. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -61 lines) Patch
M chrome/app/generated_resources.grd View 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/history/web_history_service.cc View 1 2 3 2 chunks +6 lines, -3 lines 0 comments Download
M chrome/browser/history/web_history_service_factory.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/sync/profile_sync_components_factory_impl.cc View 1 2 3 1 chunk +3 lines, -5 lines 0 comments Download
M chrome/browser/sync/profile_sync_components_factory_impl_unittest.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/sync/profile_sync_service.cc View 1 2 1 chunk +0 lines, -6 lines 0 comments Download
M chrome/browser/sync/sync_prefs.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/sync/sync_prefs_unittest.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/sync/test/integration/enable_disable_test.cc View 1 2 2 chunks +16 lines, -9 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 2 3 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 3 2 chunks +0 lines, -7 lines 0 comments Download
M chrome/test/base/testing_profile.cc View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
M sync/internal_api/public/util/experiments.h View 1 3 chunks +0 lines, -7 lines 0 comments Download
M sync/internal_api/sync_manager_impl.cc View 1 1 chunk +0 lines, -10 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
Patrick Dubroy
Nicolas, please take a look.
7 years, 8 months ago (2013-04-18 08:45:41 UTC) #1
Patrick Dubroy
[-jhawkins, that was a mistake]
7 years, 8 months ago (2013-04-18 08:46:10 UTC) #2
Nicolas Zea
Mostly LG, but do we need to keep the flag around? Can't we just leave ...
7 years, 8 months ago (2013-04-18 17:43:35 UTC) #3
Patrick Dubroy
Ok, I've expunged the "enable" flag. I guess we need to make a server change ...
7 years, 8 months ago (2013-04-19 09:58:09 UTC) #4
Nicolas Zea
LGTM And yeah, we'll eventually get rid of the server node, but it's harmless in ...
7 years, 8 months ago (2013-04-19 17:25:43 UTC) #5
Patrick Dubroy
Nicolas, can you take another look? I need to change enable_disable_test.cc and testing_profile.cc to fix ...
7 years, 8 months ago (2013-04-22 13:53:43 UTC) #6
Nicolas Zea
still LGTM, although you'll need an owners for the testing_profile change. Alternatively you could just ...
7 years, 8 months ago (2013-04-23 01:34:54 UTC) #7
Patrick Dubroy
Paweł, PTAL at change in testing_profile.cc.
7 years, 8 months ago (2013-04-23 08:11:10 UTC) #8
Paweł Hajdan Jr.
LGTM
7 years, 8 months ago (2013-04-23 17:39:20 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dubroy@chromium.org/14344002/9012
7 years, 8 months ago (2013-04-23 17:40:25 UTC) #10
commit-bot: I haz the power
Presubmit check for 14344002-9012 failed and returned exit status 1. INFO:root:Found 14 file(s). Running presubmit ...
7 years, 8 months ago (2013-04-23 17:40:43 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dubroy@chromium.org/14344002/9012
7 years, 8 months ago (2013-04-24 08:06:33 UTC) #12
commit-bot: I haz the power
Change committed as 196116
7 years, 8 months ago (2013-04-24 10:42:06 UTC) #13
Patrick Dubroy
7 years, 8 months ago (2013-04-25 14:07:45 UTC) #14
Message was sent while issue was closed.
Committed patchset #4 manually as r196394 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698