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

Unified Diff: ios/crnet/crnet_environment.h

Issue 1354353003: Cleanup: Pass std::string as const reference from ios/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « ios/chrome/common/string_util.mm ('k') | ios/crnet/crnet_environment.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/crnet/crnet_environment.h
diff --git a/ios/crnet/crnet_environment.h b/ios/crnet/crnet_environment.h
index b007fbbde86f27a94c8924d45549bb75b852f86b..71afb17aa449b79a0fe0f68535b6a9c811884b92 100644
--- a/ios/crnet/crnet_environment.h
+++ b/ios/crnet/crnet_environment.h
@@ -36,7 +36,7 @@ class CrNetEnvironment {
static void Initialize();
// |user_agent_product_name| will be used to generate the user-agent.
- CrNetEnvironment(std::string user_agent_product_name);
+ CrNetEnvironment(const std::string& user_agent_product_name);
~CrNetEnvironment();
// Installs this CrNet environment so requests are intercepted.
« no previous file with comments | « ios/chrome/common/string_util.mm ('k') | ios/crnet/crnet_environment.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698