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

Unified Diff: components/signin/core/common/profile_management_switches.cc

Issue 1355983002: Cleanup: Pass std::string as const reference from components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert to PS2 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: components/signin/core/common/profile_management_switches.cc
diff --git a/components/signin/core/common/profile_management_switches.cc b/components/signin/core/common/profile_management_switches.cc
index 6d58837d6524fffdfd513194ed88e1a5fb44aeb4..768ae5cd9fec8e314c39382bd4f05c56eab05171 100644
--- a/components/signin/core/common/profile_management_switches.cc
+++ b/components/signin/core/common/profile_management_switches.cc
@@ -106,7 +106,7 @@ State GetProcessState() {
return state;
}
-bool CheckFlag(std::string command_switch, State min_state) {
+bool CheckFlag(const std::string& command_switch, State min_state) {
// Individiual flag settings take precedence.
if (base::CommandLine::ForCurrentProcess()->HasSwitch(command_switch))
return true;
« no previous file with comments | « components/signin/core/browser/account_tracker_service_unittest.cc ('k') | components/sync_driver/device_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698