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

Unified Diff: net/http/partial_data.h

Issue 8990001: base::Bind: Convert most of net/http. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Clang. Created 9 years 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: net/http/partial_data.h
diff --git a/net/http/partial_data.h b/net/http/partial_data.h
index b996b985bf32185fa8577ccc080b1ff2e16ec322..442bbb710e18e1456d93473d53fcea9951a8078e 100644
--- a/net/http/partial_data.h
+++ b/net/http/partial_data.h
@@ -55,7 +55,7 @@ class PartialData {
// error code. If this method returns ERR_IO_PENDING, the |callback| will be
// notified when the result is ready.
int ShouldValidateCache(disk_cache::Entry* entry,
- OldCompletionCallback* callback);
+ const CompletionCallback& callback);
// Builds the required |headers| to perform the proper cache validation for
// the next range to be fetched.
@@ -136,7 +136,7 @@ class PartialData {
bool truncated_; // We have an incomplete 200 stored.
bool initial_validation_; // Only used for truncated entries.
Core* core_;
- OldCompletionCallback* callback_;
+ CompletionCallback callback_;
DISALLOW_COPY_AND_ASSIGN(PartialData);
};

Powered by Google App Engine
This is Rietveld 408576698