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

Unified Diff: chrome/browser/extensions/state_store_notification_observer.cc

Issue 902613003: Record the number of tabs in a session restore in SampledProfile (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add more detailed description of meaning of num tabs, given by sky Created 5 years, 10 months 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/browser/extensions/state_store_notification_observer.cc
diff --git a/chrome/browser/extensions/state_store_notification_observer.cc b/chrome/browser/extensions/state_store_notification_observer.cc
index 3865fb4fbf5953070fef97f1ecc2265902f09052..8af0541c72c07740b958cfd774bed8a429944a67 100644
--- a/chrome/browser/extensions/state_store_notification_observer.cc
+++ b/chrome/browser/extensions/state_store_notification_observer.cc
@@ -23,7 +23,8 @@ StateStoreNotificationObserver::StateStoreNotificationObserver(
StateStoreNotificationObserver::~StateStoreNotificationObserver() {
}
-void StateStoreNotificationObserver::OnSessionRestoreDone() {
+void StateStoreNotificationObserver::OnSessionRestoreDone(
+ int /* num_tabs_restored */) {
on_session_restored_callback_subscription_.reset();
state_store_->RequestInitAfterDelay();
}
« no previous file with comments | « chrome/browser/extensions/state_store_notification_observer.h ('k') | chrome/browser/metrics/perf_provider_chromeos.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698