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

Unified Diff: components/sync_driver/tab_node_pool.h

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: components/sync_driver/tab_node_pool.h
diff --git a/components/sync_driver/tab_node_pool.h b/components/sync_driver/tab_node_pool.h
index 8d35a79505b022f8fb6d7fa4c8964525ad7fac6f..33cd77a22e810026cfa76ddb8047d0ff447f804f 100644
--- a/components/sync_driver/tab_node_pool.h
+++ b/components/sync_driver/tab_node_pool.h
@@ -56,7 +56,7 @@ class TabNodePool {
static const int kInvalidTabNodeID;
// Build a sync tag from tab_node_id.
- static std::string TabIdToTag(const std::string machine_tag,
+ static std::string TabIdToTag(const std::string& machine_tag,
int tab_node_id);
// Returns the tab_node_id for the next free tab node. If none are available,

Powered by Google App Engine
This is Rietveld 408576698