#include "components/sync_sessions/session_sync_test_helper.h"
#include <stddef.h>
#include "base/strings/utf_string_conversions.h"
#include "components/sync/protocol/session_specifics.pb.h"
#include "components/sync_device_info/device_info_proto_enum_util.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace sync_sessions {
static const char* kAppId = …;
static const char* kVirtualUrl = …;
static const char* kReferrer = …;
static const char* kTitle = …;
sync_pb::SessionSpecifics
SessionSyncTestHelper::BuildHeaderSpecificsWithoutWindows(
const std::string& tag,
const std::string& client_name,
const syncer::DeviceInfo::FormFactor& device_form_factor) { … }
void SessionSyncTestHelper::AddWindowSpecifics(
SessionID window_id,
const std::vector<SessionID>& tab_list,
sync_pb::SessionSpecifics* meta) { … }
sync_pb::SessionSpecifics SessionSyncTestHelper::BuildTabSpecifics(
const std::string& tag,
const std::string& title,
const std::string& virtual_url,
SessionID window_id,
SessionID tab_id,
int tab_node_id) { … }
sync_pb::SessionSpecifics SessionSyncTestHelper::BuildTabSpecifics(
const std::string& tag,
SessionID window_id,
SessionID tab_id) { … }
sync_pb::SessionSpecifics SessionSyncTestHelper::BuildTabSpecifics(
const std::string& tag,
const std::string& title,
const std::string& virtual_url,
SessionID window_id,
SessionID tab_id) { … }
void SessionSyncTestHelper::Reset() { … }
}