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

Issue 3184004: Added classes to enable session sync functionality. (Closed)

Created:
10 years, 4 months ago by tim (not reviewing)
Modified:
9 years, 6 months ago
CC:
chromium-reviews, ncarter (slow), idana, Raghu Simha, ben+cc_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Added classes to enable session sync functionality. TEST=ProfileSyncServiceSessionTest BUG=30519 Original patch by jerrica@chromium.org Original review: http://codereview.chromium.org/3168009 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=56423

Patch Set 1 : jerricas patch #

Patch Set 2 : add browser commands test #

Patch Set 3 : rebase #

Patch Set 4 : rebase #

Patch Set 5 : rebase 3 #

Total comments: 4

Patch Set 6 : review comments #

Total comments: 2

Patch Set 7 : rebase changes #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+2112 lines, -43 lines) Patch
M chrome/browser/browser_commands_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
A chrome/browser/dom_ui/foreign_session_handler.h View 1 chunk +66 lines, -0 lines 0 comments Download
A chrome/browser/dom_ui/foreign_session_handler.cc View 1 chunk +151 lines, -0 lines 0 comments Download
M chrome/browser/dom_ui/new_tab_ui.cc View 2 chunks +3 lines, -0 lines 0 comments Download
A chrome/browser/dom_ui/value_helper.h View 1 chunk +25 lines, -0 lines 0 comments Download
A chrome/browser/dom_ui/value_helper.cc View 1 chunk +47 lines, -0 lines 0 comments Download
M chrome/browser/sessions/session_restore.h View 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/sessions/session_restore.cc View 2 chunks +37 lines, -0 lines 0 comments Download
M chrome/browser/sessions/session_types.h View 2 chunks +13 lines, -1 line 0 comments Download
M chrome/browser/sessions/session_types.cc View 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/browser/sessions/tab_restore_service.h View 2 chunks +4 lines, -5 lines 0 comments Download
M chrome/browser/sync/abstract_profile_sync_service_test.h View 5 chunks +20 lines, -8 lines 0 comments Download
M chrome/browser/sync/engine/syncapi.h View 4 chunks +11 lines, -0 lines 0 comments Download
M chrome/browser/sync/engine/syncapi.cc View 5 chunks +23 lines, -1 line 0 comments Download
M chrome/browser/sync/glue/data_type_manager_impl.cc View 1 chunk +1 line, -0 lines 0 comments Download
A chrome/browser/sync/glue/session_change_processor.h View 1 chunk +75 lines, -0 lines 0 comments Download
A chrome/browser/sync/glue/session_change_processor.cc View 1 chunk +132 lines, -0 lines 0 comments Download
A chrome/browser/sync/glue/session_data_type_controller.h View 1 chunk +85 lines, -0 lines 0 comments Download
A chrome/browser/sync/glue/session_data_type_controller.cc View 1 chunk +113 lines, -0 lines 0 comments Download
A chrome/browser/sync/glue/session_model_associator.h View 1 chunk +201 lines, -0 lines 0 comments Download
A chrome/browser/sync/glue/session_model_associator.cc View 1 chunk +527 lines, -0 lines 0 comments Download
M chrome/browser/sync/profile_sync_factory.h View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/sync/profile_sync_factory_impl.h View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/sync/profile_sync_factory_impl.cc View 1 2 3 4 chunks +24 lines, -0 lines 0 comments Download
M chrome/browser/sync/profile_sync_factory_impl_unittest.cc View 6 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/sync/profile_sync_factory_mock.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/sync/profile_sync_service.h View 1 2 5 chunks +11 lines, -4 lines 0 comments Download
M chrome/browser/sync/profile_sync_service.cc View 1 2 3 5 chunks +18 lines, -4 lines 0 comments Download
M chrome/browser/sync/profile_sync_service_password_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
A chrome/browser/sync/profile_sync_service_session_unittest.cc View 1 chunk +417 lines, -0 lines 0 comments Download
M chrome/browser/sync/profile_sync_service_typed_url_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/sync/sync_setup_flow.cc View 1 2 3 4 5 6 4 chunks +10 lines, -2 lines 0 comments Download
M chrome/browser/sync/sync_setup_wizard_unittest.cc View 1 2 3 3 chunks +3 lines, -4 lines 0 comments Download
M chrome/browser/sync/syncable/model_type.h View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/sync/syncable/model_type.cc View 1 2 3 4 5 6 7 chunks +18 lines, -1 line 1 comment Download
M chrome/browser/views/bookmark_bar_view_unittest.cc View 1 chunk +1 line, -3 lines 0 comments Download
M chrome/chrome.gyp View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 3 chunks +10 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.h View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/common/chrome_switches.cc View 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/common/notification_type.h View 1 2 3 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/common/pref_names.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/pref_names.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/browser_with_test_window_test.h View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/test/browser_with_test_window_test.cc View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 11 (0 generated)
tim (not reviewing)
+Pawel to continue his review of unittests from original patch.
10 years, 4 months ago (2010-08-15 19:53:52 UTC) #1
Paweł Hajdan Jr.
Tests LGTM. Looks like the intern has fixed it nicely. :)
10 years, 4 months ago (2010-08-16 18:20:16 UTC) #2
tim (not reviewing)
On 2010/08/16 18:20:16, Paweł Hajdan Jr. wrote: > Tests LGTM. Looks like the intern has ...
10 years, 4 months ago (2010-08-17 07:03:07 UTC) #3
tim (not reviewing)
[actually +akalin now]
10 years, 4 months ago (2010-08-17 07:03:43 UTC) #4
akalin
basically, 'UNKNOWN' is just another data type for which tango send notifications (it is sent ...
10 years, 4 months ago (2010-08-17 07:06:42 UTC) #5
tim (not reviewing)
Is it cause for concern that NotificationTypeToReal and RealToNotification aren't inverses right now? one maps ...
10 years, 4 months ago (2010-08-17 07:29:36 UTC) #6
akalin
Yeah, they should be inverses. http://codereview.chromium.org/3184004/diff/21001/22034 File chrome/browser/sync/syncable/model_type.cc (right): http://codereview.chromium.org/3184004/diff/21001/22034#newcode205 chrome/browser/sync/syncable/model_type.cc:205: case SESSIONS: add mapping ...
10 years, 4 months ago (2010-08-17 07:32:18 UTC) #7
tim (not reviewing)
http://codereview.chromium.org/3184004/diff/21001/22034 File chrome/browser/sync/syncable/model_type.cc (right): http://codereview.chromium.org/3184004/diff/21001/22034#newcode205 chrome/browser/sync/syncable/model_type.cc:205: case SESSIONS: On 2010/08/17 07:32:18, akalin wrote: > add ...
10 years, 4 months ago (2010-08-17 15:17:03 UTC) #8
akalin
On 2010/08/17 15:17:03, timsteele wrote: > http://codereview.chromium.org/3184004/diff/21001/22034 > File chrome/browser/sync/syncable/model_type.cc (right): > > http://codereview.chromium.org/3184004/diff/21001/22034#newcode205 > ...
10 years, 4 months ago (2010-08-17 17:15:49 UTC) #9
tim (not reviewing)
On 2010/08/17 17:15:49, akalin wrote: > On 2010/08/17 15:17:03, timsteele wrote: > > http://codereview.chromium.org/3184004/diff/21001/22034 > ...
10 years, 4 months ago (2010-08-17 20:51:58 UTC) #10
akalin
10 years, 4 months ago (2010-08-17 21:34:47 UTC) #11
LGTM

http://codereview.chromium.org/3184004/diff/17005/26034
File chrome/browser/sync/syncable/model_type.cc (right):

http://codereview.chromium.org/3184004/diff/17005/26034#newcode251
chrome/browser/sync/syncable/model_type.cc:251: else if (notification_type ==
kUnknownNotificationType) {
move "else if" to be on previous line, i.e. "} else if"

Powered by Google App Engine
This is Rietveld 408576698