summaryrefslogtreecommitdiffstats
path: root/base
Commit message (Collapse)AuthorAgeFilesLines
* Separate out file_util functions that use ICU into their own file.sra@chromium.org2009-04-073-72/+92
| | | | | | | | This prevents ~300K of ICU being linked into chrome.exe due to a false dependency. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13281 0039d316-1c4b-4281-b951-d872f2087c98
* Include correct header for uint8_t in gtk_util.hevan@chromium.org2009-04-071-0/+1
| | | | | | | Review URL: http://codereview.chromium.org/63065 Patch from Craig Schlenter <craig.schlenter@gmail.com>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13272 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: store clipboard image as bmp rather than converting to PNG.estade@chromium.org2009-04-073-39/+68
| | | | | | Review URL: http://codereview.chromium.org/63040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13218 0039d316-1c4b-4281-b951-d872f2087c98
* Basic infobars on linux.estade@chromium.org2009-04-062-0/+16
| | | | | | | | All infobars consist of nothing but a non-functioning close button. Review URL: http://codereview.chromium.org/62070 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13206 0039d316-1c4b-4281-b951-d872f2087c98
* First pass of refactoring dialogs.avi@chromium.org2009-04-062-2/+11
| | | | | | Review URL: http://codereview.chromium.org/60110 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13168 0039d316-1c4b-4281-b951-d872f2087c98
* Remove unused variable from POSIX SharedMemory implementation.thestig@chromium.org2009-04-042-8/+5
| | | | | | Review URL: http://codereview.chromium.org/62027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13129 0039d316-1c4b-4281-b951-d872f2087c98
* - Added support for keeping track of load times.davemoore@chromium.org2009-04-032-1/+9
| | | | | | | | | | | | | | | | | For each document loaded we record the time the page was requested by the user (or as close as we can get to that), the time the load process started, the time the document and it's dependent resources (scripts) have been loaded (before onload()) and the time all the document's resources have been loaded. We use this data for two things: 1) We histogram the deltas between the time marks 2) We expose the times to javascript running on the page which was loaded Review URL: http://codereview.chromium.org/42527 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13116 0039d316-1c4b-4281-b951-d872f2087c98
* Add DirectoryWatcherTest back to the Linux build.thestig@chromium.org2009-04-031-3/+6
| | | | | | Review URL: http://codereview.chromium.org/62014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13102 0039d316-1c4b-4281-b951-d872f2087c98
* Remove unneeded uses of base/pickle.h. Add some explicit #includes.thestig@chromium.org2009-04-032-4/+6
| | | | | | Review URL: http://codereview.chromium.org/60095 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13093 0039d316-1c4b-4281-b951-d872f2087c98
* Put a border around the find bar text entry field.estade@chromium.org2009-04-032-1/+3
| | | | | | Review URL: http://codereview.chromium.org/56207 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13091 0039d316-1c4b-4281-b951-d872f2087c98
* Reduce usage of {To,From}WStringHack in file_util_unittest.ccphajdan.jr@chromium.org2009-04-031-58/+60
| | | | | | Review URL: http://codereview.chromium.org/62008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13087 0039d316-1c4b-4281-b951-d872f2087c98
* Make OpenProcessHandle report an error when it couldn't open the handle.phajdan.jr@chromium.org2009-04-033-6/+14
| | | | | | | | One more step to land http://codereview.chromium.org/54003 (chrome_process_util). Review URL: http://codereview.chromium.org/62004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13086 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Remove dependency on GTK from base/test_suite.h"agl@chromium.org2009-04-031-0/+5
| | | | | | | This reverts commit r13064. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13073 0039d316-1c4b-4281-b951-d872f2087c98
* Remove dependency on GTK from base/test_suite.hagl@chromium.org2009-04-031-5/+0
| | | | | | | (try servers are busted, using the builders) git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13064 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Move IPC code to ipc/"agl@chromium.org2009-04-033-8/+2
| | | | | | | This reverts commit r13062 which, unsurprisingly, broke the build. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13063 0039d316-1c4b-4281-b951-d872f2087c98
* Move IPC code to ipc/agl@chromium.org2009-04-033-2/+8
| | | | | | | (No review URL: Rietvelt couldn't cope) git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13062 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the checked-in scons configuration files.sgk@google.com2009-04-019-1009/+0
| | | | | | Review URL: http://codereview.chromium.org/53121 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12982 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the 'Hammer' name in favor of the Debug|Release namessgk@google.com2009-04-011-1/+1
| | | | | | | and paths we'll use in gyp-generated files. Review URL: http://codereview.chromium.org/56158 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12975 0039d316-1c4b-4281-b951-d872f2087c98
* Use portable typedef for PIDs (process IDs).phajdan.jr@chromium.org2009-04-016-16/+20
| | | | | | | | | This is a preparation to land http://codereview.chromium.org/54003, which replaces chrome_process_filter with more portable chrome_process_util. Review URL: http://codereview.chromium.org/57062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12948 0039d316-1c4b-4281-b951-d872f2087c98
* Remove deprecated methods from StatsCounter.thestig@chromium.org2009-04-012-18/+3
| | | | | | Review URL: http://codereview.chromium.org/57078 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12924 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r12849 (conversion of "Hammer" names to "Debug").sgk@google.com2009-03-311-1/+1
| | | | | | Review URL: http://codereview.chromium.org/57051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12854 0039d316-1c4b-4281-b951-d872f2087c98
* Replace "Hammer" references with "Debug" as appropriate.sgk@google.com2009-03-311-1/+1
| | | | | | Review URL: http://codereview.chromium.org/53118 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12849 0039d316-1c4b-4281-b951-d872f2087c98
* Add some includes needed by GCC 4.4.0mark@chromium.org2009-03-301-0/+1
| | | | | | | | | | | | base/string16.h uses EOF thus #include <stdio.h> net/disk_cache/trace.cc uses vsnprintf thus #include <stdio.h> Patch by Craig Schlenter <craig.schlenter@gmail.com> Review URL: http://codereview.chromium.org/46092 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12777 0039d316-1c4b-4281-b951-d872f2087c98
* Add more of the server-side plumbing for extension APIs. Alsoaa@chromium.org2009-03-281-10/+16
| | | | | | | | added getTabsForWindow() to drive it. Review URL: http://codereview.chromium.org/42680 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12744 0039d316-1c4b-4281-b951-d872f2087c98
* POSIX: allow WaitableEvents to be deleted while watching them.agl@chromium.org2009-03-265-64/+109
| | | | | | | | | | | | | | | | | | | On Windows, one can close a HANDLE which is currently being waited on. The MSDN documentation says that the resulting behaviour is 'undefined', but it doesn't crash. Currently, on POSIX, one couldn't use WaitableEventWatcher to watch an event which gets deleted. This mismatch has bitten us several times now. This patch allows WaitableEvents to be deleted while a WaitableEventWatcher is still watching them. It applies only to watchers, the usual Wait() and WaitMany() calls still require that all their target be valid until the end of the call. http://crbug.com/8809 Review URL: http://codereview.chromium.org/53026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12576 0039d316-1c4b-4281-b951-d872f2087c98
* Removing vcprojs now generated by gyp.bradnelson@google.com2009-03-264-1843/+0
| | | | | | Review URL: http://codereview.chromium.org/42646 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12570 0039d316-1c4b-4281-b951-d872f2087c98
* First stab at Mac breakpad support.jeremy@chromium.org2009-03-261-2/+0
| | | | | | | | breakpad_mac.mm still needs some work, there's a bunch of scaffolding in there referring to a custom version of Breakpad I've got going locally. Review URL: http://codereview.chromium.org/53075 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12553 0039d316-1c4b-4281-b951-d872f2087c98
* Linux UI theming:estade@chromium.org2009-03-252-2/+8
| | | | | | | | | - Improve appearance of menus by setting background to white (matching windows and fitting better with the overall appearance). - Disable user theming of native widgets: since our widgets are a hodge-podge of native and custom-drawn, there's no way we can support user theming. Eventually users will be able to choose a theme for chromium; until then make everything look like chrome. Review URL: http://codereview.chromium.org/49035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12516 0039d316-1c4b-4281-b951-d872f2087c98
* Adding a Set() method for copying (not taking ownership) a variant over to ↵tommi@chromium.org2009-03-253-0/+91
| | | | | | | | the ScopedVariant and a couple of new constructors for IDispatch and IUnknown. includes tests. Review URL: http://codereview.chromium.org/42569 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12506 0039d316-1c4b-4281-b951-d872f2087c98
* Eliminate precarious use of const_cast<wchar*>(wstring.get())mark@chromium.org2009-03-251-6/+5
| | | | | | Review URL: http://codereview.chromium.org/42617 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12503 0039d316-1c4b-4281-b951-d872f2087c98
* Validate clipboard bitmap size data.estade@chromium.org2009-03-251-0/+14
| | | | | | Review URL: http://codereview.chromium.org/53040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12484 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: write images to clipboard.estade@chromium.org2009-03-254-12/+25
| | | | | | | | Writing a bitmap to the clipboard is a rather slow operation, as it involves piping it over IPC and then converting it to a PNG. Review URL: http://codereview.chromium.org/42592 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12482 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup in chrome/browserphajdan.jr@chromium.org2009-03-254-18/+18
| | | | | | | | | | - make more things const - remove unreferenced declaration of GetGoButton - fix indentation in one place Review URL: http://codereview.chromium.org/53053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12475 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "POSIX: allow WaitableEvents to be deleted while watching them."agl@chromium.org2009-03-255-108/+64
| | | | | | | This reverts commit r12459 - it broke the world. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12462 0039d316-1c4b-4281-b951-d872f2087c98
* POSIX: allow WaitableEvents to be deleted while watching them.agl@chromium.org2009-03-255-64/+108
| | | | | | | | | | | | | | | | | | | On Windows, one can close a HANDLE which is currently being waited on. The MSDN documentation says that the resulting behaviour is 'undefined', but it doesn't crash. Currently, on POSIX, one couldn't use WaitableEventWatcher to watch an event which gets deleted. This mismatch has bitten us several times now. This patch allows WaitableEvents to be deleted while a WaitableEventWatcher is still watching them. It applies only to watchers, the usual Wait() and WaitMany() calls still require that all their target be valid until the end of the call. http://crbug.com/8809 Review URL: http://codereview.chromium.org/53026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12459 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up another string templatemark@chromium.org2009-03-251-13/+9
| | | | | | Review URL: http://codereview.chromium.org/42591 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12457 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor Quantify Profiling a bit.asargent@chromium.org2009-03-253-10/+20
| | | | | | | | | This lets you use regular full-optimization Release builds. Review URL: http://codereview.chromium.org/53022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12424 0039d316-1c4b-4281-b951-d872f2087c98
* Added a thread pool to WorkerPool for Linux that dynamically adds threads as ↵willchan@chromium.org2009-03-246-19/+504
| | | | | | | | needed. Review URL: http://codereview.chromium.org/39102 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12414 0039d316-1c4b-4281-b951-d872f2087c98
* Use scoped_ptr to prevent memory leaks on test failures.patrick@chromium.org2009-03-241-19/+12
| | | | | | Review URL: http://codereview.chromium.org/50027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12409 0039d316-1c4b-4281-b951-d872f2087c98
* Explicitly instantiate the string16 backer exactly once, avoiding problems inmark@chromium.org2009-03-242-0/+43
| | | | | | | shared library builds and an Apple ld bug Review URL: http://codereview.chromium.org/49023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12406 0039d316-1c4b-4281-b951-d872f2087c98
* SHARED_INTERMEDIATE_DIR is a better place for generated headers.mmoss@chromium.org2009-03-242-6/+4
| | | | | | | | | | Also, use chrome path calculated relative to version.sh, since the passed-in path isn't correct on the buildbot. Review URL: http://codereview.chromium.org/42574 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12401 0039d316-1c4b-4281-b951-d872f2087c98
* Add a new histogram macro to replace a few explicit calls.rvargas@google.com2009-03-241-1/+12
| | | | | | | | There is no real change in functionality. Review URL: http://codereview.chromium.org/42514 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12400 0039d316-1c4b-4281-b951-d872f2087c98
* Include version information in Linux chrome.mmoss@chromium.org2009-03-243-23/+39
| | | | | | | | | | | This makes use of, and scons-enables, the Linux version header in Issue 45028. BUG=8132 Review URL: http://codereview.chromium.org/42542 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12387 0039d316-1c4b-4281-b951-d872f2087c98
* Use a correct templatized WriteInto for all string typesmark@chromium.org2009-03-241-13/+5
| | | | | | Review URL: http://codereview.chromium.org/53014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12372 0039d316-1c4b-4281-b951-d872f2087c98
* Generate header file of Linux version information (currently gyp-only).mmoss@chromium.org2009-03-242-0/+56
| | | | | | | | | | | | This isn't yet #included in file_version_info_linux.cc since we haven't officially cutover to the gyp build. BUG=8132 Review URL: http://codereview.chromium.org/45028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12369 0039d316-1c4b-4281-b951-d872f2087c98
* Disable DirectoryWatcherTest.SubDirNonRecursive on Windows versionsphajdan.jr@chromium.org2009-03-242-3/+14
| | | | | | | | earlier than Vista. Review URL: http://codereview.chromium.org/42564 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12361 0039d316-1c4b-4281-b951-d872f2087c98
* Enable non-recursive watches for Windows DirectoryWatcher.phajdan.jr@chromium.org2009-03-243-57/+42
| | | | | | | | | | | - enable test for it on Windows - clean up directory_watcher_unittest.cc http://crbug.com/5072 Review URL: http://codereview.chromium.org/42388 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12358 0039d316-1c4b-4281-b951-d872f2087c98
* Fixing problem with ScopedVariant in official builds.tommi@chromium.org2009-03-232-4/+1
| | | | | | | | BUG=9197 TBR=jon Review URL: http://codereview.chromium.org/47007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12318 0039d316-1c4b-4281-b951-d872f2087c98
* Skip WatchdogTest.AlarmTest under Valgrind to avoid five-minute hang.dkegel@google.com2009-03-231-0/+2
| | | | | | | | See http://crbug.com/9194 Review URL: http://codereview.chromium.org/52025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12312 0039d316-1c4b-4281-b951-d872f2087c98
* Improve scoped_cftyperef<> and scoped_nsobject<> reset() semantics.mark@chromium.org2009-03-232-11/+11
| | | | | | Review URL: http://codereview.chromium.org/52018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12301 0039d316-1c4b-4281-b951-d872f2087c98