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

Unified Diff: chrome/browser/chromeos/drive/file_system_util.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: chrome/browser/chromeos/drive/file_system_util.cc
diff --git a/chrome/browser/chromeos/drive/file_system_util.cc b/chrome/browser/chromeos/drive/file_system_util.cc
index 1e661d2940542951aa3633ba706e1a4530987720..adb80d28d293206d76c7aad582528fabdbe35e1d 100644
--- a/chrome/browser/chromeos/drive/file_system_util.cc
+++ b/chrome/browser/chromeos/drive/file_system_util.cc
@@ -80,7 +80,7 @@ base::FilePath GetDriveMountPointPath(Profile* profile) {
}
base::FilePath GetDriveMountPointPathForUserIdHash(
- const std::string user_id_hash) {
+ const std::string& user_id_hash) {
static const base::FilePath::CharType kSpecialMountPointRoot[] =
FILE_PATH_LITERAL("/special");
static const char kDriveMountPointNameBase[] = "drive";

Powered by Google App Engine
This is Rietveld 408576698