diff options
author | marja@chromium.org <marja@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-14 17:56:39 +0000 |
---|---|---|
committer | marja@chromium.org <marja@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-14 17:56:39 +0000 |
commit | 9c65ad7d4c211e352e5db57e4ab38042d6e7af15 (patch) | |
tree | 5737a2d3660d85862675c85fe0ea28945caa09c7 /chrome/browser/ui/browser_init.h | |
parent | 79d7a042a94dd6bd02acd02d9d6fef8238eab654 (diff) | |
download | chromium_src-9c65ad7d4c211e352e5db57e4ab38042d6e7af15.zip chromium_src-9c65ad7d4c211e352e5db57e4ab38042d6e7af15.tar.gz chromium_src-9c65ad7d4c211e352e5db57e4ab38042d6e7af15.tar.bz2 |
Revert 114441 - Follow-up changes to http://codereview.chromium.org/8937001
Adding tests + minor code cleanup.
BUG=NONE
TEST=BrowserListTest.AttemptRestart, BrowserInitTest.ReadingWasRestartAfter(Restart|NormalStart)
Review URL: http://codereview.chromium.org/8929027
TBR=marja@chromium.org
Review URL: http://codereview.chromium.org/8916006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114452 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/browser_init.h')
-rw-r--r-- | chrome/browser/ui/browser_init.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/ui/browser_init.h b/chrome/browser/ui/browser_init.h index 9e2ebfc..84b1973 100644 --- a/chrome/browser/ui/browser_init.h +++ b/chrome/browser/ui/browser_init.h @@ -255,6 +255,11 @@ class BrowserInit { // Additional tabs to open during first run. std::vector<GURL> first_run_tabs_; + // Stores the value of the preference kWasRestarted had when it was read. + static bool was_restarted_; + // True if we have already read and reset the preference kWasRestarted. + static bool was_restarted_read_; + DISALLOW_COPY_AND_ASSIGN(BrowserInit); }; |