HomeSort by relevance Sort by last modified time
    Searched refs:session_tag (Results 1 - 24 of 24) sorted by null

  /external/chromium_org/chrome/browser/extensions/api/sessions/
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) {
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
sessions_api.h 54 scoped_ptr<api::tabs::Tab> CreateTabModel(const std::string& session_tag,
60 const std::string& session_tag);
63 const std::string& session_tag);
sessions_api.cc 238 const std::string& session_tag,
242 std::string session_id = SessionId(session_tag, tab.tab_id.id()).ToString();
254 const SessionWindow& window, const std::string& session_tag) {
279 CreateTabModel(session_tag, *tabs_in_window[i], i,
284 SessionId(session_tag, window.window_id.id()).ToString();
331 const SessionWindow& window, const std::string& session_tag) {
333 CreateWindowModel(window, session_tag));
358 *it->second, session->session_tag));
529 if (open_tabs->GetForeignTab(session_id.session_tag(),
544 if (!open_tabs->GetForeignSession(session_id.session_tag(), &windows))
    [all...]
  /external/chromium_org/chrome/browser/sync/glue/
synced_session_tracker.h 43 // by |session_tag|. Ownership Of SessionWindows stays within the
49 bool LookupSessionWindows(const std::string& session_tag,
58 bool LookupSessionTab(const std::string& session_tag,
67 // |session_tag|. If none exists, creates one. Ownership of the
69 SyncedSession* GetSession(const std::string& session_tag);
71 // Deletes the session associated with |session_tag| if it exists.
73 bool DeleteSession(const std::string& session_tag);
75 // Resets the tracking information for the session specified by |session_tag|.
83 void ResetSessionTracking(const std::string& session_tag);
85 // Deletes those windows and tabs associated with |session_tag| that are n
    [all...]
synced_session_tracker.cc 52 const std::string& session_tag,
56 SyncedSessionMap::const_iterator iter = synced_session_map_.find(session_tag);
91 const std::string& session_tag, std::set<int>* tab_node_ids) {
94 synced_tab_map_.find(session_tag);
119 const std::string& session_tag) {
121 if (synced_session_map_.find(session_tag) !=
123 synced_session = synced_session_map_[session_tag];
126 DVLOG(1) << "Creating new session with tag " << session_tag << " at "
128 synced_session->session_tag = session_tag;
    [all...]
synced_session.h 45 std::string session_tag; member in struct:browser_sync::SyncedSession
synced_session.cc 14 SyncedSession::SyncedSession() : session_tag("invalid"),
session_sync_test_helper.cc 53 ASSERT_EQ(tag, session.session_tag);
synced_session_tracker_unittest.cc 72 ASSERT_EQ("tag1", sessions[0]->session_tag);
  /external/chromium_org/chrome/browser/android/
foreign_session_helper.h 33 jstring session_tag,
36 void DeleteForeignSession(JNIEnv* env, jobject obj, jstring session_tag);
new_tab_page_prefs.h 39 jstring session_tag);
41 jstring session_tag,
new_tab_page_prefs.cc 88 jstring session_tag) {
91 return dict && dict->HasKey(ConvertJavaStringToUTF8(env, session_tag));
96 jstring session_tag,
103 update.Get()->SetBoolean(ConvertJavaStringToUTF8(env, session_tag), true);
105 update.Get()->Remove(ConvertJavaStringToUTF8(env, session_tag), NULL);
foreign_session_helper.cc 230 const bool is_collapsed = collapsed_sessions->HasKey(session.session_tag);
233 pref_collapsed_sessions->SetBoolean(session.session_tag, true);
239 ConvertUTF8ToJavaString(env, session.session_tag).obj(),
253 jstring session_tag,
264 if (!open_tabs->GetForeignTab(ConvertJavaStringToUTF8(env, session_tag),
293 jstring session_tag) {
296 open_tabs->DeleteForeignSession(ConvertJavaStringToUTF8(env, session_tag));
  /external/chromium_org/chrome/browser/ui/webui/ntp/
foreign_session_handler.cc 252 const std::string& session_tag = session->session_tag; local
255 session_data->SetString("tag", session_tag);
261 bool is_collapsed = collapsed_sessions->HasKey(session_tag);
264 current_collapsed_sessions->SetBoolean(session_tag, true);
342 std::string session_tag; local
343 if (!args->GetString(0, &session_tag)) {
350 open_tabs->DeleteForeignSession(session_tag);
361 std::string session_tag; local
362 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))
448 const std::string& session_tag = session->session_tag; local
452 if (!open_tabs->GetForeignSession(session_tag, &windows) ||
494 BuildOtherDevicesTabItem(session_tag, *tabs_in_session[k])
    [all...]
recent_tabs_sub_menu_model.h 104 void BuildOtherDevicesTabItem(const std::string& session_tag,
  /external/chromium_org/chrome/browser/sync/test/integration/
sessions_helper.h 122 // Deletes the foreign session with tag |session_tag| from the profile specified
124 // Note: We pass the session_tag in by value to ensure it's not a reference
126 void DeleteForeignSession(int index, std::string session_tag);
two_client_sessions_sync_test.cc 179 DeleteForeignSession(1, sessions1[0]->session_tag);
204 DeleteForeignSession(1, sessions1[0]->session_tag);
sessions_helper.cc 405 void DeleteForeignSession(int index, std::string session_tag) {
408 GetOpenTabsUIDelegate()->DeleteForeignSession(session_tag);
  /external/chromium_org/chrome/browser/sync/sessions/
sessions_sync_manager.cc 463 if (current_machine_tag() == session.session_tag()) {
475 DisassociateForeignSession(session.session_tag());
480 if (current_machine_tag() == session.session_tag()) {
534 if (specifics.session_tag().empty() ||
540 } else if (specifics.session_tag() != current_machine_tag()) {
572 std::string foreign_session_tag = specifics.session_tag();
689 const std::string& session_tag,
709 session_tracker_.PutTabInWindow(session_tag,
970 std::string session_tag = session->session_tag; local
    [all...]
sessions_sync_manager_unittest.cc 661 EXPECT_EQ(manager()->current_machine_tag(), specifics.session_tag());
674 EXPECT_EQ(manager()->current_machine_tag(), specifics2.session_tag());
883 EXPECT_EQ(manager()->current_machine_tag(), specifics.session_tag());
    [all...]
sessions_sync_manager.h 261 const std::string& session_tag,
  /external/chromium_org/sync/protocol/
proto_value_conversions.cc 743 SET_STR(session_tag);
    [all...]

Completed in 1126 milliseconds