In the Desktop code, we use the "places.history.enabled" preference to control 
saving history. 

We load the pref here: 
http://mxr.mozilla.org/mozilla-central/source/toolkit/components/places/nsNavHistory.cpp#453
 

We do the check here (via a wrapper): 
http://mxr.mozilla.org/mozilla-central/source/toolkit/components/places/nsNavHistory.cpp#1106
 

For Fennec, you could do the same thing. I don't know if we have a bug filed 
for this yet, but you could file one. 

You could load the pref here: 
http://mxr.mozilla.org/mozilla-central/source/mobile/android/components/build/nsAndroidHistory.cpp#37
 

You could do the check here: 
http://mxr.mozilla.org/mozilla-central/source/mobile/android/components/build/nsAndroidHistory.cpp#268
 

Finkle 

----- Original Message -----

> I want to make a mod of Fennec that stops all writing to history
> (desktop provides this option but mobile doesn't seem to yet). Could
> someone point me to the code section that controls this?
> _______________________________________________
> mobile-firefox-dev mailing list
> [email protected]
> https://mail.mozilla.org/listinfo/mobile-firefox-dev
_______________________________________________
mobile-firefox-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/mobile-firefox-dev

Reply via email to