Cleanup: Pass std::string as const reference from sync/
commit063ac230c8e9dfeb19d85afcb9d240a0008763aa
authorki.stfu <ki.stfu@gmail.com>
Tue, 22 Sep 2015 07:55:25 +0000 (22 00:55 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 22 Sep 2015 07:56:14 +0000 (22 07:56 +0000)
tree0072458bcc2c8b62917b55530361137911408a54
parentf6ec8ed9184e75502fff67325e9fd03aed61aec4
Cleanup: Pass std::string as const reference from sync/

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

BUG=367418
TEST=
R=pavely@chromium.org,stanisc@chromium.org,zea@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#350126}
15 files changed:
chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc
sync/internal_api/public/sync_manager_factory.h
sync/internal_api/public/test/sync_manager_factory_for_profile_sync_test.h
sync/internal_api/sync_encryption_handler_impl_unittest.cc
sync/internal_api/sync_manager_factory.cc
sync/internal_api/test/sync_manager_factory_for_profile_sync_test.cc
sync/test/engine/mock_connection_manager.cc
sync/test/engine/mock_connection_manager.h
sync/test/engine/test_id_factory.h
sync/test/fake_server/bookmark_entity.cc
sync/test/fake_server/bookmark_entity.h
sync/test/fake_server/fake_server_entity.cc
sync/test/fake_server/fake_server_entity.h
sync/util/cryptographer.cc
sync/util/cryptographer.h