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

Unified Diff: chrome/browser/extensions/web_intent_callbacks.h

Issue 10911072: [Coverity] Pass-by-val -> pass-by-ref (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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 | « no previous file | chrome/browser/extensions/web_intent_callbacks.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/web_intent_callbacks.h
diff --git a/chrome/browser/extensions/web_intent_callbacks.h b/chrome/browser/extensions/web_intent_callbacks.h
index 600af43f572ad5974ecb87559bcc58782138da10..067d825d5a27cf442905e4a5f2aeda83bdd66575 100644
--- a/chrome/browser/extensions/web_intent_callbacks.h
+++ b/chrome/browser/extensions/web_intent_callbacks.h
@@ -68,7 +68,7 @@ class WebIntentCallbacks : public ProfileKeyedService {
// Private method to get and clear the dispatcher for the given string key.
// If there is no dispatcher available, this will return NULL. Otherwise, this
// transfers ownership of the WebIntentsDispatcher to the caller.
- content::WebIntentsDispatcher* GetAndClear(std::string key);
+ content::WebIntentsDispatcher* GetAndClear(const std::string& key);
class SourceObserver;
« no previous file with comments | « no previous file | chrome/browser/extensions/web_intent_callbacks.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698