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

Unified Diff: chrome/browser/ui/browser_init.h

Issue 8937001: Fixes for the kWasRestarted pref. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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 | « chrome/browser/ui/browser.cc ('k') | chrome/browser/ui/browser_init.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser_init.h
diff --git a/chrome/browser/ui/browser_init.h b/chrome/browser/ui/browser_init.h
index 30314739ad203aafb145d1502a0b68b97cc7b56b..f1ef101e656f3205060794ca4d66150a21545a96 100644
--- a/chrome/browser/ui/browser_init.h
+++ b/chrome/browser/ui/browser_init.h
@@ -74,6 +74,8 @@ class BrowserInit {
IsFirstRun is_first_run,
int* return_code);
+ static bool was_restarted();
Finnur 2011/12/13 10:53:04 Document this one. Specifically, it should be made
marja 2011/12/13 11:09:10 Done.
+
// LaunchWithProfile ---------------------------------------------------------
//
// Assists launching the application and appending the initial tabs for a
@@ -250,6 +252,9 @@ class BrowserInit {
// Additional tabs to open during first run.
std::vector<GURL> first_run_tabs_;
+ static bool was_restarted_read_;
Miranda Callahan 2011/12/13 10:59:16 could you add a comment here to explain the differ
marja 2011/12/13 11:09:10 Done.
+ static bool was_restarted_;
+
DISALLOW_COPY_AND_ASSIGN(BrowserInit);
};
« no previous file with comments | « chrome/browser/ui/browser.cc ('k') | chrome/browser/ui/browser_init.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698