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

Unified Diff: chrome/browser/safe_browsing/client_side_detection_service_unittest.cc

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_detection_service_unittest.cc
diff --git a/chrome/browser/safe_browsing/client_side_detection_service_unittest.cc b/chrome/browser/safe_browsing/client_side_detection_service_unittest.cc
index 883aecf6bd06125681fe579370f8e03888dd4745..ca40838f2cb28fb7531dcccf9f0fe2dabb3d819c 100644
--- a/chrome/browser/safe_browsing/client_side_detection_service_unittest.cc
+++ b/chrome/browser/safe_browsing/client_side_detection_service_unittest.cc
@@ -38,7 +38,7 @@ namespace {
class MockModelLoader : public ModelLoader {
public:
- explicit MockModelLoader(const std::string model_name)
+ explicit MockModelLoader(const std::string& model_name)
: ModelLoader(base::Closure(), model_name) {}
~MockModelLoader() override {}

Powered by Google App Engine
This is Rietveld 408576698