Index: chrome/browser/sessions/session_restore.h |
diff --git a/chrome/browser/sessions/session_restore.h b/chrome/browser/sessions/session_restore.h |
index f756f10a0e6ae9940f161e5a749bd4630f71a451..9d90d314d8f2a69621a889754fac6ac7b314b447 100644 |
--- a/chrome/browser/sessions/session_restore.h |
+++ b/chrome/browser/sessions/session_restore.h |
@@ -40,12 +40,12 @@ class SessionRestore { |
}; |
// Notification callback list. |
- using CallbackList = base::CallbackList<void(void)>; |
+ using CallbackList = base::CallbackList<void(int)>; |
// Used by objects calling RegisterOnSessionRestoredCallback() to de-register |
// themselves when they are destroyed. |
using CallbackSubscription = |
- scoped_ptr<base::CallbackList<void(void)>::Subscription>; |
+ scoped_ptr<base::CallbackList<void(int)>::Subscription>; |
// Restores the last session. |behavior| is a bitmask of Behaviors, see it |
// for details. If |browser| is non-null the tabs for the first window are |
@@ -94,7 +94,7 @@ class SessionRestore { |
// Register callbacks for session restore events. These callbacks are stored |
// in on_session_restored_callbacks_. |
sky
2015/02/04 21:22:11
You need to document what the int means.
Simon Que
2015/02/05 00:16:01
Done.
|
static CallbackSubscription RegisterOnSessionRestoredCallback( |
- const base::Closure& callback); |
+ const base::Callback<void(int)>& callback); |
// The max number of non-selected tabs SessionRestore loads when restoring |
// a session. A value of 0 indicates all tabs are loaded at once. |