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

Unified Diff: ash/test/test_session_state_delegate.h

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/system/bluetooth/tray_bluetooth.cc ('k') | ash/test/test_session_state_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/test/test_session_state_delegate.h
diff --git a/ash/test/test_session_state_delegate.h b/ash/test/test_session_state_delegate.h
index 09fb786c21bfd49a05234b8e1e9885a15080f7d9..64b3c821e9eae7208a06a3ff6deb5fccdde59a3c 100644
--- a/ash/test/test_session_state_delegate.h
+++ b/ash/test/test_session_state_delegate.h
@@ -27,7 +27,7 @@ class TestSessionStateDelegate : public SessionStateDelegate {
void set_session_state(SessionState session_state) {
session_state_ = session_state;
}
- void AddUser(const std::string user_id);
+ void AddUser(const std::string& user_id);
const user_manager::UserInfo* GetActiveUserInfo() const;
// SessionStateDelegate:
« no previous file with comments | « ash/system/bluetooth/tray_bluetooth.cc ('k') | ash/test/test_session_state_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698