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

Unified Diff: sync/internal_api/test/sync_manager_factory_for_profile_sync_test.cc

Issue 1349783006: Cleanup: Pass std::string as const reference if possible (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert third_party changes 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
Index: sync/internal_api/test/sync_manager_factory_for_profile_sync_test.cc
diff --git a/sync/internal_api/test/sync_manager_factory_for_profile_sync_test.cc b/sync/internal_api/test/sync_manager_factory_for_profile_sync_test.cc
index 7c3e643dd5423950ae580f3b3d08d12f59e729ae..ff72bcd3688b943d028cce2e4562e002ebf925aa 100644
--- a/sync/internal_api/test/sync_manager_factory_for_profile_sync_test.cc
+++ b/sync/internal_api/test/sync_manager_factory_for_profile_sync_test.cc
@@ -17,7 +17,8 @@ SyncManagerFactoryForProfileSyncTest::SyncManagerFactoryForProfileSyncTest(
SyncManagerFactoryForProfileSyncTest::~SyncManagerFactoryForProfileSyncTest() {}
scoped_ptr<syncer::SyncManager>
-SyncManagerFactoryForProfileSyncTest::CreateSyncManager(std::string name) {
+SyncManagerFactoryForProfileSyncTest::CreateSyncManager(
+ const std::string& name) {
return scoped_ptr<syncer::SyncManager>(
new SyncManagerForProfileSyncTest(
name,

Powered by Google App Engine
This is Rietveld 408576698