Re: [chromium-dev] Re: Setting global preferences/settings in code

2010-01-14 Thread Evan Martin
On Thu, Jan 14, 2010 at 1:33 PM, Brian G. Merrell wrote: > Okay, I started looking into this.  After a bit of work, I'm to the > point where I need to process the master_preferences json file. > That is, I am currently writing a ProcessMasterPreferences function > in first_run_gtk.cc.  It looks li

[chromium-dev] Re: Setting global preferences/settings in code

2010-01-14 Thread Brian G. Merrell
On Sun, Dec 20, 2009 at 03:03:23AM -0800, Evan Martin wrote: > On Sat, Dec 19, 2009 at 9:32 PM, cpu wrote: > > Yes, the MasterPreferences is what we use so far.  It is just a json > > file in a particular path. I am not sure if we have enabled this for > > the linux build. > > It hasn't. > > See

Re: [chromium-dev] Re: Setting global preferences/settings in code

2009-12-21 Thread Glenn Wilson
(re-trying from the right account this time...) Several others have mentioned master_preferences, so I'll just add a few tips. Like PhistucK mentioned, if you create a master_preferences file next to chrome.exe (on Windows), and edit it to contain: { "homepage": "" } ...the homepage wil

Re: [chromium-dev] Re: Setting global preferences/settings in code

2009-12-20 Thread Evan Martin
On Sat, Dec 19, 2009 at 9:32 PM, cpu wrote: > Yes, the MasterPreferences is what we use so far.  It is just a json > file in a particular path. I am not sure if we have enabled this for > the linux build. It hasn't. See browser_main.cc around line 540, the part that mentions ProcessMasterPrefere

[chromium-dev] Re: Setting global preferences/settings in code

2009-12-19 Thread cpu
Yes, the MasterPreferences is what we use so far. It is just a json file in a particular path. I am not sure if we have enabled this for the linux build. Afaik the bookmarks has not been done. On Dec 19, 1:16 am, Peter Kasting wrote: > On Sat, Dec 19, 2009 at 12:59 AM, PhistucK wrote: > > Th