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 |