Index: printing/printing_context.h |
diff --git a/printing/printing_context.h b/printing/printing_context.h |
index 5dbe70d02fe51dc4b8dc4f38acc6a787d1563e26..60ea0bec78362af97a222a989a7d044dc20f625f 100644 |
--- a/printing/printing_context.h |
+++ b/printing/printing_context.h |
@@ -8,7 +8,7 @@ |
#include <string> |
#include "base/basictypes.h" |
-#include "base/callback_old.h" |
+#include "base/callback.h" |
#include "base/string16.h" |
#include "printing/print_settings.h" |
#include "ui/gfx/native_widget_types.h" |
@@ -36,7 +36,7 @@ class PRINTING_EXPORT PrintingContext { |
// Callback of AskUserForSettings, used to notify the PrintJobWorker when |
// print settings are available. |
- typedef Callback1<Result>::Type PrintSettingsCallback; |
+ typedef base::Callback<void(Result)> PrintSettingsCallback; |
// Asks the user what printer and format should be used to print. Updates the |
// context with the select device settings. The result of the call is returned |
@@ -45,7 +45,7 @@ class PRINTING_EXPORT PrintingContext { |
virtual void AskUserForSettings(gfx::NativeView parent_view, |
int max_pages, |
bool has_selection, |
- PrintSettingsCallback* callback) = 0; |
+ const PrintSettingsCallback& callback) = 0; |
// Selects the user's default printer and format. Updates the context with the |
// default device settings. |