Cleanup: Pass std::string as const reference from extensions/
commit4fc405185a586d3caaa51ea0d1e74ce2d8eb3b0b
authorki.stfu <ki.stfu@gmail.com>
Mon, 21 Sep 2015 06:55:01 +0000 (20 23:55 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 21 Sep 2015 06:55:38 +0000 (21 06:55 +0000)
treed95d4f9c8dcf219ddfc1b71377e0f4679fefc237
parent2872125ae4b06571fd11018df77e1d3a2c5295ca
Cleanup: Pass std::string as const reference from extensions/

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

BUG=367418
TEST=
R=reillyg@chromium.org,asargent@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#349905}
extensions/browser/api/declarative/rules_registry_service.h
extensions/browser/api/networking_config/networking_config_service.cc
extensions/browser/api/networking_config/networking_config_service.h
extensions/browser/guest_view/web_view/web_view_renderer_state.h
extensions/common/manifest_test.cc
extensions/common/manifest_test.h