summaryrefslogtreecommitdiffstats
path: root/extensions/browser/api/declarative/test_rules_registry.h
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/browser/api/declarative/test_rules_registry.h')
-rw-r--r--extensions/browser/api/declarative/test_rules_registry.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/extensions/browser/api/declarative/test_rules_registry.h b/extensions/browser/api/declarative/test_rules_registry.h
index 3d35c2b..d42877f 100644
--- a/extensions/browser/api/declarative/test_rules_registry.h
+++ b/extensions/browser/api/declarative/test_rules_registry.h
@@ -23,21 +23,20 @@ class TestRulesRegistry : public RulesRegistry {
const WebViewKey& webview_key);
// RulesRegistry implementation:
- virtual std::string AddRulesImpl(
+ std::string AddRulesImpl(
const std::string& extension_id,
- const std::vector<linked_ptr<RulesRegistry::Rule> >& rules) override;
- virtual std::string RemoveRulesImpl(
+ const std::vector<linked_ptr<RulesRegistry::Rule>>& rules) override;
+ std::string RemoveRulesImpl(
const std::string& extension_id,
const std::vector<std::string>& rule_identifiers) override;
- virtual std::string RemoveAllRulesImpl(
- const std::string& extension_id) override;
+ std::string RemoveAllRulesImpl(const std::string& extension_id) override;
// Sets the result message that will be returned by the next call of
// AddRulesImpl, RemoveRulesImpl and RemoveAllRulesImpl.
void SetResult(const std::string& result);
protected:
- virtual ~TestRulesRegistry();
+ ~TestRulesRegistry() override;
private:
// The string that gets returned by the implementation functions of