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

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: 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/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..61d454549d220c2bc0a513852dea10af63b89d49 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);
sky 2015/02/04 21:22:11 declaration and definition should both have names
Simon Que 2015/02/05 00:16:01 Done.
// 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

Powered by Google App Engine
This is Rietveld 408576698