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

Unified Diff: chrome/browser/ui/browser.cc

Issue 15685014: Delete unused prefs::kHomePageChanged. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 7 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 | « chrome/browser/ui/browser.h ('k') | chrome/browser/ui/browser_ui_prefs.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser.cc
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
index 4f9c1d5d572659b45b87e99a60faee636b6adc27..7703cce0ca458875afb15e9e90838cbede27c569 100644
--- a/chrome/browser/ui/browser.cc
+++ b/chrome/browser/ui/browser.cc
@@ -380,9 +380,6 @@ Browser::Browser(const CreateParams& params)
prefs::kShowBookmarkBar,
base::Bind(&Browser::UpdateBookmarkBarState, base::Unretained(this),
BOOKMARK_BAR_STATE_CHANGE_PREF_CHANGE));
- profile_pref_registrar_.Add(
- prefs::kHomePage,
- base::Bind(&Browser::MarkHomePageAsChanged, base::Unretained(this)));
BrowserList::AddBrowser(this);
@@ -1807,10 +1804,6 @@ void Browser::OnDevToolsDisabledChanged() {
content::DevToolsManager::GetInstance()->CloseAllClientHosts();
}
-void Browser::MarkHomePageAsChanged() {
- profile_->GetPrefs()->SetBoolean(prefs::kHomePageChanged, true);
-}
-
///////////////////////////////////////////////////////////////////////////////
// Browser, UI update coalescing and handling (private):
« no previous file with comments | « chrome/browser/ui/browser.h ('k') | chrome/browser/ui/browser_ui_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698