Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1715)

Unified Diff: chrome/browser/extensions/api/declarative/initializing_rules_registry.h

Issue 9380051: Coverity: Fix a few pass-by-values. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Revert printing. Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/move.h ('k') | chrome/browser/extensions/api/declarative/initializing_rules_registry.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « base/move.h ('k') | chrome/browser/extensions/api/declarative/initializing_rules_registry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698