Index: chrome/browser/extensions/api/declarative/initializing_rules_registry.h |
diff --git a/chrome/browser/extensions/api/declarative/initializing_rules_registry.h b/chrome/browser/extensions/api/declarative/initializing_rules_registry.h |
index 5bb01cf412bde40cf3c8d15b5a5688fbe0ddad4d..0550978d780b13a2d9f2a8d2af9286872b7884fc 100644 |
--- a/chrome/browser/extensions/api/declarative/initializing_rules_registry.h |
+++ b/chrome/browser/extensions/api/declarative/initializing_rules_registry.h |
@@ -51,7 +51,7 @@ class InitializingRulesRegistry : public RulesRegistry { |
const std::string& rule_id) const; |
// Creates an ID that is unique within the scope of|extension_id|. |
- std::string GenerateUniqueId(std::string extension_id); |
+ std::string GenerateUniqueId(const std::string& extension_id); |
// Verifies that all |rules| have unique IDs or initializes them with |
// unique IDs if they don't have one. In case of duplicate IDs, this function |