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

Unified Diff: chromeos/dbus/fake_shill_manager_client.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/dbus/fake_shill_manager_client.h
diff --git a/chromeos/dbus/fake_shill_manager_client.h b/chromeos/dbus/fake_shill_manager_client.h
index 313a2d43e58e523a7cef3b1f2696c796039399da..5e142ed0d42d9eacd00ed44e3c685a0721b65c35 100644
--- a/chromeos/dbus/fake_shill_manager_client.h
+++ b/chromeos/dbus/fake_shill_manager_client.h
@@ -126,7 +126,8 @@ class CHROMEOS_EXPORT FakeShillManagerClient
// {wifi,cellular,etc}={on,off,disabled,none} - sets initial state for type
void ParseCommandLineSwitch();
bool ParseOption(const std::string& arg0, const std::string& arg1);
- bool SetInitialNetworkState(std::string type_arg, std::string state_arg);
+ bool SetInitialNetworkState(const std::string& type_arg,
+ const std::string& state_arg);
std::string GetInitialStateForType(const std::string& type,
bool* enabled);

Powered by Google App Engine
This is Rietveld 408576698