Searched refs:OfflineEnabledInfo (Results 1 – 8 of 8) sorted by relevance
20 OfflineEnabledInfo::OfflineEnabledInfo(bool is_offline_enabled) in OfflineEnabledInfo() function in extensions::OfflineEnabledInfo24 OfflineEnabledInfo::~OfflineEnabledInfo() { in ~OfflineEnabledInfo()28 bool OfflineEnabledInfo::IsOfflineEnabled(const Extension* extension) { in IsOfflineEnabled()29 OfflineEnabledInfo* info = static_cast<OfflineEnabledInfo*>( in IsOfflineEnabled()51 new OfflineEnabledInfo(!has_webview_permission)); in Parse()64 new OfflineEnabledInfo(offline_enabled)); in Parse()
17 struct OfflineEnabledInfo : public Extension::ManifestData { struct18 explicit OfflineEnabledInfo(bool offline_enabled);19 virtual ~OfflineEnabledInfo();
23 EXPECT_TRUE(OfflineEnabledInfo::IsOfflineEnabled(extension_0.get())); in TEST_F()26 EXPECT_TRUE(OfflineEnabledInfo::IsOfflineEnabled(extension_1.get())); in TEST_F()29 EXPECT_FALSE(OfflineEnabledInfo::IsOfflineEnabled(extension_2.get())); in TEST_F()32 EXPECT_FALSE(OfflineEnabledInfo::IsOfflineEnabled(extension_3.get())); in TEST_F()35 EXPECT_TRUE(OfflineEnabledInfo::IsOfflineEnabled(extension_4.get())); in TEST_F()38 EXPECT_TRUE(OfflineEnabledInfo::IsOfflineEnabled(extension_5.get())); in TEST_F()41 EXPECT_FALSE(OfflineEnabledInfo::IsOfflineEnabled(extension_6.get())); in TEST_F()
44 OfflineEnabledInfo::IsOfflineEnabled(extension)); in GetExtensionBasicInfo()
73 !OfflineEnabledInfo::IsOfflineEnabled(extension)) in FindMatchingUrlHandler()
169 !extensions::OfflineEnabledInfo::IsOfflineEnabled(extension); in MaybeInitializeNetwork()
129 info->offline_enabled = OfflineEnabledInfo::IsOfflineEnabled(&extension); in CreateExtensionInfo()
353 info->offline_enabled = OfflineEnabledInfo::IsOfflineEnabled(&item); in CreateItemInfo()