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

Issue 480883002: Move session_id.{cc,h} from chrome/browser/sessions to components/sessions (Closed)

Created:
6 years, 4 months ago by hashimoto
Modified:
6 years, 4 months ago
Reviewers:
sky, marja
CC:
chromium-reviews, tim+watch_chromium.org, extensions-reviews_chromium.org, jennb, felt, zea+watch_chromium.org, tfarina, haitaol+watch_chromium.org, Dmitry Titov, dcheng, marja+watch_chromium.org, jianli, chromium-apps-reviews_chromium.org, maniscalco+watch_chromium.org, miu+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

Move session_id.{cc,h} from chrome/browser/sessions to components/sessions Move SessionID out of chrome/ to make it usable from non-Chrome embedders like app_shell and athena. Move methods IdForTab() and IdForWindowContainingTab() from SessionID to SessionTabHelper to make SessionID chrome-free. Move SessionID to components/sessions. Fix gyp, BUILD.gn and DEPS. BUG=403726 TBR=sky@chromium.org for include fix under chrome/browser Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=290242

Patch Set 1 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+155 lines, -161 lines) Patch
M apps/DEPS View 2 chunks +1 line, -1 line 0 comments Download
M apps/app_window.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/android/omnibox/autocomplete_controller_android.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/android/tab_android.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/active_script_controller.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/active_tab_unittest.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/extensions/activity_log/uma_policy.cc View 5 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/extensions/api/debugger/debugger_apitest.cc View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/api/extension_action/browser_action_interactive_test.cc View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/api/tab_capture/tab_capture_api.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/api/tab_capture/tab_capture_registry.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/api/tabs/ash_panel_contents.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/tabs/tabs_api.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/extensions/browser_extension_window_controller.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_context_menu_model.cc View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/extension_keybinding_apitest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_tab_util.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/extensions/page_action_controller.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/extensions/page_action_controller_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/tab_helper.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/extensions/window_controller_list.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/omnibox/omnibox_log.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/printing/print_preview_dialog_controller.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sessions/base_session_service.h View 1 chunk +1 line, -1 line 0 comments Download
D chrome/browser/sessions/session_id.h View 1 chunk +0 lines, -47 lines 0 comments Download
D chrome/browser/sessions/session_id.cc View 1 chunk +0 lines, -26 lines 0 comments Download
M chrome/browser/sessions/session_service.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sessions/session_service_test_helper.h View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/sessions/session_service_test_helper.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sessions/session_tab_helper.h View 2 chunks +19 lines, -1 line 0 comments Download
M chrome/browser/sessions/session_tab_helper.cc View 1 chunk +15 lines, -0 lines 0 comments Download
M chrome/browser/sessions/session_types.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sessions/tab_restore_service.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sessions/tab_restore_service_delegate.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sessions/tab_restore_service_helper.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/glue/favicon_cache.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/glue/session_sync_test_helper.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/glue/synced_session.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/glue/synced_session_tracker.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/glue/synced_tab_delegate.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/glue/synced_window_delegate.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/glue/synced_window_delegate_android.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/open_tabs_ui_delegate.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/sessions/sessions_sync_manager.h View 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/sync/sessions/sessions_sync_manager_unittest.cc View 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/sync/sessions/tab_node_pool.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/android/tab_model/tab_model.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/android/tab_model/tab_model_list.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/browser.h View 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/applescript/tab_applescript.mm View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/history_menu_bridge.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/location_bar/page_action_decoration.mm View 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/ui/panels/panel.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/panels/panel.cc View 2 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/ui/settings_window_manager.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/sync/browser_synced_window_delegate.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/sync/browser_synced_window_delegate.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/sync/tab_contents_synced_tab_delegate.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/toolbar/recent_tabs_builder_test_helper.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/extensions/extension_action_view_controller.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 chunk +0 lines, -2 lines 0 comments Download
M components/sessions.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M components/sessions/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
A components/sessions/session_id.h View 1 chunk +27 lines, -0 lines 0 comments Download
A + components/sessions/session_id.cc View 1 chunk +4 lines, -5 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
hashimoto
Please review. This patch should not introduce any behavior change.
6 years, 4 months ago (2014-08-18 08:07:06 UTC) #1
marja
hmm... so after this patch SessionID is just a wrapper around int32? Does it make ...
6 years, 4 months ago (2014-08-18 08:11:11 UTC) #2
hashimoto
On 2014/08/18 08:11:11, marja wrote: > hmm... so after this patch SessionID is just a ...
6 years, 4 months ago (2014-08-18 08:16:56 UTC) #3
marja
On 2014/08/18 08:16:56, hashimoto wrote: > On 2014/08/18 08:11:11, marja wrote: > > hmm... so ...
6 years, 4 months ago (2014-08-18 08:21:29 UTC) #4
hashimoto
TBRing sky@chromium.org for include fix under chrome/browser
6 years, 4 months ago (2014-08-18 09:44:13 UTC) #5
hashimoto
The CQ bit was checked by hashimoto@chromium.org
6 years, 4 months ago (2014-08-18 10:00:28 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hashimoto@chromium.org/480883002/20001
6 years, 4 months ago (2014-08-18 10:01:14 UTC) #7
commit-bot: I haz the power
6 years, 4 months ago (2014-08-18 12:42:19 UTC) #8
Message was sent while issue was closed.
Committed patchset #1 (20001) as 290242

Powered by Google App Engine
This is Rietveld 408576698