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
 
(One intermediate revision by the same user not shown)
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
uriloader/
- nsExternalAppHelperService
    - observes switching, clears private files on exit, marks files private based on PB status

Latest revision as of 01:33, 4 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


uriloader/

- nsExternalAppHelperService

   - observes switching, clears private files on exit, marks files private based on PB status