Граф коммитов

282 Коммитов

Автор SHA1 Сообщение Дата
Justin Lebar 23b86d0ba9 Bug 857152 - Make IPC channels more robust against use after being closed. r=bent, a=tef+ 2013-04-03 15:54:00 +02:00
Justin Lebar bcbb86b736 Bug 854880 - Make canceling a RunnableFunction actually cancel the task. r=bent, a=tef+ 2013-03-28 14:25:58 -04:00
vliu c871b02cef Bug 849330 - Camera recording needs AID_SDCARD_RW capability. r=dhylands, a=leo+ 2013-03-13 14:44:43 +08:00
stuartmorgan@chromium.org 9ee95f4d42 Bug 842550 - Simplify ScheduleDelayedWork implementation on Mac. rs=cjones, a=tef+
Imported from:
> From: stuartmorgan@chromium.org <stuartmorgan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
> Date: Wed, 25 Apr 2012 15:28:55 +0000 (+0000)
> Subject: Simplify ScheduleDelayedWork implementation on Mac
> X-Git-Url: http://git.chromium.org/gitweb/?p=chromium.git;a=commitdiff_plain;h=18e6c782965d2784995b011977777b10687bb9c0
>
> Simplify ScheduleDelayedWork implementation on Mac
>
> Instead of round-tripping through Time::Exploded, which seems to be a legacy of the method having a different argument type, just calculate the new timer firing time directly from the difference in time ticks.
>
> BUG=None
> TEST=None
>
>
> Review URL: http://codereview.chromium.org/10227001
>
> git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133916 0039d316-1c4b-4281-b951-d872f2087c98
2013-02-21 18:10:59 -08:00
jar@chromium.org, L. David Baron 8dd61233f7 Bug 842550 - Switch to using TimeTicks rather than Time in message loops. rs=cjones, a=tef+
The ipc/chromium/src/base/ changes here (except those mentioned below)
are the majority of the base/ changes (excluding those that patch code
that does not exist yet in our copy) in:
> From: jar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
> Date: Sat, 6 Nov 2010 22:23:29 +0000 (+0000)
> Subject: Switch to using TimeTicks rather than Time in message loops
> X-Git-Url: http://git.chromium.org/gitweb/?p=chromium.git;a=commitdiff_plain;h=f592c218c18bd1f8308489aaef2e329244ced330
>
> Switch to using TimeTicks rather than Time in message loops
>
> Switch to using TimeTicks rather than Time so that we
> are not dependent on changes in the system clock.
>
> r=mbelshe,darin
> Review URL: http://codereview.chromium.org/3884001
>
> git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65322 0039d316-1c4b-4281-b951-d872f2087c98

The ipc/glue changes, and the message_pump_android.* and
message_pump_qt.* changes in ipc/chromium/src/base/, change signatures
to match.
2013-02-21 18:10:59 -08:00
Ben Turner 51b9ecdf11 Bug 834526, r+a=cjones. 2013-01-24 17:25:01 -08:00
Chris Jones 16ab71950a Rollup of bug 786631: Get processes with non-default permissions on the prelaunch fast path. r=dhylands,r=jlebar a=overholt
Contains these patches

Bug 786631, part 1: Refactor privilege adjustment. r=dhylands
Bug 786631, part 2: Make the prelaunch process totipotent and specialize when it's taken. r=jlebar
2013-01-17 12:06:36 -08:00
Ryan VanderMeulen d983029a43 Backed out changeset 0cdacae4e612 (bug 786631) for bustage. 2013-01-24 15:28:11 -05:00
Chris Jones 7c39ab921f Rollup of bug 786631: Get processes with non-default permissions on the prelaunch fast path. r=dhylands,r=jlebar a=overholt
Contains these patches

Bug 786631, part 1: Refactor privilege adjustment. r=dhylands
Bug 786631, part 2: Make the prelaunch process totipotent and specialize when it's taken. r=jlebar
2013-01-17 12:06:36 -08:00
Ryan VanderMeulen e2cc665f49 Backed out 2 changesets (bug 786631) for win32 bustage. a=backout 2013-01-19 21:14:49 -05:00
Chris Jones 473f59b284 Bug 786631 - Get processes with non-default permissions on the prelaunch fast path. r=dhylands, r=jlebar, a=tef+
Contains these patches

