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

Unified Diff: chrome/browser/chrome_browser_main_posix.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
« no previous file with comments | « no previous file | chrome/browser/extensions/state_store_notification_observer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_browser_main_posix.cc
diff --git a/chrome/browser/chrome_browser_main_posix.cc b/chrome/browser/chrome_browser_main_posix.cc
index 2f2462bccacab3526cbe3d9d62870ed7862cfa58..4ae63979aa6f1a00e05e643507f56ebf9555fc7a 100644
--- a/chrome/browser/chrome_browser_main_posix.cc
+++ b/chrome/browser/chrome_browser_main_posix.cc
@@ -96,7 +96,7 @@ class ExitHandler {
~ExitHandler();
// Called when a session restore has finished.
- void OnSessionRestoreDone();
+ void OnSessionRestoreDone(int num_tabs_restored);
// Does the appropriate call to Exit.
static void Exit();
@@ -133,7 +133,7 @@ ExitHandler::ExitHandler() {
ExitHandler::~ExitHandler() {
}
-void ExitHandler::OnSessionRestoreDone() {
+void ExitHandler::OnSessionRestoreDone(int /* num_tabs */) {
if (!SessionRestore::IsRestoringSynchronously()) {
// At this point the message loop may not be running (meaning we haven't
// gotten through browser startup, but are close). Post the task to at which
« no previous file with comments | « no previous file | chrome/browser/extensions/state_store_notification_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698