Searched refs:extension_data (Results 1 – 8 of 8) sorted by relevance
/external/chromium/chrome/browser/sync/glue/ |
D | extension_data_unittest.cc | 29 ExtensionData extension_data = in TEST_F() local 31 EXPECT_FALSE(extension_data.NeedsUpdate(ExtensionData::CLIENT)); in TEST_F() 32 EXPECT_TRUE(extension_data.NeedsUpdate(ExtensionData::SERVER)); in TEST_F() 34 client_data, extension_data.merged_data())); in TEST_F() 42 ExtensionData extension_data = in TEST_F() local 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() 63 EXPECT_TRUE(extension_data.NeedsUpdate(ExtensionData::CLIENT)); in TEST_F() [all …]
|
D | extension_sync.cc | 53 ExtensionData* extension_data = &result.first->second; in SetOrCreateExtensionData() local 57 DCHECK(!extension_data->NeedsUpdate(source)); in SetOrCreateExtensionData() 59 extension_data->SetData(source, merge_user_properties, data); in SetOrCreateExtensionData() 61 return extension_data; in SetOrCreateExtensionData() 82 const ExtensionData& extension_data = in ReadClientDataFromExtensionList() local 86 DcheckIsExtensionSpecificsValid(extension_data.merged_data()); 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() local 168 DcheckIsExtensionSpecificsValid(extension_data.merged_data()); in SlurpServerData() [all …]
|
D | extension_data.cc | 15 ExtensionData extension_data; in FromData() local 16 extension_data.merged_data_ = extension_data.source_data_[source] = data; in FromData() 17 DCHECK(AreExtensionSpecificsEqual(extension_data.merged_data(), data)); in FromData() 18 DCHECK(!extension_data.NeedsUpdate(source)); in FromData() 19 return extension_data; in FromData()
|
/external/chromium/chrome/browser/extensions/ |
D | extensions_ui.cc | 683 DictionaryValue* extension_data = new DictionaryValue(); in CreateExtensionDetailValue() local 689 extension_data->SetString("id", extension->id()); in CreateExtensionDetailValue() 690 extension_data->SetString("name", extension->name()); in CreateExtensionDetailValue() 691 extension_data->SetString("description", extension->description()); in CreateExtensionDetailValue() 693 extension_data->SetString("path", extension->path().value()); in CreateExtensionDetailValue() 694 extension_data->SetString("version", extension->version()->GetString()); in CreateExtensionDetailValue() 695 extension_data->SetString("icon", icon.spec()); in CreateExtensionDetailValue() 696 extension_data->SetBoolean("isUnpacked", in CreateExtensionDetailValue() 698 extension_data->SetBoolean("mayDisable", in CreateExtensionDetailValue() 700 extension_data->SetBoolean("enabled", enabled); in CreateExtensionDetailValue() [all …]
|
D | extension_prefs.cc | 1043 DictionaryValue* extension_data, in GetInstalledExtensionInfoImpl() argument 1046 if (!extension_data->GetDictionaryWithoutPathExpansion(*extension_id, &ext)) { in GetInstalledExtensionInfoImpl() 1103 scoped_ptr<DictionaryValue> extension_data(CopyCurrentExtensions()); in GetInstalledExtensionsInfo() local 1108 extension_data->begin_keys()); in GetInstalledExtensionsInfo() 1109 extension_id != extension_data->end_keys(); ++extension_id) { in GetInstalledExtensionsInfo() 1113 ExtensionInfo* info = GetInstalledExtensionInfoImpl(extension_data.get(), in GetInstalledExtensionsInfo() 1124 scoped_ptr<DictionaryValue> extension_data(CopyCurrentExtensions()); in GetInstalledExtensionInfo() local 1127 extension_data->begin_keys()); in GetInstalledExtensionInfo() 1128 extension_iter != extension_data->end_keys(); ++extension_iter) { in GetInstalledExtensionInfo() 1130 return GetInstalledExtensionInfoImpl(extension_data.get(), in GetInstalledExtensionInfo()
|
D | extension_ui_unittest.cc | 32 scoped_ptr<DictionaryValue> extension_data(DeserializeJSONTestData( in CreateExtensionDetailViewFromPath() local 37 extension_path, location, *extension_data, in CreateExtensionDetailViewFromPath()
|
D | extension_updater_unittest.cc | 736 std::string extension_data("whatever"); in TestSingleExtensionDownloading() local 742 extension_data); in TestSingleExtensionDownloading() 755 EXPECT_TRUE(extension_data == file_contents); in TestSingleExtensionDownloading() 792 std::string extension_data("aaabbb"); in TestBlacklistDownloading() local 798 extension_data); in TestBlacklistDownloading()
|
/external/chromium/chrome/browser/ui/webui/options/ |
D | extension_settings_handler.cc | 773 DictionaryValue* extension_data = new DictionaryValue(); in CreateExtensionDetailValue() local 775 extension_data->SetString("id", extension->id()); in CreateExtensionDetailValue() 776 extension_data->SetString("name", extension->name()); in CreateExtensionDetailValue() 777 extension_data->SetString("description", extension->description()); in CreateExtensionDetailValue() 778 extension_data->SetString("version", extension->version()->GetString()); in CreateExtensionDetailValue() 779 extension_data->SetBoolean("enabled", enabled); in CreateExtensionDetailValue() 780 extension_data->SetBoolean("terminated", terminated); in CreateExtensionDetailValue() 781 extension_data->SetBoolean("enabledIncognito", in CreateExtensionDetailValue() 783 extension_data->SetBoolean("wantsFileAccess", extension->wants_file_access()); in CreateExtensionDetailValue() 784 extension_data->SetBoolean("allowFileAccess", in CreateExtensionDetailValue() [all …]
|