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

Unified Diff: components/sync_driver/tab_node_pool.h

Issue 1355983002: Cleanup: Pass std::string as const reference from components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert to PS2 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
« no previous file with comments | « components/sync_driver/device_info.cc ('k') | components/sync_driver/tab_node_pool.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 f908b8a9bdd7b6e282066cc5098ff323243fc5fb..6cb6a93b786530c434bb6954f48e2d5a29976fb0 100644
--- a/components/sync_driver/tab_node_pool.h
+++ b/components/sync_driver/tab_node_pool.h
@@ -55,7 +55,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,
« no previous file with comments | « components/sync_driver/device_info.cc ('k') | components/sync_driver/tab_node_pool.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698