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

Unified Diff: chromeos/network/shill_property_util.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: chromeos/network/shill_property_util.h
diff --git a/chromeos/network/shill_property_util.h b/chromeos/network/shill_property_util.h
index cc9da9c24377dbe0f6e1ba028d8cca709c4c7f73..f585da4086e12a27f01ed032df9cac1755a3e6a8 100644
--- a/chromeos/network/shill_property_util.h
+++ b/chromeos/network/shill_property_util.h
@@ -22,7 +22,7 @@ class NetworkUIData;
namespace shill_property_util {
// Sets the |ssid| in |properties|.
-CHROMEOS_EXPORT void SetSSID(const std::string ssid,
+CHROMEOS_EXPORT void SetSSID(const std::string& ssid,
base::DictionaryValue* properties);
// Returns the SSID from |properties| in UTF-8 encoding. If |verbose_logging| is

Powered by Google App Engine
This is Rietveld 408576698