commit | 1034cb4068d0a90f7342113ae94e3fc1047bfcef | [log] [tgz] |
---|---|---|
author | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Tue Jul 17 08:37:54 2012 |
committer | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Tue Jul 17 08:37:54 2012 |
tree | 48d51c5b32120949b0bb13dcd097e41bcd4140fe | |
parent | fb2a5673c45ffbe71263c6c7cb50fdc57b7dc4aa [diff] |
Add SessionID::{IdForTab,IdForWindowContainingTab}. The chain of calls IdForTab is an abbreviation for appears ~17 times, some of which are their own abbreviations: http://code.google.com/searchframe#search/&exact_package=chromium&q=%22restore_tab_helper()-%3Esession_id().id()%22 Currently, they're still implemented in terms of the restore_tab_helper, but since tab and window IDs are more fundamental than session restore nowadays, it would be possible to change that if the dependency becomes awkward. Review URL: https://chromiumcodereview.appspot.com/10680005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146962 0039d316-1c4b-4281-b951-d872f2087c98