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

Unified Diff: media/cast/test/utility/input_builder.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: media/cast/test/utility/input_builder.h
diff --git a/media/cast/test/utility/input_builder.h b/media/cast/test/utility/input_builder.h
index 4eb4ae52839d812300af36809d58ca1901183cc6..f8ec4d7e0289c0831777b4c0eafd4e292ac4924f 100644
--- a/media/cast/test/utility/input_builder.h
+++ b/media/cast/test/utility/input_builder.h
@@ -33,7 +33,7 @@ class InputBuilder {
int GetIntInput() const;
private:
- bool ValidateInput(const std::string input) const;
+ bool ValidateInput(const std::string& input) const;
const std::string title_;
const std::string default_value_;
« no previous file with comments | « media/cast/test/sender.cc ('k') | media/cast/test/utility/input_builder.cc » ('j') | url/gurl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698