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

Issue 11961030: [Sync] Make SESSIONS an implicit type (Closed)

Created:
7 years, 11 months ago by Nicolas Zea
Modified:
7 years, 9 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, akalin, Raghu Simha, arv (Not doing code reviews), darin-cc_chromium.org, pam+watch_chromium.org, haitaol1, tim (not reviewing)
Visibility:
Public.

Description

[Sync] Make SESSIONS an implicit type We add TABS as a new local type, which is now what is enabled via the user settings. It implicitly enables SESSIONS. Similarly, History now corresponds with Typed URLs, which implicitly enables history delete directives if the proper command line flag is passed. Finally, History delete directives implicitly enables SESSIONS, which we can do because Sessions is no longer a user selectable type. BUG=170162 TBR=jhawkins@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=182527

Patch Set 1 #

Patch Set 2 : Rediff #

Patch Set 3 : Fix tests #

Patch Set 4 : Rediff #

Patch Set 5 : Address comments #

Total comments: 1

Patch Set 6 : Switch to bool in proto #

Patch Set 7 : Rebase #

Patch Set 8 : Cleanup #

Total comments: 8

Patch Set 9 : Rebase + address comments + fix #

Patch Set 10 : fix test #

Patch Set 11 : Rebase #

Patch Set 12 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+173 lines, -48 lines) Patch
M chrome/app/generated_resources.grd View 2 chunks +18 lines, -2 lines 0 comments Download
M chrome/browser/resources/sync_setup_overlay.html View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/sync_setup_overlay.js View 2 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/sync/glue/model_association_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/sync/profile_sync_components_factory_impl.cc View 1 2 3 4 5 6 7 8 5 chunks +5 lines, -1 line 0 comments Download
M chrome/browser/sync/profile_sync_components_factory_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/sync/profile_sync_service.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +6 lines, -5 lines 0 comments Download
M chrome/browser/sync/profile_sync_service_harness.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +17 lines, -0 lines 0 comments Download
M chrome/browser/sync/sync_prefs.cc View 1 2 3 4 5 6 7 8 9 10 11 6 chunks +24 lines, -7 lines 0 comments Download
M chrome/browser/sync/sync_prefs_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +11 lines, -1 line 0 comments Download
M chrome/browser/sync/test/integration/enable_disable_test.cc View 1 2 3 4 5 6 7 8 4 chunks +21 lines, -5 lines 0 comments Download
M chrome/browser/sync/user_selectable_sync_type.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/ntp/foreign_session_handler.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/sync_setup_handler.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/sync_setup_handler_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/common/pref_names.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/pref_names.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M sync/internal_api/public/base/model_type.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +20 lines, -1 line 0 comments Download
M sync/protocol/proto_value_conversions.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +2 lines, -0 lines 0 comments Download
M sync/protocol/proto_value_conversions_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +3 lines, -2 lines 0 comments Download
M sync/protocol/sync.proto View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +6 lines, -1 line 0 comments Download
M sync/syncable/model_type.cc View 1 2 3 4 5 6 7 8 9 10 11 5 chunks +14 lines, -6 lines 0 comments Download
M sync/syncable/nigori_util.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +2 lines, -2 lines 0 comments Download
M sync/util/data_type_histogram.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
Nicolas Zea
This, built off https://codereview.chromium.org/11958029/, introduces TABS as a local type, and adds the necessary history/sessions ...
7 years, 11 months ago (2013-01-17 02:27:15 UTC) #1
Raz Mathias
https://codereview.chromium.org/11961030/diff/23004/sync/protocol/sync.proto File sync/protocol/sync.proto (right): https://codereview.chromium.org/11961030/diff/23004/sync/protocol/sync.proto#newcode111 sync/protocol/sync.proto:111: optional string tab = 174470; // Placeholder for tabs, ...
7 years, 11 months ago (2013-01-19 01:29:17 UTC) #2
Nicolas Zea
On 2013/01/19 01:29:17, Raz Mathias wrote: > https://codereview.chromium.org/11961030/diff/23004/sync/protocol/sync.proto > File sync/protocol/sync.proto (right): > > https://codereview.chromium.org/11961030/diff/23004/sync/protocol/sync.proto#newcode111 ...
7 years, 11 months ago (2013-01-19 01:51:09 UTC) #3
Nicolas Zea
PTAL again. Raz, notice the tabs_datatype_enabled field in ClientConfigParams.
7 years, 10 months ago (2013-01-31 00:03:11 UTC) #4
Nicolas Zea
ping? I've rebased onto the proxytypes change.
7 years, 10 months ago (2013-02-08 19:01:15 UTC) #5
tim (not reviewing)
Make sure you grep for syncer::SESSIONS, for example I think foreign_session_handler.cc also needs to be ...
7 years, 10 months ago (2013-02-09 01:23:58 UTC) #6
Raz Mathias
LGTM for the proto https://codereview.chromium.org/11961030/diff/56001/sync/protocol/sync.proto File sync/protocol/sync.proto (right): https://codereview.chromium.org/11961030/diff/56001/sync/protocol/sync.proto#newcode374 sync/protocol/sync.proto:374: optional bool tabs_datatype_enabled = 2; ...
7 years, 10 months ago (2013-02-09 01:33:48 UTC) #7
Nicolas Zea
Comments addressed. +TBR James for rename changes in the ui folders. https://codereview.chromium.org/11961030/diff/56001/sync/internal_api/public/base/model_type.h File sync/internal_api/public/base/model_type.h (right): ...
7 years, 10 months ago (2013-02-12 23:44:49 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zea@chromium.org/11961030/60006
7 years, 10 months ago (2013-02-14 00:54:57 UTC) #9
commit-bot: I haz the power
Retried try job too often on linux_aura for step(s) aura_unittests, browser_tests, compositor_unittests, content_browsertests, content_unittests, interactive_ui_tests, ...
7 years, 10 months ago (2013-02-14 01:23:51 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zea@chromium.org/11961030/60006
7 years, 10 months ago (2013-02-14 01:29:13 UTC) #11
commit-bot: I haz the power
Retried try job too often on linux_aura for step(s) aura_unittests, browser_tests, compositor_unittests, content_browsertests, content_unittests, interactive_ui_tests, ...
7 years, 10 months ago (2013-02-14 01:58:01 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zea@chromium.org/11961030/60006
7 years, 10 months ago (2013-02-14 18:28:34 UTC) #13
commit-bot: I haz the power
7 years, 10 months ago (2013-02-14 20:24:24 UTC) #14
Message was sent while issue was closed.
Change committed as 182527

Powered by Google App Engine
This is Rietveld 408576698