summaryrefslogtreecommitdiffstats
path: root/chrome/browser/first_run.cc
Commit message (Collapse)AuthorAgeFilesLines
* Importer should import browser data from the browser that user selected.kuchhal@chromium.org2009-04-231-10/+13
| | | | | | | | | BUG=9710 Review URL: http://codereview.chromium.org/93039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14313 0039d316-1c4b-4281-b951-d872f2087c98
* Make the importer respect the user selected languge. On install the ↵sverrir@google.com2009-04-151-11/+13
| | | | | | | | | | | | language can either be set by a command line argument or a registry key (set by Omaha). The problem with the registry key approach is that the language is put into the local state but its not persisted before the importer process is launched and that process is therefore oblivious to the language and uses the default one. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13779 0039d316-1c4b-4281-b951-d872f2087c98
* Wire the alternate desktop shortcut textcpu@google.com2009-03-251-3/+3
| | | | | | | | | | | | | - second set of changes, one small one to come - adds a parameter on the desktop shortcut creator function that indicate the text to use - plumbs the master preference and the command line parameter BUG=1522969 Review URL: http://codereview.chromium.org/42586 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12499 0039d316-1c4b-4281-b951-d872f2087c98
* Reuse the eula terms from the chrome resourcescpu@google.com2009-03-191-14/+38
| | | | | | | | | | | - that outta reduce the fat that setup.exe gained - this is the chrome side of the fix BUG=8894 Review URL: http://codereview.chromium.org/48114 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12046 0039d316-1c4b-4281-b951-d872f2087c98
* Move windowing related objects into chrome/views/window subdir.ben@chromium.org2009-03-171-1/+1
| | | | | | | | TBR=sky Review URL: http://codereview.chromium.org/42272 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11819 0039d316-1c4b-4281-b951-d872f2087c98
* fix bustage - moved fileben@chromium.org2009-03-171-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11817 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes CRLF and trailing white spaces.maruel@chromium.org2009-03-051-3/+3
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10982 0039d316-1c4b-4281-b951-d872f2087c98
* Move chrome/apps/result_codes.h to chrome/common/result_codes.hthestig@chromium.org2009-03-031-1/+1
| | | | | | Review URL: http://codereview.chromium.org/28279 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10761 0039d316-1c4b-4281-b951-d872f2087c98
* Wire chrome shortcuts tooltip (installation)cpu@google.com2009-02-281-1/+4
| | | | | | | | | | | - Not complete since we are waiting for translations - For chromium the tooltip says "Browse the internet" BUG=b/1522969 Review URL: http://codereview.chromium.org/28272 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10666 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the executable bit from a bunch of files that shouldn't have had it.evan@chromium.org2009-02-121-0/+0
| | | | | | | R=tony (looked over my shoulder before I committed) git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9683 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes the EULA dialog to explicitly unset the usagestats flag if the ↵gwilson@google.com2009-02-061-1/+4
| | | | | | | | | | | checkbox is not selected. Before, the dialog would simply not modify the value already set. BUG=7426 R=cpu Review URL: http://codereview.chromium.org/21134 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9336 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a bunch of header includes. I removed some unnecessary headers from abrettw@chromium.org2009-02-011-0/+1
| | | | | | | | variety of places and added ones in other files that were accidentally depending on them. Review URL: http://codereview.chromium.org/19742 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9022 0039d316-1c4b-4281-b951-d872f2087c98
* Modifies LaunchSetupWithParam to properly append the kInstallerDir and ↵gwilson@google.com2009-01-301-2/+2
| | | | | | | | kSetupExe constants to the executable path. Review URL: http://codereview.chromium.org/19493 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8949 0039d316-1c4b-4281-b951-d872f2087c98
* This CL fixes bugs with EULAcpu@google.com2009-01-291-4/+5
| | | | | | | | | | | | | | - The first run import will trigger the eula again : this requires changes in browser_main.cc so the master prefs are not processed again by the importer process - The launch of setup.exe to show the eula was using a path that only works on developer builds this requires relocating a constant from setup_constants to util_constants BUG=1468838 Review URL: http://codereview.chromium.org/19680 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8928 0039d316-1c4b-4281-b951-d872f2087c98
* Wire the stats consent checkbox of the EULAcpu@google.com2009-01-291-1/+6
| | | | | | | | | | | | - Collected in setup.exe passed to chrome via return code - Depends on an updated oem.html and JS code by Glen BUG=1468838 Review URL: http://codereview.chromium.org/19649 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8866 0039d316-1c4b-4281-b951-d872f2087c98
* Porting profiles to the Mac.avi@chromium.org2009-01-281-8/+10
| | | | | | Review URL: http://codereview.chromium.org/19623 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8831 0039d316-1c4b-4281-b951-d872f2087c98
* Process the EULA distro param, to direct chrome to show the EULA dialogcpu@google.com2009-01-281-0/+29
| | | | | | | | | | | | | - This is the EULA post installation case. Other cases possible. - Chrome waits forever until user dismises the dialog - Chrome will exit ipso-facto if user declines. BUG=1468838 Review URL: http://codereview.chromium.org/19601 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8790 0039d316-1c4b-4281-b951-d872f2087c98
* Make CommandLine into a normal object, with some statics for getting at the ↵evan@chromium.org2009-01-211-5/+5
| | | | | | | | | | | current process's command line. One explicit goal of this change is to *not* deal with the string/wstring issues at the API on POSIX; the functions are the same as before, which means they remain as broken as before. (I did try to fix the internals, though, so migrating the callers is now possible by adding platform-appropriate hooks.) Review URL: http://codereview.chromium.org/18248 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8347 0039d316-1c4b-4281-b951-d872f2087c98
* First run is going into infinite recursion if started from master prefscpu@google.com2008-12-091-1/+6
| | | | | | | | | | | | - keeps creating importer processes - the issue is the creation of the first run sentinel file needs to happen before starting the new process. BUG=1535947 Review URL: http://codereview.chromium.org/13312 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6651 0039d316-1c4b-4281-b951-d872f2087c98
* The first run sentinel does not get created for system installcpu@google.com2008-11-251-2/+11
| | | | | | | | | | | | - Vista case mostly if user has UAC enabled - The sentinel path is not writeable if you are not elevated so first run keeps happening every time. BUG=1503885 Review URL: http://codereview.chromium.org/12650 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5994 0039d316-1c4b-4281-b951-d872f2087c98
* * fix build errorkuchhal@chromium.org2008-11-201-1/+1
| | | | | | Review URL: http://codereview.chromium.org/11550 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5794 0039d316-1c4b-4281-b951-d872f2087c98
* * fix build errorkuchhal@chromium.org2008-11-201-1/+2
| | | | | | Review URL: http://codereview.chromium.org/11548 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5793 0039d316-1c4b-4281-b951-d872f2087c98
* - If the exe rename command fails try calling Google Update to do the same ↵kuchhal@chromium.org2008-11-201-6/+37
| | | | | | | | | | | | | | job. This works when we are logged into XP/Vista as limited rights user. - Update Google Update idl file that has the recently added COM object. - Add --system-level to the rename command that gets added to the registry. - Remove all the code to uninstall Gears MSI. Now most of the user have been upgraded to Chrome installer that includes gears.dll. BUG=1463346 Review URL: http://codereview.chromium.org/11255 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5791 0039d316-1c4b-4281-b951-d872f2087c98
* Create first run sentinel file when the distribution param skip_first_run_ui ↵cpu@google.com2008-11-141-0/+4
| | | | | | | | | | | | | is set - So we don't do a 'second run UI' BUG=1485094 Review URL: http://codereview.chromium.org/10708 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5510 0039d316-1c4b-4281-b951-d872f2087c98
* Add Terminate() to the Process object, have RenderProcessHost use this to ↵brettw@google.com2008-11-141-10/+10
| | | | | | | | | | avoid some more Windows specific code. Move Process and SharedMemory into the base namespace (most changes). Review URL: http://codereview.chromium.org/10895 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5446 0039d316-1c4b-4281-b951-d872f2087c98
* * Try to rename chrome exes in shutdown path as well.kuchhal@chromium.org2008-11-121-6/+20
| | | | | | | | BUG=1463346 Review URL: http://codereview.chromium.org/10805 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5313 0039d316-1c4b-4281-b951-d872f2087c98
* * Need to read version from registry if relaunching browser.kuchhal@chromium.org2008-11-121-0/+1
| | | | | | | | BUG=4316 Review URL: http://codereview.chromium.org/10820 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5281 0039d316-1c4b-4281-b951-d872f2087c98
* Implement the new mechanism we are going to use for handling Chromium updateskuchhal@chromium.org2008-11-071-6/+24
| | | | | | | | | | | | | | | | | | | | while it is in use. This should work for per user as well as system level installs (after some additional changes once Google Update changes are ready). The following scenarios should work now: - If Chromium is using two different profiles at the same time we do not switch chrome executables until all of them are closed. - The old version of Chromium can be run after a restart if the renaming of executables fails. - We will not use environment variable any more but we need to keep it until all the users get this change on their machines. - opv/rename registry keys and new_chrome.exe should always together. If one exist all three should exist because they are created and deleted as one atomic operation (as much as possible given laws of physics). BUG=1463346 Review URL: http://codereview.chromium.org/9436 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4949 0039d316-1c4b-4281-b951-d872f2087c98
* Refactoring master preference parsing code into installer util sohuanr@chromium.org2008-11-041-55/+23
| | | | | | | | | it can be shared by first run and set up. There is no functionality change in this CL. Review URL: http://codereview.chromium.org/9338 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4688 0039d316-1c4b-4281-b951-d872f2087c98
* More distro installer params workcpu@google.com2008-11-031-22/+76
| | | | | | | | | | | | | - Move params to "distribution" group - Add "import_search_engine", "show_welcome_page" params - Now the welcome page and the bubble actually work - Some cleanup BUG=1394863 Review URL: http://codereview.chromium.org/9207 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4487 0039d316-1c4b-4281-b951-d872f2087c98
* On first run process the master prefs json, only one entry matters to us.cpu@google.com2008-10-311-12/+55
| | | | | | | | | | | - skip or not first run dialgos - on skip import silently search provider only BUG=1394863 Review URL: http://codereview.chromium.org/8758 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4346 0039d316-1c4b-4281-b951-d872f2087c98
* Add installer command line option to create shortcuts (desktop and quickkuchhal@chromium.org2008-10-241-30/+10
| | | | | | launch). git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3913 0039d316-1c4b-4281-b951-d872f2087c98
* Add processing for a master profile json file on first run. Allows:cpu@google.com2008-10-171-0/+51
| | | | | | | | | - set home page / show home button - show bookmarks bar Review URL: http://codereview.chromium.org/7369 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3542 0039d316-1c4b-4281-b951-d872f2087c98
* Rename ChromeViews namespace to viewsben@chromium.org2008-10-161-2/+2
| | | | | | http://crbug.com/2188 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3495 0039d316-1c4b-4281-b951-d872f2087c98
* Move importer files into an importer subdirectory.beng@google.com2008-09-131-1/+1
| | | | | | | | | Also delete title chomper no one uses it. B=2205 Review URL: http://codereview.chromium.org/3035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2154 0039d316-1c4b-4281-b951-d872f2087c98
* Chrome changes corresponding to my message_loop_type CL.darin@google.com2008-08-261-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1363 0039d316-1c4b-4281-b951-d872f2087c98
* Use a more compact license header in source files.license.bot2008-08-241-28/+4
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1287 0039d316-1c4b-4281-b951-d872f2087c98
* If the user runs chrome with a language on the command line ontc@google.com2008-08-111-4/+11
| | | | | | | | | | | | | first-run, make sure we pass that language to the importer process. The code for this is basically a copy of what is in chrome/browser/render_process_host.cc:291. TEST=Run "chrome --lang=ko --first-run" and import settings during first run. Make sure the importer dialog is in Korean. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@673 0039d316-1c4b-4281-b951-d872f2087c98
* rollback r498 and r500 to repair test bustagedarin@google.com2008-08-071-3/+4
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@503 0039d316-1c4b-4281-b951-d872f2087c98
* Window Delegate Improvements:beng@google.com2008-07-301-6/+2
| | | | | | | | | | | | | | | | | | | | | | - Windows now must have a Delegate. Just construct the default WindowDelegate if you don't want to have to write one in testing. - Windows now obtain their contents view by asking the delegate via WindowDelegate::GetContentsView. - Contents views no longer need to manually store a pointer to the Window that contains them, WindowDelegate does this automatically via its window() accessor. Reviewer notes: - review window_delegate.h first, then - window.h/cc - custom frame window.h/cc - constrained_window_impl.h/cc - then everything else (just updating all call sites) B=1280060 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96 0039d316-1c4b-4281-b951-d872f2087c98
* Add chrome to the repository.initial.commit2008-07-261-0/+389
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15 0039d316-1c4b-4281-b951-d872f2087c98