/external/chromium_org/chrome/browser/extensions/api/sessions/ |
session_id.h | 23 // |session_tag| is the string used to uniquely identify a synced foreign 27 // |session_tag| session. 28 SessionId(const std::string& session_tag, int id); 37 const std::string& session_tag() const { return session_tag_; } function in class:extensions::SessionId
|
session_id.cc | 16 std::string session_tag; local 18 // Populate session_tag if the |session_id| represents a foreign SessionId. 21 session_tag = session_id.substr(0, separator); 24 // session_tag will be the empty string for local sessions that have only 28 session_tag.empty() ? session_id : session_id.substr(separator + 1), 32 return make_scoped_ptr(new SessionId(session_tag, id)); 35 SessionId::SessionId(const std::string& session_tag, int id) 36 : session_tag_(session_tag), id_(id) {
|
/external/chromium_org/chrome/browser/sync/glue/ |
synced_session.h | 44 std::string session_tag; member in struct:browser_sync::SyncedSession
|
session_model_associator.cc | 82 std::string GetClientIdFromSessionTag(const std::string& session_tag) { 83 if (session_tag.find_first_of(SessionTagPrefix()) == std::string::npos) { 88 std::string client_id = session_tag.substr( 90 session_tag.length()); 718 const std::string& session_tag) { 719 std::string client_id = GetClientIdFromSessionTag(session_tag); 749 if (specifics.session_tag().empty() || 755 } else if (specifics.session_tag() != GetCurrentMachineTag()) { 787 std::string foreign_session_tag = specifics.session_tag(); 1045 std::string session_tag = session->session_tag; local [all...] |
/external/chromium_org/chrome/browser/ui/webui/ntp/ |
foreign_session_handler.cc | 251 const std::string& session_tag = session->session_tag; local 253 session_data->SetString("tag", session_tag); 259 bool is_collapsed = collapsed_sessions->HasKey(session_tag); 262 current_collapsed_sessions->SetBoolean(session_tag, true); 337 std::string session_tag; local 338 if (!args->GetString(0, &session_tag)) { 345 open_tabs->DeleteForeignSession(session_tag); 356 std::string session_tag; local 357 if (!args->GetString(0, &session_tag)) { [all...] |
/external/chromium_org/chrome/browser/ui/toolbar/ |
recent_tabs_sub_menu_model.cc | 143 TabNavigationItem(const std::string& session_tag, 147 : session_tag(session_tag), 158 std::string session_tag; member in struct:RecentTabsSubMenuModel::TabNavigationItem 280 if (item.session_tag.empty()) { // Restore tab of local session. 292 if (!open_tabs->GetForeignTab(item.session_tag, item.tab_id, &tab)) 443 const std::string& session_tag = session->session_tag; local 447 if (!open_tabs->GetForeignSession(session_tag, &windows) || 489 BuildOtherDevicesTabItem(session_tag, *tabs_in_session[k]) [all...] |
/external/chromium_org/chrome/browser/sync/sessions2/ |
sessions_sync_manager.cc | 425 if (current_machine_tag() == session.session_tag()) { 437 DisassociateForeignSession(session.session_tag()); 442 if (current_machine_tag() == session.session_tag()) { 495 if (specifics.session_tag().empty() || 501 } else if (specifics.session_tag() != current_machine_tag()) { 531 std::string foreign_session_tag = specifics.session_tag(); 648 const std::string& session_tag, 668 session_tracker_.PutTabInWindow(session_tag, 920 std::string session_tag = session->session_tag; local [all...] |