summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sync/profile_sync_service_harness.cc
diff options
context:
space:
mode:
authorjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-28 18:49:58 +0000
committerjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-28 18:49:58 +0000
commit3a1275d5f449608b95f131d693c2e9b2f9d10a2a (patch)
treead166bd5a1987958a250bce3f3fbbfa9f14d415d /chrome/browser/sync/profile_sync_service_harness.cc
parentaa3250ce8045286f822ca88f05eb072e823e985d (diff)
downloadchromium_src-3a1275d5f449608b95f131d693c2e9b2f9d10a2a.zip
chromium_src-3a1275d5f449608b95f131d693c2e9b2f9d10a2a.tar.gz
chromium_src-3a1275d5f449608b95f131d693c2e9b2f9d10a2a.tar.bz2
Coverity: Pass parameters by reference.
CID=12947,13008,13087,13144,13280,13479,13480,13574,13575,13576,13580,13594, 13595,14186,14351 BUG=none TEST=none R=csilv@chromium.org Review URL: http://codereview.chromium.org/6733043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79595 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/sync/profile_sync_service_harness.cc')
-rw-r--r--chrome/browser/sync/profile_sync_service_harness.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/sync/profile_sync_service_harness.cc b/chrome/browser/sync/profile_sync_service_harness.cc
index fe3454f..989f6a9 100644
--- a/chrome/browser/sync/profile_sync_service_harness.cc
+++ b/chrome/browser/sync/profile_sync_service_harness.cc
@@ -580,7 +580,7 @@ std::string ProfileSyncServiceHarness::GetUpdatedTimestamp(
return snap->download_progress_markers[model_type];
}
-void ProfileSyncServiceHarness::LogClientInfo(std::string message) {
+void ProfileSyncServiceHarness::LogClientInfo(const std::string& message) {
if (service()) {
const SyncSessionSnapshot* snap = GetLastSessionSnapshot();
if (snap) {