Home
last modified time | relevance | path

Searched refs:ExtensionData (Results 1 – 5 of 5) sorted by relevance

/external/chromium/chrome/browser/sync/glue/
Dextension_data_unittest.cc29 ExtensionData extension_data = in TEST_F()
30 ExtensionData::FromData(ExtensionData::CLIENT, client_data); in TEST_F()
31 EXPECT_FALSE(extension_data.NeedsUpdate(ExtensionData::CLIENT)); in TEST_F()
32 EXPECT_TRUE(extension_data.NeedsUpdate(ExtensionData::SERVER)); in TEST_F()
42 ExtensionData extension_data = in TEST_F()
43 ExtensionData::FromData(ExtensionData::CLIENT, client_data); in TEST_F()
51 extension_data.SetData(ExtensionData::SERVER, false, server_data); in TEST_F()
52 EXPECT_TRUE(extension_data.NeedsUpdate(ExtensionData::CLIENT)); in TEST_F()
53 EXPECT_TRUE(extension_data.NeedsUpdate(ExtensionData::SERVER)); in TEST_F()
62 extension_data.SetData(ExtensionData::SERVER, true, server_data); in TEST_F()
[all …]
Dextension_data.cc12 ExtensionData ExtensionData::FromData( in FromData()
15 ExtensionData extension_data; in FromData()
22 ExtensionData::~ExtensionData() {} in ~ExtensionData()
24 const sync_pb::ExtensionSpecifics& ExtensionData::merged_data() const { in merged_data()
29 bool ExtensionData::NeedsUpdate(Source source) const { in NeedsUpdate()
36 void ExtensionData::SetData( in SetData()
45 void ExtensionData::ResolveData(Source source) { in ResolveData()
50 ExtensionData::ExtensionData() {} in ExtensionData() function in browser_sync::ExtensionData
Dextension_sync.cc42 ExtensionData* SetOrCreateExtensionData( in SetOrCreateExtensionData()
44 ExtensionData::Source source, in SetOrCreateExtensionData()
52 ExtensionData::FromData(source, data))); in SetOrCreateExtensionData()
53 ExtensionData* extension_data = &result.first->second; in SetOrCreateExtensionData()
82 const ExtensionData& extension_data = in ReadClientDataFromExtensionList()
84 extension_data_map, ExtensionData::CLIENT, in ReadClientDataFromExtensionList()
88 DCHECK(extension_data.NeedsUpdate(ExtensionData::SERVER)); in ReadClientDataFromExtensionList()
89 DCHECK(!extension_data.NeedsUpdate(ExtensionData::CLIENT)); in ReadClientDataFromExtensionList()
165 const ExtensionData& extension_data = in SlurpServerData()
167 extension_data_map, ExtensionData::SERVER, false, server_data); in SlurpServerData()
[all …]
Dextension_data.h18 class ExtensionData {
28 static ExtensionData FromData(
31 ~ExtensionData();
60 ExtensionData();
Dextension_sync.h30 class ExtensionData; variable
34 typedef std::map<std::string, ExtensionData> ExtensionDataMap;