summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* make unit test executable named "base_unittest"pinkerton@google.com2008-08-131-8/+8
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@812 0039d316-1c4b-4281-b951-d872f2087c98
* make the GTest executables follow the naming conventions for other platforms. pinkerton@google.com2008-08-132-44/+44
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@811 0039d316-1c4b-4281-b951-d872f2087c98
* Removing OFFICIAL_BUILD as we do not really need it when we have ↵rahulk@google.com2008-08-131-1/+2
| | | | | | CHROME_BUILD_TYPE=_official. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@810 0039d316-1c4b-4281-b951-d872f2087c98
* Adding preprocessor definitions to separate Google Chrome from Chromium. rahulk@google.com2008-08-135-2/+27
| | | | | | | | | | | - I assume we will need to build Debug version also for Google Chrome. - Code changes will come soon that will rely on GOOGLE_CHROME_BUILD being defined to add Google branding. - Currently I do not want to change the default behavior so it is inhreiting chromium_build_google_chrome.vsprops. Once buildbot scripts have been configured properly and we know what to do for developers machines, we will inherit chromium_build$CHROMIUM_BUILD.vsprops BUG=1296800 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@809 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Frenglish transliteration.maruel@google.com2008-08-131-4/+4
| | | | | | | NO CODE CHANGE. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@808 0039d316-1c4b-4281-b951-d872f2087c98
* First, this removes the dependency of NavigationController on thebrettw@google.com2008-08-1319-346/+360
| | | | | | | | | | | | | | | | | | | | | | SessionService. There were already some notifications that could be used to tell what's going on, and I filled out the rest. I moved some notifications from various places to the NavigationController. In ssl_blocking_page, I removed a notification because it also calls DidNavigateToEntry which does the notification (we got duplicate calls before). In browser.cc I removed the tab parented notification since this is already called by NavigationController::SetWindowID. I removed some obsolete notifications and associated structures, especially in history (like HOST_DELETED that was never issued). I renamed the window_map_ in the MetricsService becuase it was actually a map of controllers and Windows. This also reorders the navigation_types header file to try to bring some order to it. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@807 0039d316-1c4b-4281-b951-d872f2087c98
* Unify maintenance of NumberFormat objects into a cross-platform Singleton. ↵mmentovai@google.com2008-08-136-138/+20
| | | | | | Clean up some dead code and dead files. WideToNativeMB and its inverse have been obsoleted by SysWideToNativeMB in sys_string_conversions*. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@806 0039d316-1c4b-4281-b951-d872f2087c98
* Moves bookmark bar context menu controller into its own files alongsky@google.com2008-08-137-391/+694
| | | | | | | | | | | with a test. BUG=none TEST=none; just make sure context menu for bookmark bar still works git-svn-id: svn://svn.chromium.org/chrome/trunk/src@805 0039d316-1c4b-4281-b951-d872f2087c98
* Reference the build script in the project. This has no impact except being ↵maruel@google.com2008-08-131-0/+4
| | | | | | | | | clearer on which file is being used when building this project. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@804 0039d316-1c4b-4281-b951-d872f2087c98
* Add missing observer_list unittest and singleton unittest is for all platforms.deanm@google.com2008-08-131-1/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@803 0039d316-1c4b-4281-b951-d872f2087c98
* Kill check handler. It seems to be unused, and is implemented using ugly SEHdeanm@google.com2008-08-136-214/+0
| | | | | | | handlers. If we want this we could reimplement it cleanly. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@802 0039d316-1c4b-4281-b951-d872f2087c98
* Enable back SavePageTest.SaveHTMLOnly since it was mostly failing on Windows ↵maruel@google.com2008-08-131-2/+6
| | | | | | | | | | 2000 and add debugging information to know how SavePageTest.SaveCompleteHTML is failing. TBR=rocking git-svn-id: svn://svn.chromium.org/chrome/trunk/src@801 0039d316-1c4b-4281-b951-d872f2087c98
* Disable PrintingLayoutTest.Delayed on Windows 2000 (even though it's already ↵maruel@google.com2008-08-131-1/+5
| | | | | | disabled). Also disable PrintingLayoutTest.IFrame, it's still flaky. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@800 0039d316-1c4b-4281-b951-d872f2087c98
* Don't cast negative values to unsigned. This eliminates warnings in GCC.deanm@google.com2008-08-132-5/+11
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@799 0039d316-1c4b-4281-b951-d872f2087c98
* Implement an interface compatible wcslcpy and strlcpy. Possibly slightlydeanm@google.com2008-08-134-8/+95
| | | | | | | | | | slower than the OpenBSD implementation, but a bit clearer and fits our style. Move file_util_posix to use it now that we have it everywhere. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@798 0039d316-1c4b-4281-b951-d872f2087c98
* Two changes to help track down why session restore test is failing:sky@google.com2008-08-136-16/+40
| | | | | | | | | | | | | 1. Adds a timeout in waiting for a tab to be restored. 2. Adds a bunch of printfs that will hopefully let me figure out where the test is failing. BUG=none TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@797 0039d316-1c4b-4281-b951-d872f2087c98
* Split browser.lib (200 megs) into browser.lib(242 source files, 175 megs) ↵maruel@google.com2008-08-1317-597/+903
| | | | | | | | and browser_views.lib(65 source files, 30 megs). This will hopefully improve link time (well, not as much as I'd like) and will definitely help non-IB compilation parallelization. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@796 0039d316-1c4b-4281-b951-d872f2087c98
* Avoid a global std::stack. Instead embed a next pointer in the managers.deanm@google.com2008-08-132-20/+20
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@795 0039d316-1c4b-4281-b951-d872f2087c98
* AtExitManager cleanup.mmentovai@google.com2008-08-132-15/+16
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@794 0039d316-1c4b-4281-b951-d872f2087c98
* Compile debug_util.cc on all platforms.deanm@google.com2008-08-131-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@793 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the Mac project to build debug_util since r785 added it.mmentovai@google.com2008-08-132-2/+10
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@792 0039d316-1c4b-4281-b951-d872f2087c98
* Roll the V8 deps to a V8 version where the old vcproj files have been ↵sgjesse@google.com2008-08-131-1/+1
| | | | | | | | removed. This will possibly require clobbering of the build bots. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@791 0039d316-1c4b-4281-b951-d872f2087c98
* Build Linux against base_gfx, and we pass convolver and rect unit tests.deanm@google.com2008-08-131-9/+8
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@790 0039d316-1c4b-4281-b951-d872f2087c98
* Add a EOL to the end of convolver_unittest.cc. This eliminates a GCC warning.deanm@google.com2008-08-131-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@789 0039d316-1c4b-4281-b951-d872f2087c98
* Add an EOL to the end of convolver.cc. This eliminates a warning in GCC.deanm@google.com2008-08-131-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@788 0039d316-1c4b-4281-b951-d872f2087c98
* Update base/SConscript to remove Windows only parts from the Linux build.deanm@google.com2008-08-131-10/+15
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@787 0039d316-1c4b-4281-b951-d872f2087c98
* Update a comment about AtExitManager for unit tests. Removes a typo.deanm@google.com2008-08-131-2/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@786 0039d316-1c4b-4281-b951-d872f2087c98
* Make debug_util cross platform, adding BeingDebugged and BreakDebugger. Linuxdeanm@google.com2008-08-137-112/+249
| | | | | | | supported added, and Mac OSX left as a todo for the mac team. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@785 0039d316-1c4b-4281-b951-d872f2087c98
* Implement IntToString-type methods without using a format string. I'm not ↵deanm@google.com2008-08-133-24/+137
| | | | | | sure if this will actually be more efficient. Also will make Int64ToString work on other platforms, since the old code used msvc-only %I64. Added a bunch of methods to have the whole Int/Int64 String/WString suite. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@784 0039d316-1c4b-4281-b951-d872f2087c98
* Reverted r781 V8 deps roll as it caused major build bot failures.sgjesse@google.com2008-08-131-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@783 0039d316-1c4b-4281-b951-d872f2087c98
* Removed reference from the WebKit Visual Studio solution to the project libjscresgjesse@google.com2008-08-131-9/+0
| | | | | | which was removed from V8, and is not used any more. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@782 0039d316-1c4b-4281-b951-d872f2087c98
* Roll the V8 deps to a V8 version where the old vcproj files have been removed.sgjesse@google.com2008-08-131-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@781 0039d316-1c4b-4281-b951-d872f2087c98
* Compile a list of the 34 automated UI test commands we want to run on the ↵finnur@google.com2008-08-133-30/+60
| | | | | | | | distributed tests. The goal is to make a test run of all combinations of 4 (as opposed to 5 now) for a total of 34^4 commands (as opposed to 17^5) and see what comes out of it. We won't be running any random keypresses in this run (except in the Dialog fuzzers), only explicit actions. There were also some discrepancies in how we were using the HTML elements, which I have fixed (Import is now ImportSettings, EditKeywords is now EditSearchEngines and ClearBrowserData is now ClearBrowsingData). I also reordered some functions to match .h file (alphabetical order). git-svn-id: svn://svn.chromium.org/chrome/trunk/src@780 0039d316-1c4b-4281-b951-d872f2087c98
* When I added some new tests in automated_ui_tests I flushed out a crash in ↵finnur@google.com2008-08-131-5/+6
| | | | | | the IDC handler for ViewSource. If Navigate is not called before ViewSource we get a crash when trying to use the output from GetLastCommittedEntry(). To facilitate automatic testing We should instead just check it for null and only do something if a URL is available to us. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@779 0039d316-1c4b-4281-b951-d872f2087c98
* Fix some warnings.evanm@google.com2008-08-131-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@775 0039d316-1c4b-4281-b951-d872f2087c98
* Quick fix regression from previous change to toolbar - forgot to take into ↵beng@google.com2008-08-131-0/+1
| | | | | | | | | account the width of the Go button when sizing the location bar so that the last button on the toolbar (the app menu) spilled off the end. TBR=glen git-svn-id: svn://svn.chromium.org/chrome/trunk/src@774 0039d316-1c4b-4281-b951-d872f2087c98
* IPCSyncChannel cleanup:jabdelmalek@google.com2008-08-132-38/+26
| | | | | | | | -remove reply_lock_ since received_replies_ was only being used on the IPC thread -stop using nested locks git-svn-id: svn://svn.chromium.org/chrome/trunk/src@773 0039d316-1c4b-4281-b951-d872f2087c98
* Add a cross-platform sleep API. We don't use TimeDeltapaulg@google.com2008-08-132-0/+21
| | | | | | here to avoid linking to winmm.dll. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@772 0039d316-1c4b-4281-b951-d872f2087c98
* Fix string_util and its tests for the Mac, GCC, UTF-32 wchar_t platforms, ↵mmentovai@google.com2008-08-137-118/+178
| | | | | | and POSIX systems generally. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@771 0039d316-1c4b-4281-b951-d872f2087c98
* Makes the toolbar/location bar look nice in popup windows.beng@google.com2008-08-137-67/+104
| | | | | | | | Rather than creating a frankenstein separate window type for popups, this just uses BrowserView2, and the regular BrowserToolbarView, but hides all the irrelevant controls. B=1031854 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@770 0039d316-1c4b-4281-b951-d872f2087c98
* Move some bits around in the SConscript that are Windows-specific, and label ↵evanm@google.com2008-08-131-12/+12
| | | | | | one that needs work. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@769 0039d316-1c4b-4281-b951-d872f2087c98
* Parse /proc/cpuinfo to guess the number of available CPUs.evanm@google.com2008-08-131-0/+5
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@768 0039d316-1c4b-4281-b951-d872f2087c98
* Fix race condition in pluginjabdelmalek@google.com2008-08-131-0/+3
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@767 0039d316-1c4b-4281-b951-d872f2087c98
* Add a couple of metrics to help us quantify two cases that can prevent us to ↵cpu@google.com2008-08-1310-57/+131
| | | | | | | | | get crash reports. - Added env_vars to exe project instead of keep duplicating the strings. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@766 0039d316-1c4b-4281-b951-d872f2087c98
* Update icu38 to bring in UTF-32 wchar_t fix for the Mac.mmentovai@google.com2008-08-131-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@765 0039d316-1c4b-4281-b951-d872f2087c98
* Update base.xcodeproj to use string_utils_posix.* instead of string_utils_mac.*awalker@google.com2008-08-131-10/+10
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@764 0039d316-1c4b-4281-b951-d872f2087c98
* Re submitting the histograms change (735)rvargas@google.com2008-08-124-0/+40
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@763 0039d316-1c4b-4281-b951-d872f2087c98
* Manually refcount ReceivedSyncMsgQueue so that we force it to be destructed onjabdelmalek@google.com2008-08-123-10/+20
| | | | | | | | the listener thread. I've fixed the renderer crashes which were happening because SyncChannel was going away before the listener thread. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@762 0039d316-1c4b-4281-b951-d872f2087c98
* git-svn-id: svn://svn.chromium.org/chrome/trunk/src@760 ↵darin@google.com2008-08-127-197/+160
| | | | 0039d316-1c4b-4281-b951-d872f2087c98
* rollback r749darin@google.com2008-08-122-28/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@759 0039d316-1c4b-4281-b951-d872f2087c98