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

Unified Diff: chrome_frame/urlmon_url_request_private.h

Issue 8555001: base::Bind: Convert chrome_frame/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Bad merge. Created 9 years, 1 month 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: chrome_frame/urlmon_url_request_private.h
diff --git a/chrome_frame/urlmon_url_request_private.h b/chrome_frame/urlmon_url_request_private.h
index b4075b578ef8e7a4fa17ae983c687a726c2b0794..309e81c23aa9a89d3623628ede98183b50bb105d 100644
--- a/chrome_frame/urlmon_url_request_private.h
+++ b/chrome_frame/urlmon_url_request_private.h
@@ -39,9 +39,9 @@ class UrlmonUrlRequest
// Used from "DownloadRequestInHost".
// Callback will be invoked either right away (if operation is finished) or
// from inside ::OnStopBinding() when it is safe to reuse the bind_context.
- typedef Callback4<IMoniker*, IBindCtx*, IStream*, const char*>::Type
+ typedef base::Callback<void(IMoniker*, IBindCtx*, IStream*, const char*)>
TerminateBindCallback;
- void TerminateBind(TerminateBindCallback* callback);
+ void TerminateBind(const TerminateBindCallback& callback);
// Parent Window for UrlMon error dialogs
void set_parent_window(HWND parent_window) {
@@ -246,7 +246,7 @@ class UrlmonUrlRequest
// Set to true if the ChromeFrame instance is running in privileged mode.
bool privileged_mode_;
bool pending_;
- scoped_ptr<TerminateBindCallback> terminate_bind_callback_;
+ TerminateBindCallback terminate_bind_callback_;
std::string response_headers_;
// Defaults to true and indicates whether we want to keep the original
// transaction alive when we receive the last data notification from
« chrome_frame/test/infobar_unittests.cc ('K') | « chrome_frame/urlmon_url_request.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698