Avi Drissman | 4a8573c | 2022-09-09 19:35:54 | [diff] [blame] | 1 | // Copyright 2021 The Chromium Authors |
Xinghui Lu | 259be4d | 2021-04-21 20:03:35 | [diff] [blame] | 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #include "chrome/browser/extensions/omaha_attributes_handler.h" |
| 6 | |
| 7 | #include "base/test/metrics/histogram_tester.h" |
| 8 | #include "base/values.h" |
| 9 | #include "chrome/browser/extensions/extension_service.h" |
| 10 | #include "chrome/browser/extensions/extension_service_test_base.h" |
Lei Zhang | 75451bac | 2023-01-27 18:47:28 | [diff] [blame] | 11 | #include "chrome/browser/profiles/profile.h" |
Xinghui Lu | 574a067 | 2021-07-15 19:54:49 | [diff] [blame] | 12 | #include "extensions/browser/blocklist_extension_prefs.h" |
Xinghui Lu | bfcb30a | 2021-05-19 20:49:16 | [diff] [blame] | 13 | #include "extensions/browser/disable_reason.h" |
Xinghui Lu | 778ea58 | 2021-05-18 23:47:31 | [diff] [blame] | 14 | #include "extensions/browser/extension_prefs.h" |
Devlin Cronin | d025bf8 | 2021-05-20 19:42:27 | [diff] [blame] | 15 | #include "extensions/test/extension_state_tester.h" |
Xinghui Lu | 259be4d | 2021-04-21 20:03:35 | [diff] [blame] | 16 | #include "testing/gtest/include/gtest/gtest.h" |
| 17 | |
| 18 | namespace extensions { |
| 19 | |
| 20 | namespace { |
| 21 | |
| 22 | // Extension ids used during testing. |
| 23 | constexpr char kTestExtensionId[] = "behllobkkfkfnphdnhnkndlbkcpglgmj"; |
| 24 | |
| 25 | } // namespace |
| 26 | |
| 27 | // Test suite to test Omaha attribute handler. |
Xinghui Lu | e6ff51b | 2021-12-29 20:07:38 | [diff] [blame] | 28 | using OmahaAttributesHandlerUnitTest = ExtensionServiceTestBase; |
Xinghui Lu | 259be4d | 2021-04-21 20:03:35 | [diff] [blame] | 29 | |
| 30 | TEST_F(OmahaAttributesHandlerUnitTest, LogPolicyViolationUWSMetrics) { |
| 31 | base::HistogramTester histograms; |
Xinghui Lu | a1be2c0 | 2021-11-03 07:50:34 | [diff] [blame] | 32 | InitializeGoodInstalledExtensionService(); |
| 33 | service()->Init(); |
Avi Drissman | d2a736f | 2023-01-28 02:31:26 | [diff] [blame] | 34 | base::Value attributes(base::Value::Type::DICT); |
Xinghui Lu | 778ea58 | 2021-05-18 23:47:31 | [diff] [blame] | 35 | attributes.SetBoolKey("_policy_violation", true); |
| 36 | attributes.SetBoolKey("_potentially_uws", true); |
Xinghui Lu | 259be4d | 2021-04-21 20:03:35 | [diff] [blame] | 37 | |
| 38 | service()->PerformActionBasedOnOmahaAttributes(kTestExtensionId, attributes); |
| 39 | |
| 40 | histograms.ExpectBucketCount( |
Xinghui Lu | 09c221f | 2021-06-12 02:43:41 | [diff] [blame] | 41 | "Extensions.ExtensionDisabledRemotely2", |
| 42 | /*sample=*/ExtensionUpdateCheckDataKey::kPotentiallyUWS, |
| 43 | /*expected_count=*/1); |
Xinghui Lu | 259be4d | 2021-04-21 20:03:35 | [diff] [blame] | 44 | histograms.ExpectBucketCount( |
Xinghui Lu | 09c221f | 2021-06-12 02:43:41 | [diff] [blame] | 45 | "Extensions.ExtensionAddDisabledRemotelyReason2", |
| 46 | /*sample=*/ExtensionUpdateCheckDataKey::kPotentiallyUWS, |
| 47 | /*expected_count=*/1); |
| 48 | histograms.ExpectBucketCount( |
| 49 | "Extensions.ExtensionDisabledRemotely2", |
| 50 | /*sample=*/ExtensionUpdateCheckDataKey::kPolicyViolation, |
| 51 | /*expected_count=*/1); |
| 52 | histograms.ExpectBucketCount( |
| 53 | "Extensions.ExtensionAddDisabledRemotelyReason2", |
| 54 | /*sample=*/ExtensionUpdateCheckDataKey::kPolicyViolation, |
| 55 | /*expected_count=*/1); |
Xinghui Lu | 259be4d | 2021-04-21 20:03:35 | [diff] [blame] | 56 | } |
| 57 | |
Xinghui Lu | a1be2c0 | 2021-11-03 07:50:34 | [diff] [blame] | 58 | TEST_F(OmahaAttributesHandlerUnitTest, LogMalwareMetrics) { |
| 59 | base::HistogramTester histograms; |
| 60 | InitializeGoodInstalledExtensionService(); |
| 61 | service()->Init(); |
Avi Drissman | d2a736f | 2023-01-28 02:31:26 | [diff] [blame] | 62 | base::Value attributes(base::Value::Type::DICT); |
Xinghui Lu | a1be2c0 | 2021-11-03 07:50:34 | [diff] [blame] | 63 | |
| 64 | attributes.SetBoolKey("_malware", false); |
| 65 | service()->PerformActionBasedOnOmahaAttributes(kTestExtensionId, attributes); |
| 66 | // The re-enabled metric should not be logged if the extension is not disabled |
| 67 | // previously. |
| 68 | histograms.ExpectBucketCount("Extensions.ExtensionReenabledRemotely", |
| 69 | /*sample=*/ExtensionUpdateCheckDataKey::kMalware, |
| 70 | /*expected_count=*/0); |
| 71 | histograms.ExpectBucketCount("Extensions.ExtensionDisabledRemotely2", |
| 72 | /*sample=*/ExtensionUpdateCheckDataKey::kNoKey, |
| 73 | /*expected_count=*/1); |
| 74 | |
| 75 | attributes.SetBoolKey("_malware", true); |
| 76 | service()->PerformActionBasedOnOmahaAttributes(kTestExtensionId, attributes); |
| 77 | histograms.ExpectBucketCount("Extensions.ExtensionDisabledRemotely2", |
| 78 | /*sample=*/ExtensionUpdateCheckDataKey::kMalware, |
| 79 | /*expected_count=*/1); |
| 80 | histograms.ExpectBucketCount("Extensions.ExtensionAddDisabledRemotelyReason2", |
| 81 | /*sample=*/ExtensionUpdateCheckDataKey::kMalware, |
| 82 | /*expected_count=*/1); |
| 83 | |
| 84 | attributes.SetBoolKey("_malware", false); |
| 85 | service()->PerformActionBasedOnOmahaAttributes(kTestExtensionId, attributes); |
| 86 | histograms.ExpectBucketCount("Extensions.ExtensionReenabledRemotely", |
| 87 | /*sample=*/ExtensionUpdateCheckDataKey::kMalware, |
| 88 | /*expected_count=*/1); |
| 89 | histograms.ExpectBucketCount("Extensions.ExtensionDisabledRemotely2", |
| 90 | /*sample=*/ExtensionUpdateCheckDataKey::kNoKey, |
| 91 | /*expected_count=*/2); |
| 92 | } |
| 93 | |
Xinghui Lu | 778ea58 | 2021-05-18 23:47:31 | [diff] [blame] | 94 | TEST_F(OmahaAttributesHandlerUnitTest, DisableRemotelyForPolicyViolation) { |
Xinghui Lu | 09c221f | 2021-06-12 02:43:41 | [diff] [blame] | 95 | base::HistogramTester histograms; |
Xinghui Lu | 778ea58 | 2021-05-18 23:47:31 | [diff] [blame] | 96 | InitializeGoodInstalledExtensionService(); |
| 97 | service()->Init(); |
| 98 | |
Devlin Cronin | d025bf8 | 2021-05-20 19:42:27 | [diff] [blame] | 99 | ExtensionStateTester state_tester(profile()); |
Xinghui Lu | 778ea58 | 2021-05-18 23:47:31 | [diff] [blame] | 100 | |
Devlin Cronin | d025bf8 | 2021-05-20 19:42:27 | [diff] [blame] | 101 | EXPECT_TRUE(state_tester.ExpectEnabled(kTestExtensionId)); |
Xinghui Lu | 778ea58 | 2021-05-18 23:47:31 | [diff] [blame] | 102 | |
Avi Drissman | d2a736f | 2023-01-28 02:31:26 | [diff] [blame] | 103 | base::Value attributes(base::Value::Type::DICT); |
Xinghui Lu | 778ea58 | 2021-05-18 23:47:31 | [diff] [blame] | 104 | attributes.SetBoolKey("_policy_violation", true); |
| 105 | service()->PerformActionBasedOnOmahaAttributes(kTestExtensionId, attributes); |
| 106 | |
Xinghui Lu | 778ea58 | 2021-05-18 23:47:31 | [diff] [blame] | 107 | ExtensionPrefs* prefs = ExtensionPrefs::Get(profile()); |
Devlin Cronin | d025bf8 | 2021-05-20 19:42:27 | [diff] [blame] | 108 | EXPECT_TRUE(state_tester.ExpectDisabledWithSingleReason( |
| 109 | kTestExtensionId, disable_reason::DISABLE_GREYLIST)); |
Xinghui Lu | 778ea58 | 2021-05-18 23:47:31 | [diff] [blame] | 110 | EXPECT_TRUE(blocklist_prefs::HasOmahaBlocklistState( |
| 111 | kTestExtensionId, BitMapBlocklistState::BLOCKLISTED_CWS_POLICY_VIOLATION, |
| 112 | prefs)); |
Xinghui Lu | 778ea58 | 2021-05-18 23:47:31 | [diff] [blame] | 113 | |
| 114 | // Remove extensions from greylist. |
| 115 | attributes.SetBoolKey("_policy_violation", false); |
| 116 | service()->PerformActionBasedOnOmahaAttributes(kTestExtensionId, attributes); |
Xinghui Lu | 778ea58 | 2021-05-18 23:47:31 | [diff] [blame] | 117 | |
Devlin Cronin | d025bf8 | 2021-05-20 19:42:27 | [diff] [blame] | 118 | // The extension is re-enabled. |
| 119 | EXPECT_TRUE(state_tester.ExpectEnabled(kTestExtensionId)); |
Xinghui Lu | 778ea58 | 2021-05-18 23:47:31 | [diff] [blame] | 120 | EXPECT_FALSE(blocklist_prefs::HasOmahaBlocklistState( |
| 121 | kTestExtensionId, BitMapBlocklistState::BLOCKLISTED_CWS_POLICY_VIOLATION, |
| 122 | prefs)); |
Xinghui Lu | 09c221f | 2021-06-12 02:43:41 | [diff] [blame] | 123 | histograms.ExpectBucketCount( |
| 124 | "Extensions.ExtensionReenabledRemotelyForPolicyViolation", |
| 125 | /*sample=*/1, |
| 126 | /*expected_count=*/1); |
| 127 | histograms.ExpectBucketCount( |
| 128 | "Extensions.ExtensionReenabledRemotelyForPotentiallyUWS", |
| 129 | /*sample=*/1, |
| 130 | /*expected_count=*/0); |
Xinghui Lu | 778ea58 | 2021-05-18 23:47:31 | [diff] [blame] | 131 | } |
| 132 | |
Xinghui Lu | bfcb30a | 2021-05-19 20:49:16 | [diff] [blame] | 133 | TEST_F(OmahaAttributesHandlerUnitTest, DisableRemotelyForPotentiallyUws) { |
Xinghui Lu | 09c221f | 2021-06-12 02:43:41 | [diff] [blame] | 134 | base::HistogramTester histograms; |
Xinghui Lu | bfcb30a | 2021-05-19 20:49:16 | [diff] [blame] | 135 | InitializeGoodInstalledExtensionService(); |
| 136 | service()->Init(); |
| 137 | |
Devlin Cronin | d025bf8 | 2021-05-20 19:42:27 | [diff] [blame] | 138 | ExtensionStateTester state_tester(profile()); |
Xinghui Lu | bfcb30a | 2021-05-19 20:49:16 | [diff] [blame] | 139 | |
Devlin Cronin | d025bf8 | 2021-05-20 19:42:27 | [diff] [blame] | 140 | EXPECT_TRUE(state_tester.ExpectEnabled(kTestExtensionId)); |
Xinghui Lu | bfcb30a | 2021-05-19 20:49:16 | [diff] [blame] | 141 | |
Avi Drissman | d2a736f | 2023-01-28 02:31:26 | [diff] [blame] | 142 | base::Value attributes(base::Value::Type::DICT); |
Xinghui Lu | bfcb30a | 2021-05-19 20:49:16 | [diff] [blame] | 143 | attributes.SetBoolKey("_potentially_uws", true); |
| 144 | service()->PerformActionBasedOnOmahaAttributes(kTestExtensionId, attributes); |
| 145 | |
Xinghui Lu | bfcb30a | 2021-05-19 20:49:16 | [diff] [blame] | 146 | ExtensionPrefs* prefs = ExtensionPrefs::Get(profile()); |
Devlin Cronin | d025bf8 | 2021-05-20 19:42:27 | [diff] [blame] | 147 | EXPECT_TRUE(state_tester.ExpectDisabledWithSingleReason( |
| 148 | kTestExtensionId, disable_reason::DISABLE_GREYLIST)); |
Xinghui Lu | bfcb30a | 2021-05-19 20:49:16 | [diff] [blame] | 149 | EXPECT_TRUE(blocklist_prefs::HasOmahaBlocklistState( |
| 150 | kTestExtensionId, BitMapBlocklistState::BLOCKLISTED_POTENTIALLY_UNWANTED, |
| 151 | prefs)); |
Xinghui Lu | bfcb30a | 2021-05-19 20:49:16 | [diff] [blame] | 152 | |
| 153 | // Remove extensions from greylist. |
| 154 | attributes.SetBoolKey("_potentially_uws", false); |
| 155 | service()->PerformActionBasedOnOmahaAttributes(kTestExtensionId, attributes); |
Xinghui Lu | bfcb30a | 2021-05-19 20:49:16 | [diff] [blame] | 156 | |
| 157 | // The extension is re-enabled. |
Devlin Cronin | d025bf8 | 2021-05-20 19:42:27 | [diff] [blame] | 158 | EXPECT_TRUE(state_tester.ExpectEnabled(kTestExtensionId)); |
| 159 | EXPECT_FALSE(blocklist_prefs::HasOmahaBlocklistState( |
| 160 | kTestExtensionId, BitMapBlocklistState::BLOCKLISTED_POTENTIALLY_UNWANTED, |
| 161 | prefs)); |
Xinghui Lu | 09c221f | 2021-06-12 02:43:41 | [diff] [blame] | 162 | histograms.ExpectBucketCount( |
| 163 | "Extensions.ExtensionReenabledRemotelyForPotentiallyUWS", |
| 164 | /*sample=*/1, |
| 165 | /*expected_count=*/1); |
| 166 | histograms.ExpectBucketCount( |
| 167 | "Extensions.ExtensionReenabledRemotelyForPolicyViolation", |
| 168 | /*sample=*/1, |
| 169 | /*expected_count=*/0); |
Xinghui Lu | bfcb30a | 2021-05-19 20:49:16 | [diff] [blame] | 170 | } |
| 171 | |
| 172 | TEST_F(OmahaAttributesHandlerUnitTest, MultipleGreylistStates) { |
| 173 | InitializeGoodInstalledExtensionService(); |
| 174 | service()->Init(); |
| 175 | |
Devlin Cronin | d025bf8 | 2021-05-20 19:42:27 | [diff] [blame] | 176 | ExtensionStateTester state_tester(profile()); |
Xinghui Lu | bfcb30a | 2021-05-19 20:49:16 | [diff] [blame] | 177 | |
Devlin Cronin | d025bf8 | 2021-05-20 19:42:27 | [diff] [blame] | 178 | EXPECT_TRUE(state_tester.ExpectEnabled(kTestExtensionId)); |
Xinghui Lu | bfcb30a | 2021-05-19 20:49:16 | [diff] [blame] | 179 | |
Avi Drissman | d2a736f | 2023-01-28 02:31:26 | [diff] [blame] | 180 | base::Value attributes(base::Value::Type::DICT); |
Xinghui Lu | bfcb30a | 2021-05-19 20:49:16 | [diff] [blame] | 181 | attributes.SetBoolKey("_policy_violation", true); |
| 182 | service()->PerformActionBasedOnOmahaAttributes(kTestExtensionId, attributes); |
| 183 | |
Devlin Cronin | d025bf8 | 2021-05-20 19:42:27 | [diff] [blame] | 184 | EXPECT_TRUE(state_tester.ExpectDisabledWithSingleReason( |
| 185 | kTestExtensionId, disable_reason::DISABLE_GREYLIST)); |
Xinghui Lu | bfcb30a | 2021-05-19 20:49:16 | [diff] [blame] | 186 | |
| 187 | // Now user enables kTestExtensionId. |
| 188 | service()->EnableExtension(kTestExtensionId); |
Devlin Cronin | d025bf8 | 2021-05-20 19:42:27 | [diff] [blame] | 189 | EXPECT_TRUE(state_tester.ExpectEnabled(kTestExtensionId)); |
Xinghui Lu | bfcb30a | 2021-05-19 20:49:16 | [diff] [blame] | 190 | |
| 191 | // Another greylist state is added to Omaha attribute. |
| 192 | attributes.SetBoolKey("_potentially_uws", true); |
| 193 | service()->PerformActionBasedOnOmahaAttributes(kTestExtensionId, attributes); |
| 194 | |
| 195 | // The extension should be disabled again. |
Devlin Cronin | d025bf8 | 2021-05-20 19:42:27 | [diff] [blame] | 196 | EXPECT_TRUE(state_tester.ExpectDisabledWithSingleReason( |
| 197 | kTestExtensionId, disable_reason::DISABLE_GREYLIST)); |
Xinghui Lu | bfcb30a | 2021-05-19 20:49:16 | [diff] [blame] | 198 | |
| 199 | // Remove extensions from the first greylist state. |
| 200 | attributes.SetBoolKey("_policy_violation", false); |
| 201 | service()->PerformActionBasedOnOmahaAttributes(kTestExtensionId, attributes); |
| 202 | |
| 203 | // The extension should still be disabled, because it is still in the |
| 204 | // potentially unwanted state. |
| 205 | ExtensionPrefs* prefs = ExtensionPrefs::Get(profile()); |
Devlin Cronin | d025bf8 | 2021-05-20 19:42:27 | [diff] [blame] | 206 | EXPECT_TRUE(state_tester.ExpectDisabledWithSingleReason( |
| 207 | kTestExtensionId, disable_reason::DISABLE_GREYLIST)); |
Xinghui Lu | bfcb30a | 2021-05-19 20:49:16 | [diff] [blame] | 208 | EXPECT_FALSE(blocklist_prefs::HasOmahaBlocklistState( |
| 209 | kTestExtensionId, BitMapBlocklistState::BLOCKLISTED_CWS_POLICY_VIOLATION, |
| 210 | prefs)); |
| 211 | EXPECT_TRUE(blocklist_prefs::HasOmahaBlocklistState( |
| 212 | kTestExtensionId, BitMapBlocklistState::BLOCKLISTED_POTENTIALLY_UNWANTED, |
| 213 | prefs)); |
Xinghui Lu | bfcb30a | 2021-05-19 20:49:16 | [diff] [blame] | 214 | |
| 215 | // Remove the other greylist state. |
| 216 | attributes.SetBoolKey("_potentially_uws", false); |
| 217 | service()->PerformActionBasedOnOmahaAttributes(kTestExtensionId, attributes); |
| 218 | |
| 219 | // The extension is re-enabled. |
Devlin Cronin | d025bf8 | 2021-05-20 19:42:27 | [diff] [blame] | 220 | EXPECT_TRUE(state_tester.ExpectEnabled(kTestExtensionId)); |
Xinghui Lu | bfcb30a | 2021-05-19 20:49:16 | [diff] [blame] | 221 | EXPECT_FALSE(blocklist_prefs::HasOmahaBlocklistState( |
| 222 | kTestExtensionId, BitMapBlocklistState::BLOCKLISTED_POTENTIALLY_UNWANTED, |
| 223 | prefs)); |
Xinghui Lu | bfcb30a | 2021-05-19 20:49:16 | [diff] [blame] | 224 | } |
| 225 | |
Xinghui Lu | 778ea58 | 2021-05-18 23:47:31 | [diff] [blame] | 226 | TEST_F(OmahaAttributesHandlerUnitTest, KeepDisabledWhenMalwareRemoved) { |
| 227 | InitializeGoodInstalledExtensionService(); |
| 228 | service()->Init(); |
| 229 | |
Devlin Cronin | d025bf8 | 2021-05-20 19:42:27 | [diff] [blame] | 230 | ExtensionStateTester state_tester(profile()); |
| 231 | EXPECT_TRUE(state_tester.ExpectEnabled(kTestExtensionId)); |
Xinghui Lu | 778ea58 | 2021-05-18 23:47:31 | [diff] [blame] | 232 | |
Avi Drissman | d2a736f | 2023-01-28 02:31:26 | [diff] [blame] | 233 | base::Value attributes(base::Value::Type::DICT); |
Xinghui Lu | 778ea58 | 2021-05-18 23:47:31 | [diff] [blame] | 234 | attributes.SetBoolKey("_malware", true); |
| 235 | attributes.SetBoolKey("_policy_violation", true); |
| 236 | service()->PerformActionBasedOnOmahaAttributes(kTestExtensionId, attributes); |
| 237 | |
| 238 | ExtensionPrefs* prefs = ExtensionPrefs::Get(profile()); |
Devlin Cronin | d025bf8 | 2021-05-20 19:42:27 | [diff] [blame] | 239 | EXPECT_TRUE(state_tester.ExpectBlocklisted(kTestExtensionId)); |
Xinghui Lu | 7e27722 | 2021-10-12 20:25:10 | [diff] [blame] | 240 | EXPECT_TRUE(blocklist_prefs::HasOmahaBlocklistState( |
| 241 | kTestExtensionId, BitMapBlocklistState::BLOCKLISTED_MALWARE, prefs)); |
| 242 | EXPECT_EQ(disable_reason::DISABLE_GREYLIST, |
Xinghui Lu | 778ea58 | 2021-05-18 23:47:31 | [diff] [blame] | 243 | prefs->GetDisableReasons(kTestExtensionId)); |
| 244 | |
| 245 | // Remove malware. |
| 246 | attributes.SetBoolKey("_malware", false); |
| 247 | service()->PerformActionBasedOnOmahaAttributes(kTestExtensionId, attributes); |
| 248 | |
| 249 | // The extension is not enabled because the policy violation bit is not |
Devlin Cronin | d025bf8 | 2021-05-20 19:42:27 | [diff] [blame] | 250 | // cleared, but it is no longer blocklisted (instead just disabled). |
| 251 | EXPECT_TRUE(state_tester.ExpectDisabledWithSingleReason( |
| 252 | kTestExtensionId, disable_reason::DISABLE_GREYLIST)); |
Xinghui Lu | 778ea58 | 2021-05-18 23:47:31 | [diff] [blame] | 253 | } |
| 254 | |
Xinghui Lu | 4819431 | 2022-06-01 01:30:52 | [diff] [blame] | 255 | TEST_F(OmahaAttributesHandlerUnitTest, ExtensionUninstalledBeforeNotified) { |
| 256 | InitializeGoodInstalledExtensionService(); |
| 257 | service()->Init(); |
| 258 | |
| 259 | ExtensionStateTester state_tester(profile()); |
| 260 | |
| 261 | EXPECT_TRUE(state_tester.ExpectEnabled(kTestExtensionId)); |
| 262 | |
| 263 | service()->UninstallExtension(kTestExtensionId, UNINSTALL_REASON_FOR_TESTING, |
| 264 | nullptr); |
| 265 | |
Avi Drissman | d2a736f | 2023-01-28 02:31:26 | [diff] [blame] | 266 | base::Value attributes(base::Value::Type::DICT); |
Xinghui Lu | 4819431 | 2022-06-01 01:30:52 | [diff] [blame] | 267 | attributes.SetBoolKey("_malware", true); |
| 268 | // kTestExtensionId is already uninstalled. Performing action on it should |
| 269 | // not crash. Regression test for https://crbug.com/1305490. |
| 270 | service()->PerformActionBasedOnOmahaAttributes(kTestExtensionId, attributes); |
| 271 | } |
| 272 | |
Xinghui Lu | 259be4d | 2021-04-21 20:03:35 | [diff] [blame] | 273 | } // namespace extensions |