summaryrefslogtreecommitdiffstats
path: root/chrome/common/chrome_paths.cc
Commit message (Collapse)AuthorAgeFilesLines
* Make disabled internal plugins stay disabled even when the version of Chrome ↵viettrungluu@chromium.org2010-05-051-0/+4
| | | | | | | | | | | | | | changes. This change is a bit hacky, but the proper change is to re-factor the plugins stuff (and such a change wouldn't be M5-able). BUG=42393 TEST=On Chrome with this CL, disable internal Flash. Update Chrome to a newer version (also with this CL). Check that internal Flash remains disabled. (Or hack the prefs file to test manually....) Review URL: http://codereview.chromium.org/1969007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46511 0039d316-1c4b-4281-b951-d872f2087c98
* Unpack extensions inside chrome's profile directory.skerner@chromium.org2010-04-301-0/+6
| | | | | | | | | | | Other users of the temp directory will be altered in a subsequent CL. BUG=13044 TEST=SandboxedExtensionUnpackerTest.*, ScopedTempDir.UniqueTempDirUnderPath, FileUtilTest.CreateNewTempDirInDirTest, manual testing on win, linux, mac. Review URL: http://codereview.chromium.org/1582022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46078 0039d316-1c4b-4281-b951-d872f2087c98
* Rework of the shared resources patch for checkinfeldstein@chromium.org2010-04-281-0/+10
| | | | | | | | | | | | | | | Implement shared resources and use them in bookmark manager I had an issue with git when moving files so i had to create a new patch to delete/readd them here. See code review 1564034. This is just for trybots/checkins. BUG=none TEST=none Review URL: http://codereview.chromium.org/1694019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45885 0039d316-1c4b-4281-b951-d872f2087c98
* Install some simple apps by default to make dev easier.aa@chromium.org2010-04-231-5/+0
| | | | | | Review URL: http://codereview.chromium.org/1688006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45457 0039d316-1c4b-4281-b951-d872f2087c98
* Update pathjabdelmalek@google.com2010-04-211-4/+6
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45243 0039d316-1c4b-4281-b951-d872f2087c98
* Use internal pdf plugin with --internal-pdfjam@chromium.org2010-03-271-0/+12
| | | | | | Review URL: http://codereview.chromium.org/1462001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42886 0039d316-1c4b-4281-b951-d872f2087c98
* Register internal plugins and fix internal plugins path for Mac tests.viettrungluu@chromium.org2010-03-251-5/+10
| | | | | | | | | | | Fixed version of r42646 which was reverted at r42653. BUG=none TEST=none (but Gears should continue working on Windows) Review URL: http://codereview.chromium.org/1349004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42661 0039d316-1c4b-4281-b951-d872f2087c98
* Added paths for internal plugins.viettrungluu@chromium.org2010-03-251-1/+33
| | | | | | | | | BUG=none TEST=none (but Gears should continue to work on Windows) Review URL: http://codereview.chromium.org/1340001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42641 0039d316-1c4b-4281-b951-d872f2087c98
* Add an initial implementation of net-internals inspector in javascript.eroman@chromium.org2010-03-231-0/+5
| | | | | | | | BUG=37421 Review URL: http://codereview.chromium.org/1088007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42357 0039d316-1c4b-4281-b951-d872f2087c98
* Load the bookmark manager extension at Chrome startup.aa@chromium.org2010-03-041-2/+11
| | | | | | Review URL: http://codereview.chromium.org/660232 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40683 0039d316-1c4b-4281-b951-d872f2087c98
* Default to FOLDERID_Downloads on Windows Vista/7 when safe.dimich@google.com2010-01-251-0/+8
| | | | | | | | | Landing for DCheng@. Codereview: http://codereview.chromium.org/553040 TEST=none BUG=13610 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37023 0039d316-1c4b-4281-b951-d872f2087c98
* Move some XDG code from chrome to base, make DIR_USER_CACHE generic rather ↵thestig@chromium.org2009-12-021-10/+0
| | | | | | | | | | than Chromium specific, and clean up a few headers. BUG=none TEST=none Review URL: http://codereview.chromium.org/449048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33565 0039d316-1c4b-4281-b951-d872f2087c98
* Use GetSwitchValueASCII.tony@chromium.org2009-11-061-5/+4
| | | | | | | | | | | | BUG=24672 TEST=None Original patch by Thiago Farina <thiago.farina@gmail.com> at http://codereview.chromium.org/296004 Review URL: http://codereview.chromium.org/373013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31269 0039d316-1c4b-4281-b951-d872f2087c98
* Move all resources into the framework.mark@chromium.org2009-10-071-5/+4
| | | | | | | | | | | | | | BUG=14610 (in support of unbreaking auto-update) TEST=The .app's Contents/Resources folder should not contain the resources that are moving to the .framework's Resources folder; The .app's Contents/Resources folder should still contain app.icns, document.icns, the helper .app, and a whole slew of .lprojs that only contain InfoPlist.strings; Make sure Breakpad still works in the browser, renderer, and other process types. Review URL: http://codereview.chromium.org/256062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28262 0039d316-1c4b-4281-b951-d872f2087c98
* Hook up wifi menu button UI to ChromeOS shared library.chocobo@google.com2009-10-011-1/+1
| | | | | | | | BUG=none TEST=23090 Review URL: http://codereview.chromium.org/246057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27779 0039d316-1c4b-4281-b951-d872f2087c98
* Create the download folder if it doesn't exist. That is, the actual download ↵thestig@chromium.org2009-09-251-4/+4
| | | | | | | | | | folder, not the default one. BUG=21759 TEST=none Review URL: http://codereview.chromium.org/219017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27266 0039d316-1c4b-4281-b951-d872f2087c98
* Refuse to start if we can't get the user data directory.evan@chromium.org2009-09-251-1/+3
| | | | | | | | | | | The alternative is spewing private user data in random directories. BUG=22277 TEST=chmod -x ~/.config; Chrome should refuse to start Review URL: http://codereview.chromium.org/219043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27252 0039d316-1c4b-4281-b951-d872f2087c98
* Make chromeos build use shared object to load batterydavemoore@chromium.org2009-09-231-0/+8
| | | | | | | | functionality. Call into it and show new battery images Review URL: http://codereview.chromium.org/215025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26898 0039d316-1c4b-4281-b951-d872f2087c98
* Create the download folder if it doesn't exist.thestig@chromium.org2009-09-021-0/+1
| | | | | | | | BUG=20559 TEST=See bug. Review URL: http://codereview.chromium.org/177062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25145 0039d316-1c4b-4281-b951-d872f2087c98
* Use real creator code for Keychain items. Instead of hard-coding 'rimZ', usemark@chromium.org2009-08-111-1/+4
| | | | | | | | | | | the correct creator code for the application. This is 'rimZ' for branded Google Chrome, and 'Cr24' for Chromium. BUG=19000 TEST=No functional change in Google Chrome-branded builds Review URL: http://codereview.chromium.org/164332 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23074 0039d316-1c4b-4281-b951-d872f2087c98
* Use $XDG_CACHE_HOME for the cache on Linux. This only works for the default ↵thestig@chromium.org2009-08-111-0/+10
| | | | | | | | | | profile. BUG=16976 TEST=Run Chromium, visit some webpages, make sure it's using the cache under $XDG_CACHE_HOME (~/.cache by default) Review URL: http://codereview.chromium.org/159028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23057 0039d316-1c4b-4281-b951-d872f2087c98
* Make the logging dir on mac write outside the bundle in debug, this makes ↵thomasvl@chromium.org2009-06-121-1/+17
| | | | | | | | | | | | | | | | the file easier to find, and for unittests that try to scan it (like tab_switching), they then don't have to walk into the bundle. Compile tab_switching_test on mac/linux. Add a dep for app to tab_switching_test so building it also make sure the app is built (since it runs the app) Update tab_switching_test Use FilePath in all cases instead of wstring. Limit how long it will spin looking for the log log file so the test can't hang. TEST=the new test is built on mac/linux BUG=none Review URL: http://codereview.chromium.org/126049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18277 0039d316-1c4b-4281-b951-d872f2087c98
* The CPP logic on the log dir seems to have been wrong since last year. ↵thomasvl@chromium.org2009-05-281-21/+3
| | | | | | | | | | | | Changed so debug writes next to the executable, and release writes to userdata dir. It was the reverse. Drop two paths that aren't used any more. BUG=12834 TEST=run app, make sure we don't create a log file inside the MacOS folder. Review URL: http://codereview.chromium.org/115868 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17087 0039d316-1c4b-4281-b951-d872f2087c98
* Move the Dictionary dir on the Mac out of the package and into user data.thomasvl@chromium.org2009-05-281-1/+3
| | | | | | | | BUG=8317 TEST=make sure we don't create a dictionary directory within the app. Review URL: http://codereview.chromium.org/115863 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17079 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: On Mac, deploy inspector resources into ↵pfeldman@chromium.org2009-05-211-6/+6
| | | | | | | | <app_name>/Contents/Resources and read them from there. Review URL: http://codereview.chromium.org/115587 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16585 0039d316-1c4b-4281-b951-d872f2087c98
* Reland this change. Registers paths for the testing exe, too.ben@chromium.org2009-05-151-19/+0
| | | | | | | | | | Move/Copy paths used by app to app_paths. http://crbug.com/11387 Review URL: http://codereview.chromium.org/115420 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16200 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 16173beng@google.com2009-05-151-0/+19
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16176 0039d316-1c4b-4281-b951-d872f2087c98
* Move/Copy paths used by app to app_paths.beng@google.com2009-05-151-19/+0
| | | | | | | | http://crbug.com/11387 Review URL: http://codereview.chromium.org/113452 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16173 0039d316-1c4b-4281-b951-d872f2087c98
* linux: keep dictionaries in the user data dir.evan@chromium.org2009-05-011-0/+7
| | | | | | | | | BUG=11036 TEST=Dictionaries should end up in ~/.config/chromium/ Review URL: http://codereview.chromium.org/100281 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15119 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the web inspector on linux.tc@google.com2009-04-301-3/+3
| | | | | | | | | | | | 1) Add a dependency to the rule that copies the files. 2) Change the directories to have lower case names. This doesn't matter on windows which is case insensitive and where some directories are already lower case (e.g., themes and locales). Mac will probably have to add some gyp code to move the files to the right place in the bundle. Review URL: http://codereview.chromium.org/100223 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15015 0039d316-1c4b-4281-b951-d872f2087c98
* Move the ffmpeg loading function into media library.ajwong@chromium.org2009-04-181-23/+0
| | | | | | | | This will allow us to hide the platform specific library loading code from the main chrome code. Review URL: http://codereview.chromium.org/69027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13991 0039d316-1c4b-4281-b951-d872f2087c98
* Update public FFmpeg header files from r16647 to r18286.scherkus@chromium.org2009-04-021-1/+1
| | | | | | | | This also includes bumping the version of avutil from 49 to 50, which means the generated libs and build files are also updated. Review URL: http://codereview.chromium.org/56129 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13003 0039d316-1c4b-4281-b951-d872f2087c98
* No gears.dll on non-Windows systems.evan@chromium.org2009-03-261-0/+5
| | | | | | Review URL: http://codereview.chromium.org/42669 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12614 0039d316-1c4b-4281-b951-d872f2087c98
* NO CODE CHANGEdeanm@chromium.org2009-03-101-1/+0
| | | | | | | | | Normalize end of file newlines in chrome/. All files end in a single newline. Review URL: http://codereview.chromium.org/42015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11331 0039d316-1c4b-4281-b951-d872f2087c98
* NO CODE CHANGE.maruel@google.com2009-03-051-1/+2
| | | | | | | Split the lines >80 cols. (Part 1) Review URL: http://codereview.chromium.org/39206 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11032 0039d316-1c4b-4281-b951-d872f2087c98
* Add FilePath setter/getter to pref service. Change callers to use it rather ↵estade@chromium.org2009-03-041-1/+1
| | | | | | | | | | | | | than the string methods. Update the pref service unit test and enable it on linux. Also switch over some wstrings to filepaths where appropriate. BUG=8154 Review URL: http://codereview.chromium.org/27354 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10844 0039d316-1c4b-4281-b951-d872f2087c98
* Instead of appending "Downloads" to the user document directory, let each ↵estade@chromium.org2009-02-281-13/+2
| | | | | | | | | | platform specify its own downloads directory. On mac this is unimplemented. On windows it remains the user document directory + "\Downloads\", and on linux we attempt to follow their XDG setting, but fall back to ~/Downloads if they have an unsafe value in their XDG setting. Review URL: http://codereview.chromium.org/28167 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10669 0039d316-1c4b-4281-b951-d872f2087c98
* Change locale handling to deal with mac resource bundles in the ↵pinkerton@chromium.org2009-02-271-1/+8
| | | | | | | | corresponding .lproj folder so we can more easily find them. The nibs have not yet been moved, that'll be a further step. Review URL: http://codereview.chromium.org/28259 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10609 0039d316-1c4b-4281-b951-d872f2087c98
* Dynamically load FFmpeg DLLs if present and --enable-video is on.scherkus@chromium.org2009-02-251-0/+23
| | | | | | | | If any of the DLLs fail to load or are not present, video is disabled. Review URL: http://codereview.chromium.org/24025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10376 0039d316-1c4b-4281-b951-d872f2087c98
* Final step needed to get be able to download things on linux.estade@chromium.org2009-02-241-3/+4
| | | | | | | | There's still no UI though. Review URL: http://codereview.chromium.org/27097 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10299 0039d316-1c4b-4281-b951-d872f2087c98
* Factor out platform specific chrome_paths calls into platform specific files.tc@google.com2009-02-031-65/+5
| | | | | | | Review URL: http://codereview.chromium.org/19760 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9088 0039d316-1c4b-4281-b951-d872f2087c98
* Port chrome_paths.cc to use FilePath.tc@google.com2009-01-311-40/+44
| | | | | | Review URL: http://codereview.chromium.org/19732 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9001 0039d316-1c4b-4281-b951-d872f2087c98
* Make CommandLine into a normal object, with some statics for getting at the ↵evan@chromium.org2009-01-211-2/+2
| | | | | | | | | | | 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
* mac bootstrapping of browser main and app startup bitspinkerton@google.com2009-01-161-2/+6
| | | | | | Review URL: http://codereview.chromium.org/18112 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8185 0039d316-1c4b-4281-b951-d872f2087c98
* Move user script directory into profile.aa@chromium.org2009-01-071-9/+0
| | | | | | Review URL: http://codereview.chromium.org/17242 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7688 0039d316-1c4b-4281-b951-d872f2087c98
* fix chrome_paths to make some test dirs relative to base::DIR_SOURCE_ROOTerikkay@google.com2008-12-051-9/+7
| | | | | | | | | | | | | | rather than chrome::DIR_APP. DIR_APP is in different relative locations on different platforms while DIR_SOURCE_ROOT is the same, so this allows us to share code and be correct on all platforms. Also, enable extensions_service_unittest for Mac and Linux and add an NSAutoreleasePool to ChromeTestSuite (which is now being used by run_all_unittests on Mac and Linux per my earlier checkin). Review URL: http://codereview.chromium.org/13177 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6445 0039d316-1c4b-4281-b951-d872f2087c98
* Don't create the default download directory just because we ask for its ↵pkasting@chromium.org2008-12-011-14/+11
| | | | | | | | location. This is a first step toward not creating _any_ directories when we merely ask for their locations. Patch by Marc-André Decoste, r=cpu. See http://codereview.chromium.org/11586 . Bug=4575 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6164 0039d316-1c4b-4281-b951-d872f2087c98
* Move more code to using FilePath.evanm@google.com2008-11-191-2/+3
| | | | | | | Review URL: http://codereview.chromium.org/11252 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5679 0039d316-1c4b-4281-b951-d872f2087c98
* Port parts of chrome/common to Linux.evanm@google.com2008-11-071-23/+51
| | | | | | | | | | | | | This probably needs some bigger adjustments. Some things need to be decided, like where to store profile files on Linux/Mac. BUG=3649 Review URL: http://codereview.chromium.org/8059 Patch from Paweł Hajdan jr <phajdan.jr@gmail.com>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5012 0039d316-1c4b-4281-b951-d872f2087c98
* Do not localize the name of 'download' directory. Chrome's UI languages can bejungshik@google.com2008-10-281-0/+14
| | | | | | | | | | | | | | | | | | | changed and a user will be confused as to where her download goes. Add DIR_DEFAULT_DOWNLOADS to chrome_paths (which is set to 'Downloads' under DIR_USER_DOCUMENTS) and use that in both save_package and download_manager. This patch does not offer a migration path. BUG=3097 TEST=Switch Chrome's UI to non-English and download a file. The file should be downloaded to '..\My Documents\Downloads' rather than '..\My Documents\<'Downloads' in that language>. Review URL: http://codereview.chromium.org/7945 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4049 0039d316-1c4b-4281-b951-d872f2087c98