PrivateBrowsingConsumers: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(Created page with "netwerk/ - httphandler: unused, BAHLEETED - cache: global observer singleton that watches PB transitions and assorted other prefs - on transition, dooms the active cache an...")
 
No edit summary
Line 11: Line 11:
     - set up private DB state if in private browsing
     - set up private DB state if in private browsing
     - happens on profile-do-change and creation
     - happens on profile-do-change and creation
widget/
- nsClipboardPrivacyHandler::InPrivateBrowsing called from nsClipboardPrivacyHandler::PrepareDataForClipboard
    - adds a boolean to the clipboard data indicating it came from PB
plugin/
- _getvalue, NPNVprivateModeBool: returns private browsing status
- nsNPAPIPluginInstance::PrivateModeStateChanged, called by nsPluginHost::Observe on PB mode switching

Revision as of 20:31, 3 April 2011

netwerk/

- httphandler: unused, BAHLEETED

- cache: global observer singleton that watches PB transitions and assorted other prefs

   - on transition, dooms the active cache and potentially enables the disk/offline caches
   - enables the disk cache on pref change if not in PB
   - enables offline cache on pref change if not in PB

- cookie: global cookie service

   - set up private DB state if in private browsing
   - happens on profile-do-change and creation


widget/

- nsClipboardPrivacyHandler::InPrivateBrowsing called from nsClipboardPrivacyHandler::PrepareDataForClipboard

   - adds a boolean to the clipboard data indicating it came from PB


plugin/

- _getvalue, NPNVprivateModeBool: returns private browsing status

- nsNPAPIPluginInstance::PrivateModeStateChanged, called by nsPluginHost::Observe on PB mode switching