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

Unified Diff: ash/test/test_session_state_delegate.cc

Issue 1352613004: Cleanup: Pass std::string as const reference from ash/ + minor coding style changes in base/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove const qualifier for int in function arguments 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
« no previous file with comments | « ash/test/test_session_state_delegate.h ('k') | base/logging.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/test/test_session_state_delegate.cc
diff --git a/ash/test/test_session_state_delegate.cc b/ash/test/test_session_state_delegate.cc
index a2b99c85521b6e4f2c5aab47eeff236d8d2d888d..426b750232eb8272bc3dee3c3369c35fa3c1841f 100644
--- a/ash/test/test_session_state_delegate.cc
+++ b/ash/test/test_session_state_delegate.cc
@@ -99,7 +99,7 @@ TestSessionStateDelegate::~TestSessionStateDelegate() {
STLDeleteElements(&user_list_);
}
-void TestSessionStateDelegate::AddUser(const std::string user_id) {
+void TestSessionStateDelegate::AddUser(const std::string& user_id) {
user_list_.push_back(new MockUserInfo(user_id));
}
« no previous file with comments | « ash/test/test_session_state_delegate.h ('k') | base/logging.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698