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

Unified Diff: chrome_elf/dll_hash/dll_hash.h

Issue 1352793003: Cleanup: Pass std::string as const reference from chrome_elf/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « no previous file | chrome_elf/dll_hash/dll_hash.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_elf/dll_hash/dll_hash.h
diff --git a/chrome_elf/dll_hash/dll_hash.h b/chrome_elf/dll_hash/dll_hash.h
index 82bec8af1cd6c438349879ab0a0de8988f99390f..2cfca818eee2b468a87a4a8935841234eb4ec153 100644
--- a/chrome_elf/dll_hash/dll_hash.h
+++ b/chrome_elf/dll_hash/dll_hash.h
@@ -8,6 +8,6 @@
#include <string>
// Convert a dll name to a hash that can be sent via UMA.
-int DllNameToHash(std::string dll_name);
+int DllNameToHash(const std::string& dll_name);
#endif // CHROME_ELF_DLL_HASH_DLL_HASH_H_
« no previous file with comments | « no previous file | chrome_elf/dll_hash/dll_hash.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698