I realized you have to register the pref somewhere in the code. It works now.
Thanks! On Apr 4, 4:38 pm, Mohamed Mansour <[email protected]> wrote: > Hello, > I am trying to add additional preferences to the "Preferences" file in your > user directory, so I edited > g:\other\code\chromium\profile\Default\Preferences and added the following: > > "printer": { > "overlay": { > "bottom_center": " ", > "bottom_left": " ", > "bottom_right": " ", > "top_center": " ", > "top_left": "{date}", > "top_right": " " > } > } > > Now I ran chromium with the proper arguments, > "--user-data-dir=G:\other\code\chromium\profile", It seems that it does not > recognize my new "printer" preferences. > > I have verified the following: > 1) My PrefService is pointing to the right Profile, since I used > ProfileManager to grab the default profile for my user directory (which is > correct) > 2) It is running in the UI Thread > 3) It is reading original preferences just fine, but my new ones are not > seen. > > I should have seen in that iterator something like: > printer.overlay.bottom_left etc ... > > Any suggestions on what I should do to make this simple thing work. > > Thanks! --~--~---------~--~----~------------~-------~--~----~ Chromium Developers mailing list: [email protected] View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~----------~----~----~----~------~----~------~--~---
