Cleanup: Pass std::string as const reference from ios/
commit7bc15415b97bcbf4a6115c7cbe870acb4e45b8fb
authorki.stfu <ki.stfu@gmail.com>
Mon, 21 Sep 2015 07:24:13 +0000 (21 00:24 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 21 Sep 2015 07:24:45 +0000 (21 07:24 +0000)
treeb139283a440ee520cdb402abd1fcabe21bfb06f4
parentb7042f2834057fad123f7f059831add223ff2cee
Cleanup: Pass std::string as const reference from ios/

Passing std::string by reference can prevent extra copying of object.

BUG=367418
TEST=
R=droger@chromium.org,rohitrao@chromium.org

Review URL: https://codereview.chromium.org/1354353003

Cr-Commit-Position: refs/heads/master@{#349910}
ios/chrome/common/string_util.h
ios/chrome/common/string_util.mm
ios/crnet/crnet_environment.h
ios/crnet/crnet_environment.mm
ios/web/navigation/crw_session_controller_unittest.mm