summaryrefslogtreecommitdiffstats
path: root/ppapi/shared_impl
Commit message (Collapse)AuthorAgeFilesLines
* Revert 187427 "PPAPI: Remove threading options; it's always on"karen@chromium.org2013-03-126-75/+62
| | | | | | | | | | | | | | | | | | | | | > PPAPI: Remove threading options; it's always on > > This also re-enables thread checking for the host side resource and var trackers. Before, checking was disabled everywhere. > > BUG=159240,92909 > > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=186925 > Reverted: https://src.chromium.org/viewvc/chrome?view=rev&revision=186939 due to build errors > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=187340 > > Review URL: https://chromiumcodereview.appspot.com/12378050 TBR=dmichael@chromium.org Review URL: https://codereview.chromium.org/12805002 git-svn-id: svn://svn.chromium.org/chrome/branches/1438/src@187668 0039d316-1c4b-4281-b951-d872f2087c98
* PPAPI: Remove threading options; it's always ondmichael@chromium.org2013-03-126-62/+75
| | | | | | | | | | | | | | | | This also re-enables thread checking for the host side resource and var trackers. Before, checking was disabled everywhere. BUG=159240,92909 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=186925 Reverted: https://src.chromium.org/viewvc/chrome?view=rev&revision=186939 due to build errors Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=187340 Review URL: https://chromiumcodereview.appspot.com/12378050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187427 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 187340 "PPAPI: Remove threading options; it's always on"dmichael@chromium.org2013-03-116-75/+62
| | | | | | | | | | | | | | | | | | | > PPAPI: Remove threading options; it's always on > > This also re-enables thread checking for the host side resource and var trackers. Before, checking was disabled everywhere. > > BUG=159240,92909 > > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=186925 > Reverted: https://src.chromium.org/viewvc/chrome?view=rev&revision=186939 due to build errors > > Review URL: https://chromiumcodereview.appspot.com/12378050 TBR=dmichael@chromium.org Review URL: https://codereview.chromium.org/12476028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187346 0039d316-1c4b-4281-b951-d872f2087c98
* PPAPI: Remove threading options; it's always ondmichael@chromium.org2013-03-116-62/+75
| | | | | | | | | | | | | | This also re-enables thread checking for the host side resource and var trackers. Before, checking was disabled everywhere. BUG=159240,92909 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=186925 Reverted: https://src.chromium.org/viewvc/chrome?view=rev&revision=186939 due to build errors Review URL: https://chromiumcodereview.appspot.com/12378050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187340 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 186925 since it breaks many of the builds on the bots (e.g.aberent@google.com2013-03-086-75/+62
| | | | | | | | | | | | | | | | | | http://build.chromium.org/p/chromium.perf/builders/Win%20Builder/builds/45240/steps/compile/logs/stdio). > PPAPI: Remove threading options; it's always on > > This also re-enables thread checking for the host side resource and var trackers. Before, checking was disabled everywhere. > > BUG=159240,92909 > > > Review URL: https://chromiumcodereview.appspot.com/12378050 TBR=dmichael@chromium.org Review URL: https://codereview.chromium.org/12504007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186939 0039d316-1c4b-4281-b951-d872f2087c98
* PPAPI: Remove threading options; it's always ondmichael@chromium.org2013-03-086-62/+75
| | | | | | | | | | | This also re-enables thread checking for the host side resource and var trackers. Before, checking was disabled everywhere. BUG=159240,92909 Review URL: https://chromiumcodereview.appspot.com/12378050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186925 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for Var arrays to ArrayWriter.bbudge@chromium.org2013-03-082-3/+66
| | | | | | | | | BUG=79375 Review URL: https://chromiumcodereview.appspot.com/12560003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186832 0039d316-1c4b-4281-b951-d872f2087c98
* PPAPI: Add VarTracker lock check, fix bugsdmichael@chromium.org2013-02-264-4/+33
| | | | | | | | | | | This started out as a fix for VarArrayBuffer, but it turns out we have a couple of other broken APIs. BUG=178191 Review URL: https://chromiumcodereview.appspot.com/12326106 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184587 0039d316-1c4b-4281-b951-d872f2087c98
* Move file_path.h to base/files.brettw@chromium.org2013-02-242-2/+2
| | | | | | TBR=sky git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184344 0039d316-1c4b-4281-b951-d872f2087c98
* Provide a way to disable Nagle's algorithm on Pepper TCP sockets.wez@chromium.org2013-02-222-0/+39
| | | | | | | | | | | | This CL adds a SetSocketFeature() API to PPB_TCPSocket_Private, supporting one option, to control Nagle's algorithim on the underlying socket. BUG=170248 Review URL: https://chromiumcodereview.appspot.com/12220050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184087 0039d316-1c4b-4281-b951-d872f2087c98
* Replace FilePath with base::FilePath.brettw@chromium.org2013-02-171-1/+1
| | | | | | | | This is im preparation for removing the 'using" in file_path.h Review URL: https://codereview.chromium.org/12286020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183021 0039d316-1c4b-4281-b951-d872f2087c98
* IDL: Autogenerate thunk .cc file for PPB_Viewteravest@chromium.org2013-02-132-0/+50
| | | | | | | | | BUG= Review URL: https://chromiumcodereview.appspot.com/12220082 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182253 0039d316-1c4b-4281-b951-d872f2087c98
* PPB_HostResolver_Private is switched to the new Pepper proxy.ygorshenin@chromium.org2013-02-122-175/+0
| | | | | | | | | | | Blocked on https://chromiumcodereview.appspot.com/11434042. BUG=163861 TEST=browser_tests:*HostResolverPrivate* Review URL: https://chromiumcodereview.appspot.com/11411357 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181908 0039d316-1c4b-4281-b951-d872f2087c98
* Allow separately blacklisting Stage3D baseline mode.jbauman@chromium.org2013-02-122-1/+4
| | | | | | | | | | | | Some older drivers should support Stage3D constrained mode, not baseline mode, so add blacklist entries for that. BUG=172771 Review URL: https://chromiumcodereview.appspot.com/12079111 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181836 0039d316-1c4b-4281-b951-d872f2087c98
* Add explicit base to FilePath.brettw@chromium.org2013-02-072-4/+4
| | | | | | | | This changes the "easy" content subdirectories (everything but browser, renderer, and common) and the ppapi top level directory. Review URL: https://codereview.chromium.org/12208057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181191 0039d316-1c4b-4281-b951-d872f2087c98
* PPAPI: Fix WebSocket Var ref leak receiving binarydmichael@chromium.org2013-02-042-4/+15
| | | | | | | | | | | | | | | | | | | | | | | BUG=173503 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=180093 Reopened; was reverted here: https://src.chromium.org/viewvc/chrome?view=rev&revision=180105 Tests were failing because the IRT was not rebuilt due to a gyp problem, which was fixed here: https://src.chromium.org/viewvc/chrome?view=rev&revision=180182 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=180190 Reverted again due to 2 tests still failing on Windows 7 and XP: https://src.chromium.org/viewvc/chrome?view=rev&revision=180239 They're failing the new leak check. It's not clear yet if that's a real leak or another build issue; I will investigate separately. This CL still fixes a serious leak on all platforms, so landing without the leak check for now to keep the tests green. Review URL: https://chromiumcodereview.appspot.com/12096099 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180428 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 180190dmichael@chromium.org2013-02-022-15/+4
| | | | | | | | | | | | | | | | | | | | | | | | Windows tests are still failing: http://build.chromium.org/p/chromium.win/builders/Win7%20Tests%20%28dbg%29%282%29/builds/12476/steps/browser_tests/logs/stdio http://build.chromium.org/p/chromium.win/buildstatus?builder=XP%20Tests%20%28dbg%29%282%29&number=26342 > PPAPI: Fix WebSocket Var ref leak receiving binary > > BUG=173503 > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=180093 > > Reopened; was reverted here: > https://src.chromium.org/viewvc/chrome?view=rev&revision=180105 > Tests were failing because the IRT was not rebuilt due to a gyp problem, which was fixed here: > https://src.chromium.org/viewvc/chrome?view=rev&revision=180182 > > Review URL: https://codereview.chromium.org/12096099 TBR=dmichael@chromium.org Review URL: https://codereview.chromium.org/12192002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180239 0039d316-1c4b-4281-b951-d872f2087c98
* PPAPI: Fix WebSocket Var ref leak receiving binarydmichael@chromium.org2013-02-012-4/+15
| | | | | | | | | | | | | | | BUG=173503 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=180093 Reopened; was reverted here: https://src.chromium.org/viewvc/chrome?view=rev&revision=180105 Tests were failing because the IRT was not rebuilt due to a gyp problem, which was fixed here: https://src.chromium.org/viewvc/chrome?view=rev&revision=180182 Review URL: https://codereview.chromium.org/12096099 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180190 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 180093koz@chromium.org2013-02-012-15/+4
| | | | | | | | | | | | | | | | | | > PPAPI: Fix WebSocket Var ref leak receiving binary > > BUG=173503 > > > Review URL: https://chromiumcodereview.appspot.com/12096099 This seems to have broken WebSocket tests on the mac bots http://build.chromium.org/p/chromium.mac/builders/Mac10.6%20Tests%20%281%29/builds/35419 http://build.chromium.org/p/chromium.mac/builders/Mac10.7%20Tests%20%281%29/builds/7829 TBR=dmichael@chromium.org Review URL: https://codereview.chromium.org/12096107 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180105 0039d316-1c4b-4281-b951-d872f2087c98
* PPAPI: Fix WebSocket Var ref leak receiving binarydmichael@chromium.org2013-02-012-4/+15
| | | | | | | | | BUG=173503 Review URL: https://chromiumcodereview.appspot.com/12096099 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180093 0039d316-1c4b-4281-b951-d872f2087c98
* Reland: Add trace event Pepper APIelijahtaylor@chromium.org2013-01-283-0/+111
| | | | | | | | | | | | | | | | | | | This facilitates adding trace data to chrome://tracing from plugins. - broke out trace_event.h into trace_event.h/trace_event_internal.h for easier transplanting to plugin code by eliminating dependence on base/. - inlined trace_event.cc methods (4 total) so the trace_event_internal implementation is contained in headers. - added new PPB_TraceEvent_Dev interface (implemented entirely on the plugin side) BUG=93839 TEST=base_unittests, manual for plugin testing Review URL: https://chromiumcodereview.appspot.com/12047066 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179171 0039d316-1c4b-4281-b951-d872f2087c98
* PPAPI: Acquire lock before resource accessdmichael@chromium.org2013-01-231-0/+2
| | | | | | | | | BUG=171539 Review URL: https://chromiumcodereview.appspot.com/12060002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178355 0039d316-1c4b-4281-b951-d872f2087c98
* PPB_UDPSocket_Private is switched to the new Pepper proxy.ygorshenin@chromium.org2013-01-212-322/+0
| | | | | | | | | | BUG=164370 TEST=browser_tests:*UDPSocketPrivate* Review URL: https://chromiumcodereview.appspot.com/11441012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177915 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor FileIO to the new resource host system.bbudge@chromium.org2013-01-194-403/+125
| | | | | | | | | | | | | | | | | | Taking over from Victor's CL: https://codereview.chromium.org/11419131/ Re-landing, with a fix. The original waited to reset the file state until after the callback had completed. This is too late, as the client should be able to perform another file operation during the callback. Changeset #1 is the original patch. The fix is in change set #2 Original author=Victor Hsieh BUG=none TEST=browser_tests --gtest_filter=PPAPINaClNewlibTest.FileIO* Review URL: https://chromiumcodereview.appspot.com/11941022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177830 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper: Introduce ThreadAwareCallback.yzshen@chromium.org2013-01-178-7/+406
| | | | | | | | | | | | Some PPB interfaces have methods that set a custom callback. Usually, the callback has to be called on the same thread as the one it was set on. ThreadAwareCallback keeps track of the target thread, and posts a task to run on it if requested from a different thread. BUG=None TEST=newly added unittests. Review URL: https://chromiumcodereview.appspot.com/11859015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177319 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 176792dpapad@chromium.org2013-01-174-125/+403
| | | | | | | | | | | | | | | | | | | | | | Caused PP_ERROR_INPROGRESS when used from within Native Client. > Refactor FileIO to the new resource host system. > Taking over from Victor's CL: https://codereview.chromium.org/11419131/ > > GetOSDescriptor is done by passing raw file descriptor via in-process messaging. > > Operations are kept exclusive, but the restriction can be easily removed if needed. > > Original author=Victor Hsieh > BUG= > TEST=browser_tests --gtest_filter=PPAPINaClNewlibTest.FileIO* > > Review URL: https://chromiumcodereview.appspot.com/11824039 TBR=bbudge@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177287 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor FileIO to the new resource host system.bbudge@chromium.org2013-01-154-403/+125
| | | | | | | | | | | | | | | | Taking over from Victor's CL: https://codereview.chromium.org/11419131/ GetOSDescriptor is done by passing raw file descriptor via in-process messaging. Operations are kept exclusive, but the restriction can be easily removed if needed. Original author=Victor Hsieh BUG= TEST=browser_tests --gtest_filter=PPAPINaClNewlibTest.FileIO* Review URL: https://chromiumcodereview.appspot.com/11824039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176792 0039d316-1c4b-4281-b951-d872f2087c98
* Tell Graphics3D not to lock on Flush().ihf@chromium.org2013-01-102-1/+14
| | | | | | | | | | | The VideoDecoder already takes the proxy lock on entry. Make sure it is not taken again when flushing Graphics3D. BUG=166951 TEST=Several Youtube videos on Lumpy. Review URL: https://codereview.chromium.org/11781004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176035 0039d316-1c4b-4281-b951-d872f2087c98
* Roll ICU and convert include style to standard Chromium style,phajdan.jr@chromium.org2013-01-071-4/+4
| | | | | | | | | | i.e. third_party/... BUG=165264 Review URL: https://codereview.chromium.org/11734021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175399 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 175233 because Linux ASAN builder cannot compile it.alexeypa@google.com2013-01-043-111/+0
| | | | | | | | | | | | | | | | | | | | | | | | | http://build.chromium.org/p/chromium.memory/buildstatus?builder=Linux%20ASAN%20Builder&number=15352 > Add trace event Pepper API > > This facilitates adding trace data to chrome://tracing from plugins. > > - broke out trace_event.h into trace_event.h/trace_event_internal.h > for easier transplanting to plugin code by eliminating dependence on base/. > - inlined trace_event.cc methods (4 total) so the trace_event_internal > implementation is contained in headers. > - added new PPB_TraceEvent_Dev interface (implemented entirely on the plugin side) > > BUG=none > TEST=base unittests, manual for plugin testing > > > Review URL: https://chromiumcodereview.appspot.com/11464005 TBR=elijahtaylor@chromium.org Review URL: https://codereview.chromium.org/11782008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175236 0039d316-1c4b-4281-b951-d872f2087c98
* Add trace event Pepper APIelijahtaylor@chromium.org2013-01-043-0/+111
| | | | | | | | | | | | | | | | | | This facilitates adding trace data to chrome://tracing from plugins. - broke out trace_event.h into trace_event.h/trace_event_internal.h for easier transplanting to plugin code by eliminating dependence on base/. - inlined trace_event.cc methods (4 total) so the trace_event_internal implementation is contained in headers. - added new PPB_TraceEvent_Dev interface (implemented entirely on the plugin side) BUG=none TEST=base unittests, manual for plugin testing Review URL: https://chromiumcodereview.appspot.com/11464005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175233 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the old PPB_Flash proxy.raymes@chromium.org2012-12-261-1/+0
| | | | | | | | | | | This removes the old, unused PPB_Flash proxy and related code. BUG= TBR=brettw Review URL: https://chromiumcodereview.appspot.com/11633034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174646 0039d316-1c4b-4281-b951-d872f2087c98
* PPAPI: modify FileIO.Open to return PP_ERROR_NOTAFILE when opening a directorynhiroki@chromium.org2012-12-211-0/+2
| | | | | | | | | | BUG=132201 TEST=browser_tests --gtest_filter=\*OpenDirectory\* Review URL: https://chromiumcodereview.appspot.com/11587008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174360 0039d316-1c4b-4281-b951-d872f2087c98
* Convert pepper font list to new resource system.brettw@chromium.org2012-12-202-0/+2
| | | | | | | | | | This converts the GetFontFamilies call to the new resource system using a singleton resource. BUG= Review URL: https://codereview.chromium.org/11578038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174241 0039d316-1c4b-4281-b951-d872f2087c98
* CDM/PPAPI: Fix plugin-side ref-counting leakdmichael@chromium.org2012-12-191-1/+2
| | | | | | | | | | | | | This makes the reference counting such that we always pass a reference to the plugin (in-process and out-of-process). This also reverts https://src.chromium.org/viewvc/chrome?view=rev&revision=173626, since this is a more correct/complete fix. Now, if we end up trying to send the same HostResource more than once to the plugin, we should fail a DCHECK with this upcoming CL: https://codereview.chromium.org/11576024/ BUG=165717,166498,166341 Review URL: https://codereview.chromium.org/11593032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173855 0039d316-1c4b-4281-b951-d872f2087c98
* Refactored PPB_Flash GetSettings to the new pepper resource modelraymes@chromium.org2012-12-191-1/+1
| | | | | | | | | | | | This also removes unnecessary code from the PluginDelegate and PepperMessageFilter. BUG= Review URL: https://chromiumcodereview.appspot.com/11413200 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173850 0039d316-1c4b-4281-b951-d872f2087c98
* Add log message for swapbuffers in progress error.jbauman@chromium.org2012-12-181-0/+2
| | | | | | | | | | | | This bug seems to be really common, so log a message about it to the console. BUG= Review URL: https://chromiumcodereview.appspot.com/11620002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173676 0039d316-1c4b-4281-b951-d872f2087c98
* This refactors PPB_Flash GetLocalTimeZoneOffset to the new PPAPI resource ↵raymes@chromium.org2012-12-172-0/+21
| | | | | | | | | | | model. The in process implementation is removed. Associated plugin delegate code is also removed. BUG= Review URL: https://chromiumcodereview.appspot.com/11516020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173578 0039d316-1c4b-4281-b951-d872f2087c98
* Fix PPAPI time conversion code to handle epoch times.raymes@chromium.org2012-12-172-0/+79
| | | | | | | | | | | | | This fixes the time conversion code to be able to correctly handle epoch times (e.g. when passing a PP_Time of 0). This eliminates the need to special-case for epoch time in other code. In practice the problem this fixes only manifests itself in test code. BUG= Review URL: https://codereview.chromium.org/11567013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173516 0039d316-1c4b-4281-b951-d872f2087c98
* PPAPI: Move PPB_Console out of dev.ncbray@chromium.org2012-12-137-14/+14
| | | | | | | | | | | PPB_Console was not added to the SRPC proxy because this proxy is deprecated. BUG= none Review URL: https://chromiumcodereview.appspot.com/11416214 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@172762 0039d316-1c4b-4281-b951-d872f2087c98
* Implement an IsAllowed function in the pepper PPB_Broker_Trusted APIraymes@chromium.org2012-12-102-0/+5
| | | | | | | | | | | | | Flash sometimes needs to synchronously know if it can launch the broker, otherwise it will try to launch the broker when it shouldn't, and end up popping an infobar. This adds an IsAllowed function to synchronously test whether the broker is allowed to launch without popping the infobar. Note that the document URL of the plugin instance is needed in order to check the broker permissions in the browser process. This is only available in the renderer process. In order to avoid an extra hop to the renderer process just to get this URL, it is sent to the browser (with the render view ID) upon initialization of the instance when the instance is registered with the browser process. BUG=163248 Review URL: https://chromiumcodereview.appspot.com/11316316 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@172104 0039d316-1c4b-4281-b951-d872f2087c98
* ppapi: Update the calls from RunAllPending() to RunUntilIdle().tfarina@chromium.org2012-12-081-7/+7
| | | | | | | | | | | | RunAllPending() is deprecated and we should switch to RunUntilIdle(). BUG=131220 TBR=brettw@chromium.org Review URL: https://chromiumcodereview.appspot.com/11496002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171997 0039d316-1c4b-4281-b951-d872f2087c98
* Refactored the PPB_Flash_File_ModuleLocal/FileRef to the new ppapi resource ↵raymes@chromium.org2012-12-086-90/+2
| | | | | | | | | | model The refactors PPB_Flash_File_ModuleLocal/FileRef to the new resource model. Calls for both these interfaces are now made directly to the browser. This removes the in-process implementation for these interfaces also (as they are flash-only). Tests are added for PPB_Flash_File_ModuleLocal. Review URL: https://codereview.chromium.org/11359097 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171902 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 171408raymes@chromium.org2012-12-066-2/+90
| | | | | | | | | | | | > The refactors PPB_Flash_File_ModuleLocal/FileRef to the new resource model. Calls for both these interfaces are now made directly to the browser. This removes the in-process implementation for these interfaces also (as they are flash-only). Tests are added for PPB_Flash_File_ModuleLocal. > > Review URL: https://codereview.chromium.org/11359097 TBR=raymes@chromium.org Review URL: https://codereview.chromium.org/11437038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171562 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 171389raymes@chromium.org2012-12-066-90/+2
| | | | | | | | | | | | | | | | | | | | The revert is causing browser tests to fail. Reverting the revert. > Revert 171080 > > > The refactors PPB_Flash_File_ModuleLocal/FileRef to the new resource model. Calls for both these interfaces are now made directly to the browser. This removes the in-process implementation for these interfaces also (as they are flash-only). Tests are added for PPB_Flash_File_ModuleLocal. > > > > Review URL: https://codereview.chromium.org/11359097 > > TBR=raymes@chromium.org > > Review URL: https://codereview.chromium.org/11437038 TBR=raymes@chromium.org Review URL: https://codereview.chromium.org/11450025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171408 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 171080raymes@chromium.org2012-12-066-2/+90
| | | | | | | | | | | | > The refactors PPB_Flash_File_ModuleLocal/FileRef to the new resource model. Calls for both these interfaces are now made directly to the browser. This removes the in-process implementation for these interfaces also (as they are flash-only). Tests are added for PPB_Flash_File_ModuleLocal. > > Review URL: https://codereview.chromium.org/11359097 TBR=raymes@chromium.org Review URL: https://codereview.chromium.org/11437038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171389 0039d316-1c4b-4281-b951-d872f2087c98
* Improve HostResource comments for use in plugins.teravest@chromium.org2012-12-061-1/+4
| | | | | | | | | | | | | | | The comments in host_resource.h allude to a transformation that must happen for a PP_Resource to be used in a plugin, but doesn't specify what it is. Added a hint so it's easier to find what to use. Also corrected a spelling error. BUG= Review URL: https://chromiumcodereview.appspot.com/11437017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171365 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce PPB_AudioInput_Dev v0.3 and refactor the device enumeration code:yzshen@chromium.org2012-12-051-0/+6
| | | | | | | | | | | | | | | | - Add MonitorDeviceChange() for PPB_AudioInput_Dev. - Change EnumerateDevices() to use PP_ArrayOutput. - Move device enumeration code out of the audio input implementation, so that it can be shared by video capture. - Update the audio_input manual test. - Add unittests for the device enumeration code. TEST=None BUG=137799 Review URL: https://chromiumcodereview.appspot.com/11411047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171132 0039d316-1c4b-4281-b951-d872f2087c98
* The refactors PPB_Flash_File_ModuleLocal/FileRef to the new resource model. ↵raymes@chromium.org2012-12-046-90/+2
| | | | | | | | Calls for both these interfaces are now made directly to the browser. This removes the in-process implementation for these interfaces also (as they are flash-only). Tests are added for PPB_Flash_File_ModuleLocal. Review URL: https://codereview.chromium.org/11359097 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171080 0039d316-1c4b-4281-b951-d872f2087c98
* [ppapi] Simple deadlock detector for proxy lock.shess@chromium.org2012-11-301-3/+27
| | | | | | | | | | | | | base::lock provides a simple detector for single-thread deadlock in debug mode. Implement a similar approach for the proxy lock in debug or release. BUG=161286 Review URL: https://chromiumcodereview.appspot.com/11280041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170513 0039d316-1c4b-4281-b951-d872f2087c98