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

Unified Diff: chrome/browser/safe_browsing/client_side_model_loader.h

Issue 1349783006: Cleanup: Pass std::string as const reference if possible (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert third_party changes Created 5 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
Index: chrome/browser/safe_browsing/client_side_model_loader.h
diff --git a/chrome/browser/safe_browsing/client_side_model_loader.h b/chrome/browser/safe_browsing/client_side_model_loader.h
index 5a0c1b2439908de280e68e7c5d696e6ee1957b4c..c0dbbd80b6d51ad684b8dbcd7ef920c5eb90add5 100644
--- a/chrome/browser/safe_browsing/client_side_model_loader.h
+++ b/chrome/browser/safe_browsing/client_side_model_loader.h
@@ -83,7 +83,7 @@ class ModelLoader : public net::URLFetcherDelegate {
};
// For testing only.
- ModelLoader(base::Closure update_renderers, const std::string model_name);
+ ModelLoader(base::Closure update_renderers, const std::string& model_name);
// This is called periodically to check whether a new client model is
// available for download.

Powered by Google App Engine
This is Rietveld 408576698