Home
last modified time | relevance | path

Searched refs:machine_tag (Results 1 – 11 of 11) sorted by relevance

/external/chromium/chrome/browser/sync/
Dprofile_sync_service_session_unittest.cc180 std::string machine_tag = model_associator_->GetCurrentMachineTag(); in TEST_F() local
181 int64 sync_id = model_associator_->GetSyncIdFromSessionTag(machine_tag); in TEST_F()
188 machine_tag)); in TEST_F()
190 ASSERT_EQ(machine_tag, specifics.session_tag()); in TEST_F()
214 std::string machine_tag = model_associator_->GetCurrentMachineTag(); in TEST_F() local
215 int64 sync_id = model_associator_->GetSyncIdFromSessionTag(machine_tag); in TEST_F()
262 std::string machine_tag = "session_sync123"; in TEST_F() local
263 meta_specifics.set_session_tag(machine_tag); in TEST_F()
271 tab_specifics.set_session_tag(machine_tag); in TEST_F()
294 ASSERT_EQ(machine_tag, foreign_sessions[0]->foreign_session_tag); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/sync/sessions2/
Dtab_node_pool2.cc32 const std::string machine_tag, int tab_node_id) { in TabIdToTag() argument
33 return base::StringPrintf("%s %d", machine_tag.c_str(), tab_node_id); in TabIdToTag()
184 void TabNodePool2::SetMachineTag(const std::string& machine_tag) { in SetMachineTag() argument
185 machine_tag_ = machine_tag; in SetMachineTag()
Dtab_node_pool2.h59 static std::string TabIdToTag(const std::string machine_tag,
125 void SetMachineTag(const std::string& machine_tag);
Dsessions_sync_manager.cc69 std::string machine_tag = "session_sync"; in BuildMachineTag() local
70 machine_tag.append(cache_guid); in BuildMachineTag()
71 return machine_tag; in BuildMachineTag()
/external/chromium_org/chrome/browser/sync/glue/
Dtab_node_pool.h56 static std::string TabIdToTag(const std::string machine_tag,
109 void SetMachineTag(const std::string& machine_tag);
Dtab_node_pool.cc38 const std::string machine_tag, int tab_node_id) { in TabIdToTag() argument
39 return base::StringPrintf("%s %d", machine_tag.c_str(), tab_node_id); in TabIdToTag()
203 void TabNodePool::SetMachineTag(const std::string& machine_tag) { in SetMachineTag() argument
204 machine_tag_ = machine_tag; in SetMachineTag()
Dsession_model_associator.h192 void SetCurrentMachineTagForTesting(const std::string& machine_tag) { in SetCurrentMachineTagForTesting() argument
193 current_machine_tag_ = machine_tag; in SetCurrentMachineTagForTesting()
Dsession_model_associator.cc76 std::string machine_tag = SessionTagPrefix(); in GetMachineTagFromTransaction() local
77 machine_tag.append(dir->cache_guid()); in GetMachineTagFromTransaction()
78 return machine_tag; in GetMachineTagFromTransaction()
/external/chromium/chrome/browser/sync/glue/
Dsession_model_associator.h272 inline void set_machine_tag(const std::string& machine_tag) { in set_machine_tag() argument
273 machine_tag_ = machine_tag; in set_machine_tag()
308 const std::string machine_tag, in TabIdToTag() argument
311 machine_tag.c_str(), tab_node_id); in TabIdToTag()
/external/chromium_org/chrome/browser/sync/
Dprofile_sync_service_session_unittest.cc276 std::string machine_tag = model_associator_->GetCurrentMachineTag(); in TEST_F() local
277 int64 sync_id = model_associator_->GetSyncIdFromSessionTag(machine_tag); in TEST_F()
284 node.InitByClientTagLookup(syncer::SESSIONS, machine_tag)); in TEST_F()
286 ASSERT_EQ(machine_tag, specifics.session_tag()); in TEST_F()
320 std::string machine_tag = model_associator_->GetCurrentMachineTag(); in TEST_F() local
321 int64 sync_id = model_associator_->GetSyncIdFromSessionTag(machine_tag); in TEST_F()
935 std::string machine_tag = model_associator_->GetCurrentMachineTag(); in TEST_F() local
936 int64 sync_id = model_associator_->GetSyncIdFromSessionTag(machine_tag); in TEST_F()
Dprofile_sync_service_android.cc194 std::string machine_tag = ConvertJavaStringToUTF8(env, tag); in SetSyncSessionsId() local
195 sync_prefs_->SetSyncSessionsGUID(machine_tag); in SetSyncSessionsId()