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

Unified Diff: chrome/browser/chrome_browser_main.h

Issue 20483002: Merge 3 different ways of obtaining first run state into a single one. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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/chrome_browser_main.cc » ('j') | chrome/browser/chrome_browser_main.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_browser_main.h
diff --git a/chrome/browser/chrome_browser_main.h b/chrome/browser/chrome_browser_main.h
index 0e092e49ac9ea5126fd83bbc70b45690b576fb96..8eeeb67f5898ec2a30be7ffd76d2ae182ea50b38 100644
--- a/chrome/browser/chrome_browser_main.h
+++ b/chrome/browser/chrome_browser_main.h
@@ -101,7 +101,7 @@ class ChromeBrowserMainParts : public content::BrowserMainParts {
}
Profile* profile() { return profile_; }
- bool do_first_run_tasks() const { return do_first_run_tasks_; }
+ bool is_first_run() const { return is_first_run_; }
const PrefService* local_state() const { return local_state_; }
@@ -195,7 +195,7 @@ class ChromeBrowserMainParts : public content::BrowserMainParts {
// Members initialized in PreMainMessageLoopRun, needed in
// PreMainMessageLoopRunThreadsCreated.
- bool do_first_run_tasks_;
+ bool is_first_run_;
PrefService* local_state_;
base::FilePath user_data_dir_;
« no previous file with comments | « no previous file | chrome/browser/chrome_browser_main.cc » ('j') | chrome/browser/chrome_browser_main.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698