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

Unified Diff: Source/WebCore/page/Settings.cpp

Issue 13861033: Remove Apple's unused implementation of private browsing from WebCore (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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: Source/WebCore/page/Settings.cpp
diff --git a/Source/WebCore/page/Settings.cpp b/Source/WebCore/page/Settings.cpp
index ad3f3dd7241b49a776637fe1aeda2a1c90d5df75..d2e3b06a0fb6d02dcc64b4298c4068b71af71fcc 100644
--- a/Source/WebCore/page/Settings.cpp
+++ b/Source/WebCore/page/Settings.cpp
@@ -153,7 +153,6 @@ Settings::Settings(Page* page)
SETTINGS_INITIALIZER_LIST
, m_isJavaEnabled(false)
, m_loadsImagesAutomatically(false)
- , m_privateBrowsingEnabled(false)
, m_areImagesEnabled(true)
, m_arePluginsEnabled(false)
, m_isScriptEnabled(false)
@@ -373,15 +372,6 @@ void Settings::setPluginsEnabled(bool arePluginsEnabled)
m_arePluginsEnabled = arePluginsEnabled;
}
-void Settings::setPrivateBrowsingEnabled(bool privateBrowsingEnabled)
-{
- if (m_privateBrowsingEnabled == privateBrowsingEnabled)
- return;
-
- m_privateBrowsingEnabled = privateBrowsingEnabled;
- m_page->privateBrowsingStateChanged();
-}
-
void Settings::setUserStyleSheetLocation(const KURL& userStyleSheetLocation)
{
if (m_userStyleSheetLocation == userStyleSheetLocation)

Powered by Google App Engine
This is Rietveld 408576698