Home
last modified time | relevance | path

Searched refs:header_s (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/chrome/browser/sync/sessions/
Dsessions_sync_manager_unittest.cc324 sync_pb::SessionHeader header_s; in TEST_F() local
325 header_s.set_client_name("Client 1"); in TEST_F()
326 header_s.set_device_type(sync_pb::SyncEnums_DeviceType_TYPE_WIN); in TEST_F()
331 header_s, time, &session); in TEST_F()
776 const sync_pb::SessionHeader& header_s = specifics.header(); in TEST_F() local
777 EXPECT_TRUE(header_s.has_device_type()); in TEST_F()
778 EXPECT_EQ(GetLocalDeviceInfo()->client_name(), header_s.client_name()); in TEST_F()
779 EXPECT_EQ(0, header_s.window_size()); in TEST_F()
998 const sync_pb::SessionHeader& header_s = specifics.header(); in TEST_F() local
999 EXPECT_TRUE(header_s.has_device_type()); in TEST_F()
[all …]
Dsessions_sync_manager.cc125 sync_pb::SessionHeader* header_s = base_specifics->mutable_header(); in MergeDataAndStartSyncing() local
126 header_s->set_client_name(current_session_name_); in MergeDataAndStartSyncing()
127 header_s->set_device_type(local_device_info->device_type()); in MergeDataAndStartSyncing()
159 sync_pb::SessionHeader* header_s = specifics.mutable_header(); in AssociateWindows() local
162 header_s->set_client_name(current_session_name_); in AssociateWindows()
167 header_s->set_device_type(local_device_info->device_type()); in AssociateWindows()
240 sync_pb::SessionWindow* header_window = header_s->add_window(); in AssociateWindows()