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

Unified Diff: chrome/browser/chromeos/drive/file_system_util.cc

Issue 1358783002: Cleanup: Pass std::string as const reference from chrome/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase against ToT 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";
« no previous file with comments | « chrome/browser/chromeos/drive/file_system_util.h ('k') | chrome/browser/chromeos/input_method/input_method_manager_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698