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

Side by Side Diff: chrome_elf/dll_hash/dll_hash.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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_ELF_DLL_HASH_DLL_HASH_H_ 5 #ifndef CHROME_ELF_DLL_HASH_DLL_HASH_H_
6 #define CHROME_ELF_DLL_HASH_DLL_HASH_H_ 6 #define CHROME_ELF_DLL_HASH_DLL_HASH_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 // Convert a dll name to a hash that can be sent via UMA. 10 // Convert a dll name to a hash that can be sent via UMA.
11 int DllNameToHash(std::string dll_name); 11 int DllNameToHash(const std::string& dll_name);
12 12
13 #endif // CHROME_ELF_DLL_HASH_DLL_HASH_H_ 13 #endif // CHROME_ELF_DLL_HASH_DLL_HASH_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698