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

Unified Diff: net/disk_cache/simple/simple_synchronous_entry.h

Issue 13757005: Add comments to SimpleSynchronousEntry callbacks. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: name arguments Created 7 years, 8 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/disk_cache/simple/simple_synchronous_entry.h
diff --git a/net/disk_cache/simple/simple_synchronous_entry.h b/net/disk_cache/simple/simple_synchronous_entry.h
index 870b69733e486e907821407d4b675b898fb22670..4503a9f69e181f91e13e16223a218667eced2dec 100644
--- a/net/disk_cache/simple/simple_synchronous_entry.h
+++ b/net/disk_cache/simple/simple_synchronous_entry.h
@@ -35,12 +35,12 @@ class SimpleSynchronousEntry {
// objects, for instance after OpenEntry() or CreateEntry(). |new_entry| is
// the newly created SimpleSynchronousEntry, constructed on the worker pool
// thread. |new_entry| == NULL in the case of error.
- typedef base::Callback<void(SimpleSynchronousEntry* /* new_entry */)>
+ typedef base::Callback<void(SimpleSynchronousEntry* new_entry)>
SynchronousCreationCallback;
// Callback type for IO operations on an entry not requiring special callback
// arguments (e.g. Write). |result| is a net::Error result code.
- typedef base::Callback<void(int /* result */)> SynchronousOperationCallback;
+ typedef base::Callback<void(int result)> SynchronousOperationCallback;
static void OpenEntry(
const base::FilePath& path,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698