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

Unified Diff: base/file_util_proxy.h

Issue 9148018: [Coverity] Fixed call by value to by reference (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 11 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 | content/browser/renderer_host/redirect_to_file_resource_handler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/file_util_proxy.h
diff --git a/base/file_util_proxy.h b/base/file_util_proxy.h
index 1cde1ceb07904c8e69ffe9d13837dbd81bf6d60b..267ffd5c36334d30fe1d7b1ffc0eb12b767886db 100644
--- a/base/file_util_proxy.h
+++ b/base/file_util_proxy.h
@@ -41,7 +41,7 @@ class BASE_EXPORT FileUtilProxy {
bool /* created */)> CreateOrOpenCallback;
typedef Callback<void(PlatformFileError,
PassPlatformFile,
- FilePath)> CreateTemporaryCallback;
+ const FilePath&)> CreateTemporaryCallback;
typedef Callback<void(PlatformFileError,
const PlatformFileInfo&
)> GetFileInfoCallback;
« no previous file with comments | « no previous file | content/browser/renderer_host/redirect_to_file_resource_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698