Bug 786631, part 1: Refactor privilege adjustment. r=dhylands
Bug 786631, part 2: Make the prelaunch process totipotent and specialize when it's taken. r=jlebar
2013-01-17 12:06:36 -08:00
Ehsan Akhgari 000512c4fc Bug 831279 - Part 1: Backout changeset 9adf5ca922a4 (bug 798354) because it relied on the assumption that C++98 is a sane language and allows sizeof(class::member), but that sanity has just been added to C++11, a=overholt 2013-01-16 17:46:29 -05:00
Chris Jones 9b0f562a99 Bug 828285: Run camera with lower privileges. r=dhylands a=overholt 2013-01-09 14:50:41 +01:00
Chris Jones f43563fbcb Bug 822510 - Add specific privilege levels for camera and video, and enable that for video. r=jlebar, r=kang, a=blocking-basecamp 2012-12-19 23:41:08 -08:00
Ryan VanderMeulen ffee0a86cf Merge m-b to b2g18. a=merge 2012-12-23 14:58:26 -05:00
Landry Breuil cb14a1da25 Bug 823240 - include sys/proc.h on OpenBSD to access P_TRACED flag, needed since r1.127 of sys/sysctl.h. r=cjones a=akeybl 2012-12-20 13:46:39 +01:00
Chris Jones 617bf49821 Bug 820560: Run unprivileged processes with different uids when possible. r=kang a=blocking-basecamp 2012-12-17 15:39:34 -08:00
Nicholas Nethercote c7d6cf40b8 Bug 811596 - Shrink the IPC message buffer after each message is processed. r=cjones, a=akeybl 2012-11-19 20:52:44 -08:00
Ben Turner 74b51f9696 Bug 808743 - Better protection for PBrowser shutdown and database invalidation in multiprocess scenarios. r=khuey, r=cjones, a=blocking-basecamp 2012-11-09 19:29:07 -08:00
Dave Hylands 2ff8d2b044 Bug 801362 - Fixed typo (>= s/b <=) introduced in bug 797239. r=cjones, a=blocking-basecamp 2012-10-13 21:25:23 -07:00
Dave Hylands e08238b617 Bug 797239 - Fix message loop to allow idle tasks to work in child content processes. r=cjones, a=blocking-basecamp 2012-10-08 22:46:18 -06:00
Ehsan Akhgari 4ac3852d87 Bug 798354 - Remove the sizecheck global variable in ipc_channel_posix.cc since its only needed at compile time, and there are better ways to do this; r=cjones 2012-10-05 16:28:21 -04:00
Ehsan Akhgari 551973987d Bug 798377 - Don't use the deprecated stat64 function in file_util_posix.cc; r=cjones
--HG--
extra : rebase_source : efd7b826e462851d475e7307bd95da29514daec7
2012-10-05 16:17:21 -04:00
Ehsan Akhgari a2b18d2454 Bug 798355 - Remove the base class conversion operator from MachMsgPortDescriptor because it will never be used; r=cjones
--HG--
extra : rebase_source : d0941e3296856a871d8226b51888f086efd559c4
2012-10-05 16:16:33 -04:00
Ehsan Akhgari e027d31e94 Bug 798356 - Do not convert a boolean literal into a null pointer constant in TransportDIB::Map; r=cjones
--HG--
extra : rebase_source : 1d7a6be5ee0b090b9a4cf73158b1588eaef55390
2012-10-05 16:15:34 -04:00
Ehsan Akhgari 53048448f4 Bug 798349 - Only include TransportDIB::sequence_num_ in Windows, as it is not used in other platforms; r=cjones
--HG--
extra : rebase_source : ecc6f194ea415ba5a112227cc7333a30a654abe5
2012-10-05 16:11:35 -04:00
Ehsan Akhgari a2c114b534 Bug 798350 - Remove ChildProcessHost::resource_dispatcher_host_ since it is unused, and simplify the ChildProcessHost constructor; r=cjones
--HG--
extra : rebase_source : 4908129a3d9d2e57ebb0e7ef7b31dca14bedd72c
2012-10-05 16:09:46 -04:00
Nathan Froyd 02948d84c9 Bug 746714 - add a memory reporter for telemetry; r=taras,njn 2012-10-05 12:19:14 -04:00
Ehsan Akhgari 17af47564d Mark AsyncWaiter as final, no bug, blanket-r=bzbarsky 2012-10-05 10:48:49 -04:00
Jacek Caban 90ce391b92 Bug 797316 - Fix -Werror=conversion-null errors in Windows-only code (ipc/ part) r=bent
--HG--
extra : rebase_source : e20bd1677b784a9279db1655dea2bcaffb346774
2012-10-04 10:32:45 +02:00
Ms2ger f79221cd0a Bug 793263 - Remove #error from base/basictypes.h; r=bsmedberg 2012-10-02 10:24:12 +02:00
Ms2ger b138fe0e97 Bug 792379 - Don't include prtypes.h in base/basictypes.h; r=cjones 2012-10-02 10:24:12 +02:00
Ehsan Akhgari 87bfca191a Merge the landing of nsresult-enum on mozilla-central 2012-09-21 14:49:57 -04:00
Chris Peterson ffc8bf2738 Bug 778980 - Part 4a: Fix gcc -Wconversion-null warnings in ipc/chromium. r=bsmedberg
--HG--
extra : rebase_source : f74cecfefcdd599cf888d961906d0c033a9ee786
2012-09-21 09:28:13 -07:00
Jan Beich b92133ab14 Bug 791838 - lwpid_t is defined in sys/types.h, explicitly include it. r=cjones 2012-09-19 20:24:58 -04:00
Aryeh Gregor 93caa9fc7e Bug 777292 - Make nsresult an enum; r=ehsan,cjones,bsmedberg 2012-08-07 11:27:45 +03:00
Ms2ger 711f1fd480 Bug 787933 - Stop using stdin types in IPC code; r=bsmedberg+cjones sr=cjones 2012-09-17 10:37:20 +02:00
Jan Beich 92f76dd4ac Bug 789817 - Fix BeingDebugged() in IPC on NetBSD/OpenBSD. r=cjones 2012-09-11 21:49:39 -04:00
Jan Beich 2bb1187455 Bug 787588 - d_reclen is dead on DragonFly since 64bit inode support. r=landry 2012-09-06 21:47:27 +02:00
Landry Breuil f6add9be1c Bug 787040. Fix build warnings under ipc/. r=ms2ger 2012-08-31 10:18:42 +02:00
Jan Beich 61c455b317 Bug 787279 - Unbreak OS_BSD build after bug 782456. r=cjones 2012-08-31 10:17:24 +02:00
Chris Jones 0e062741d9 Bug 782456, part 1: Let clients of GeckoChildProcessHost specify privileges. r=bent 2012-08-29 09:24:48 -03:00
Jan Beich 647decf129 Bug 753046 - Apply libc++ fixes after OS_BSD changes. r=cjones 2012-08-28 23:17:07 +02:00
Martin Husemann de9ae86824 Bug 753046 - Add IPC support for BSDs, build glue. r=khuey,cjones 2012-08-28 23:16:51 +02:00
Martin Husemann 7579a5c9e1 Bug 753046 - Add IPC support for BSDs, ipc/chromium part. r=cjones 2012-08-28 23:16:41 +02:00
Martin Husemann 5f7b3202b0 Bug 753046 - Add IPC support for BSDs, process_util_bsd.cc file. r=cjones 2012-08-28 23:15:29 +02:00
Jan Beich 88fdf09070 Bug 753046 - Add IPC support for BSDs, dir_reader_bsd.h file. rs=cjones 2012-08-28 23:15:18 +02:00
Jan Beich f9928b922f Bug 785026 - Merge file_util_linux.cc into file_util_posix.cc. r=cjones 2012-08-25 22:29:06 -04:00
Chris Jones 967d4da9ae Bug 636063, part 2: Backend support for |compress|d messages. r=bent 2012-08-25 01:25:08 -07:00
Ms2ger 1023162c9c Back out bug 636063, bug 774988 and bug 784647 for busting all of Android. 2012-08-25 13:18:18 +02:00