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

Unified Diff: chrome/browser/ui/ash/system_tray_delegate_chromeos_browsertest_chromeos.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/ui/ash/system_tray_delegate_chromeos_browsertest_chromeos.cc
diff --git a/chrome/browser/ui/ash/system_tray_delegate_chromeos_browsertest_chromeos.cc b/chrome/browser/ui/ash/system_tray_delegate_chromeos_browsertest_chromeos.cc
index 098238d8f5a465caa6df2c40c9954f04954b601c..47827b7423952cf358bf9644efaa38744237d115 100644
--- a/chrome/browser/ui/ash/system_tray_delegate_chromeos_browsertest_chromeos.cc
+++ b/chrome/browser/ui/ash/system_tray_delegate_chromeos_browsertest_chromeos.cc
@@ -83,7 +83,7 @@ class SystemTrayDelegateChromeOSTest : public LoginManagerTest {
~SystemTrayDelegateChromeOSTest() override {}
- void SetupUserProfile(std::string user_name, bool use_24_hour_clock) {
+ void SetupUserProfile(const std::string& user_name, bool use_24_hour_clock) {
const user_manager::User* user =
user_manager::UserManager::Get()->FindUser(user_name);
Profile* profile = ProfileHelper::Get()->GetProfileByUser(user);

Powered by Google App Engine
This is Rietveld 408576698