summaryrefslogtreecommitdiffstats
path: root/chrome/common
Commit message (Collapse)AuthorAgeFilesLines
* fix checkdepstc@google.com2009-02-131-0/+1
| | | | | | | | | TBR=deanm Review URL: http://codereview.chromium.org/20369 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9787 0039d316-1c4b-4281-b951-d872f2087c98
* Port remaining .rc data resource files to grd. This includestc@google.com2009-02-136-27/+21
| | | | | | | | debugger_resources.rc, common_resources.rc, and renderer_resources.rc. Review URL: http://codereview.chromium.org/21307 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9784 0039d316-1c4b-4281-b951-d872f2087c98
* add infobar_delegate.cc to the buildtc@google.com2009-02-132-19/+16
| | | | | | | Review URL: http://codereview.chromium.org/20341 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9774 0039d316-1c4b-4281-b951-d872f2087c98
* Mac: build fixagl@chromium.org2009-02-131-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9738 0039d316-1c4b-4281-b951-d872f2087c98
* POSIX: fix Mac buildagl@chromium.org2009-02-131-0/+3
| | | | | | | (It worked on the try bot, what's different with the builders?) git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9737 0039d316-1c4b-4281-b951-d872f2087c98
* POSIX: Add FileDescriptorSet unittestagl@chromium.org2009-02-131-0/+154
| | | | | | | Review URL: http://codereview.chromium.org/21296 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9736 0039d316-1c4b-4281-b951-d872f2087c98
* Add TableModel to the scaffold, so we don't depend on views.thestig@chromium.org2009-02-131-0/+17
| | | | | | Review URL: http://codereview.chromium.org/21315 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9730 0039d316-1c4b-4281-b951-d872f2087c98
* Relocate a NOTIMPLEMENTED() to its proper place.evan@chromium.org2009-02-131-0/+6
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9722 0039d316-1c4b-4281-b951-d872f2087c98
* Port most of MetricsService to Mac and linux.paul@chromium.org2009-02-132-18/+9
| | | | | | Review URL: http://codereview.chromium.org/20338 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9720 0039d316-1c4b-4281-b951-d872f2087c98
* Fix tiny fonts in Mac/Linux. Tony deserves credit for this.evan@chromium.org2009-02-131-0/+1
| | | | | | | Review URL: http://codereview.chromium.org/21323 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9716 0039d316-1c4b-4281-b951-d872f2087c98
* Reapply of Tony's r9656 (Add chrome/browser/ssl/ssl_manager.cc to the build.)estade@chromium.org2009-02-122-42/+11
| | | | | | | | | | | Also port 2 more files in browser/ssl to posix * ssl_policy * ssl_blocking_page Review URL: http://codereview.chromium.org/21297 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9703 0039d316-1c4b-4281-b951-d872f2087c98
* Add a --load-plugin flag to load an NPAPI plugin from an arbitrary location.mpcomplete@google.com2009-02-122-0/+4
| | | | | | | This is to support running Chromebot to exercise a given NPAPI plugin. Review URL: http://codereview.chromium.org/21279 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9701 0039d316-1c4b-4281-b951-d872f2087c98
* Use real URLFixerUpper. Makes URLs on command line work.evan@chromium.org2009-02-122-9/+13
| | | | | | | Review URL: http://codereview.chromium.org/21303 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9697 0039d316-1c4b-4281-b951-d872f2087c98
* pulling over more small bites of TabContents into scaffolding.pinkerton@chromium.org2009-02-122-4/+34
| | | | | | Review URL: http://codereview.chromium.org/20312 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9687 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
* Step one on fixing the dynamic run.evan@chromium.org2009-02-121-0/+6
| | | | | | | Review URL: http://codereview.chromium.org/21295 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9679 0039d316-1c4b-4281-b951-d872f2087c98
* POSIX: Rename DescriptorSet to FileDescriptorSetagl@chromium.org2009-02-1211-282/+54
| | | | | | | This is just following up on a code review promise. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9676 0039d316-1c4b-4281-b951-d872f2087c98
* Fix comment of silent-dump-on-dcheck.huanr@chromium.org2009-02-121-2/+3
| | | | | | Review URL: http://codereview.chromium.org/20307 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9675 0039d316-1c4b-4281-b951-d872f2087c98
* POSIX: Make copies of descriptor_set.[cc|h] in preparation of a renameagl@chromium.org2009-02-122-0/+226
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9674 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Add chrome/browser/ssl/ssl_manager.cc to the build."tc@google.com2009-02-122-70/+42
| | | | | | | | | This reverts commit 9656. Review URL: http://codereview.chromium.org/20308 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9672 0039d316-1c4b-4281-b951-d872f2087c98
* Stub out ~ScopableCPRequest().evan@chromium.org2009-02-121-0/+5
| | | | | | | Review URL: http://codereview.chromium.org/20295 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9660 0039d316-1c4b-4281-b951-d872f2087c98
* Add chrome/browser/ssl/ssl_manager.cc to the build.tc@google.com2009-02-122-42/+70
| | | | | | | Review URL: http://codereview.chromium.org/21275 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9656 0039d316-1c4b-4281-b951-d872f2087c98
* This is an attempt at finding the reason for the page_cycler slowness caused bymad@chromium.org2009-02-123-4/+10
| | | | | | | | | | | | | | | the new resize corner. Local experiment led me to believe that it is WebKit that is slower when we specify a resize corner area. To validate this hypothesis, I always return an empty rect to WebKit, but I still compute and push the rect to the render widget and I also draw the bitmap even if this will cause it to be drawn on top of the scroll bars when there is only one. TBR=brettw git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9654 0039d316-1c4b-4281-b951-d872f2087c98
* Suppress error dialog in headless mode whenhuanr@chromium.org2009-02-121-0/+3
| | | | | | | | running with --enable-dcheck. Review URL: http://codereview.chromium.org/20292 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9649 0039d316-1c4b-4281-b951-d872f2087c98
* Make fav_icon_helper compile on POSIX, remove some unneeded #includes.thestig@chromium.org2009-02-121-9/+0
| | | | | | Review URL: http://codereview.chromium.org/20286 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9647 0039d316-1c4b-4281-b951-d872f2087c98
* POSIX: Clean up DescriptorSetagl@chromium.org2009-02-126-63/+143
| | | | | | | | | | | | | | | | | | | | | | | | | | In general, the IPC Message objects are const and the iterator state is a void* kept by the code which is doing the deserialisation. However, now that we have an array of file descriptors, the index of the next file descriptor is part of the iteration state and is kept /inside/ the Message (in the DescriptorSet). This means that it's a mutable member, which is never too nice and also, since the logging functions want to parse a message multiple times, we've had to turn off returning an error when one runs off the end of the array. Also, the Message copy constructor and assignment function alters the /source/ Message, by stealing all of its descriptors This patch encodes the index of each file descriptor on the wire. So the state is moved from inside the DescriptorSet into the serialised data. Additionally, the DescriptorSet is made into a lazyily created scoped_refptr, solving the problems with copying messages. Review URL: http://codereview.chromium.org/20275 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9644 0039d316-1c4b-4281-b951-d872f2087c98
* POSIX: basic IPC loggingagl@chromium.org2009-02-127-42/+82
| | | | | | | | | | For the moment, we enable IPC logging with an environment variable (CHROME_IPC_LOGGING) and log everything to stderr. Review URL: http://codereview.chromium.org/20156 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9643 0039d316-1c4b-4281-b951-d872f2087c98
* OSX: Workaround CMSG_FIRSTHDR bugagl@chromium.org2009-02-121-17/+41
| | | | | | | | | | | | | | | | | | | | | | | On OSX, CMSG_FIRSTHDR will return a pointer into the control buffer space when controllen == 0. We work around by testing for a non-zero controllen before trying to parse control messages. Test case: int main() { struct msghdr msg; msg.msg_control = &msg; msg.msg_controllen = 0; if (CMSG_FIRSTHDR(&msg)) printf("Bug found!\n"); } Review URL: http://codereview.chromium.org/21283 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9640 0039d316-1c4b-4281-b951-d872f2087c98
* Change url wstrings to GURLSestade@chromium.org2009-02-122-2/+2
| | | | | | Review URL: http://codereview.chromium.org/20273 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9635 0039d316-1c4b-4281-b951-d872f2087c98
* Make tab_restore_service.cc compile on Mac and Linux.jhawkins@chromium.org2009-02-121-10/+4
| | | | | | Review URL: http://codereview.chromium.org/23022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9632 0039d316-1c4b-4281-b951-d872f2087c98
* Make previous change actually work.evan@chromium.org2009-02-121-27/+1
| | | | | | | Review URL: http://codereview.chromium.org/25002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9629 0039d316-1c4b-4281-b951-d872f2087c98
* Bring history.cc and dependents into the build.evan@chromium.org2009-02-112-75/+23
| | | | | | | Review URL: http://codereview.chromium.org/20284 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9622 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor plugin process code in the browser process so that the ↵jam@chromium.org2009-02-117-33/+148
| | | | | | | | browser/about:memory/task manager/metrics code doesn't depend on PluginProcessHost pointers. In a future changelist I'll add one central child process registry in the browser process. Review URL: http://codereview.chromium.org/20196 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9621 0039d316-1c4b-4281-b951-d872f2087c98
* Port CrossSiteResourceHandler to Mac and Linux.paul@chromium.org2009-02-111-40/+0
| | | | | | | | (Was http://codereview.chromium.org/23019) Review URL: http://codereview.chromium.org/20274 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9612 0039d316-1c4b-4281-b951-d872f2087c98
* POSIX: Change FD passing test to send many messagesagl@chromium.org2009-02-111-17/+26
| | | | | | | | | | | | (This is mostly an adoption of Jeremy's patch.) Also, switch from using /dev/random to /dev/zero. Reading from /dev/random can drain the system entropy pool and block. Review URL: http://codereview.chromium.org/21269 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9609 0039d316-1c4b-4281-b951-d872f2087c98
* Make session_service.cc compile on Mac and Linux.jhawkins@chromium.org2009-02-111-17/+76
| | | | | | Review URL: http://codereview.chromium.org/23018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9608 0039d316-1c4b-4281-b951-d872f2087c98
* Implement more of the TabContentsDelegate to hook up loading URLs from the ↵pinkerton@chromium.org2009-02-112-35/+82
| | | | | | | | location bar where there is UI to do so. Review URL: http://codereview.chromium.org/21264 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9601 0039d316-1c4b-4281-b951-d872f2087c98
* The Chrome Automation framework is based on a homegrown request response IPC ↵ananta@chromium.org2009-02-111-0/+38
| | | | | | | | | | model and thus ends up duplicating a lot of functionality already available in the SyncChannel. This CL gets the automation framework to use the SyncChannel. The request response IPCs have been changed to sync IPCs. Review URL: http://codereview.chromium.org/20189 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9585 0039d316-1c4b-4281-b951-d872f2087c98
* POSIX: Transfer network data using shared memoryagl@chromium.org2009-02-1110-50/+49
| | | | | | | | | | | | | | | | | | | | | | This patch adds the long planned support for sharing memory on POSIX by transporting file descriptors. It largely builds on the shared memory cleanup work by jrg. We move FileDescriptor out of chrome/common/file_descriptor_posix.h and into base/file_descriptor_posix.h. Since all that's left in the chrome/common verion is the DescriptorSet, those files are renamed to descriptor_set.[h|cc]. The SharedMemoryHandle on POSIX then becomes a typedef to a FileDescriptor and thus can be serialised over IPC. After that, it's mostly a case of cleaning up those snippets of code which considered SharedMemoryHandles to be scaler values. Review URL: http://codereview.chromium.org/21208 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9580 0039d316-1c4b-4281-b951-d872f2087c98
* Fix some files in common. I changed this a while ago but forgot to check it inbrettw@chromium.org2009-02-111-1/+5
| | | | | | | since it conflicted. It didn't break the build since they were only headers. Review URL: http://codereview.chromium.org/21249 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9573 0039d316-1c4b-4281-b951-d872f2087c98
* Redo my IPC change, undoing the linker dependency.jam@chromium.org2009-02-113-16/+34
| | | | | | Review URL: http://codereview.chromium.org/21225 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9557 0039d316-1c4b-4281-b951-d872f2087c98
* Port some strings in download/save_package.ccestade@chromium.org2009-02-111-8/+8
| | | | | | Review URL: http://codereview.chromium.org/23004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9547 0039d316-1c4b-4281-b951-d872f2087c98
* Back out parts of r9537 to fix Linux build bustage.jeremy@chromium.org2009-02-111-22/+14
| | | | | | Review URL: http://codereview.chromium.org/20249 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9544 0039d316-1c4b-4281-b951-d872f2087c98
* Make sure we copy the file descriptor set when assigning IPC::Messagespaul@chromium.org2009-02-111-0/+3
| | | | | | | on posix. Review URL: http://codereview.chromium.org/20248 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9542 0039d316-1c4b-4281-b951-d872f2087c98
* Unittest gardening on MacOS X:shess@chromium.org2009-02-111-26/+21
| | | | | | | | | | | | | | | | | | | | - base/gfx/rect_unittest.cc had a typo - base/waitable_event_watcher_unittest.cc enabled - chrome/common/pref_member_unittest.cc enabled - chrome/common/json_value_serializer_unittest.cc had a Windows-only bit which currently works fine on Mac. - These worked once an anonymous namespace was cleared up: chrome/browser/history/query_parser_unittest.cc chrome/browser/history/url_database_unittest.cc chrome/common/json_value_serializer_unittest.cc Some required minor editting to remove anonymous namespaces for test classes. Review URL: http://codereview.chromium.org/20241 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9539 0039d316-1c4b-4281-b951-d872f2087c98
* * Fix error checking for mmap() for POSIX shared memory.jeremy@chromium.org2009-02-111-14/+22
| | | | | | | | * Make fd-over-IPC test send multiple FDs. Review URL: http://codereview.chromium.org/21238 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9537 0039d316-1c4b-4281-b951-d872f2087c98
* Make browsing_data_remover.cc compile on Mac and Linux.jhawkins@chromium.org2009-02-111-2/+32
| | | | | | Review URL: http://codereview.chromium.org/21232 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9533 0039d316-1c4b-4281-b951-d872f2087c98
* Add test to check that FDs are sent through the OS X Sandbox ok.jeremy@chromium.org2009-02-103-30/+117
| | | | | | Review URL: http://codereview.chromium.org/21223 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9519 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 9493.kuchhal@chromium.org2009-02-103-10/+4
| | | | | | Review URL: http://codereview.chromium.org/21231 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9517 0039d316-1c4b-4281-b951-d872f2087c98
* Remove tab_util from scaffolding.paul@chromium.org2009-02-102-25/+0
| | | | | | Review URL: http://codereview.chromium.org/20207 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9495 0039d316-1c4b-4281-b951-d872f2087c98