summaryrefslogtreecommitdiffstats
path: root/ppapi/shared_impl
Commit message (Collapse)AuthorAgeFilesLines
...
* Pepper: unit tests for VarTrackertoyoshim@chromium.org2011-12-162-0/+160
| | | | | | | | | | BUG=none TEST=ppapi_unittests Review URL: http://codereview.chromium.org/8953017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114778 0039d316-1c4b-4281-b951-d872f2087c98
* Implement in-process PPB_VarArrayBuffer_Dev.dmichael@chromium.org2011-12-158-17/+152
| | | | | | | | | | | | +tony TBR for webkit/glue/webkit_glue.gypi BUG=103435 TEST=N/A TBR=tony Review URL: http://codereview.chromium.org/8930010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114700 0039d316-1c4b-4281-b951-d872f2087c98
* Reland; Pepper: Var keeps invalid var_id if VarTracker release it and there ↵toyoshim@chromium.org2011-12-152-0/+7
| | | | | | | | | | | | | | | | | | is another reference When VarTracker remove PP_Var from VarMap, it release its Var object if needed, but never reset var_id stored in Var object. Then, if Var's reference count is not 1, Var continue to exist with invalid var_id until the last reference is released. BUG=87310 TEST=ui_tests, browser_tests, nacl_integration Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=114384 Review URL: http://codereview.chromium.org/8872065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114594 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting half the checkins that are suspected of breaking the world.finnur@chromium.org2011-12-142-7/+0
| | | | | | | | | | | | | | | | | | | | Revert 114384 - Var keeps invalid var_id if VarTracker release it and there is another reference. When VarTracker remove PP_Var from VarMap, it release its Var object if needed, but never reset var_id stored in Var object. Then, if Var's reference count is not 1, Var continue to exist with invalid var_id until the last reference is released. BUG=87310 TEST=ui_tests --gtest_filter='PPAPITest.WebSocket_*' Review URL: http://codereview.chromium.org/8872065 TBR=toyoshim@chromium.org Review URL: http://codereview.chromium.org/8933025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114398 0039d316-1c4b-4281-b951-d872f2087c98
* Var keeps invalid var_id if VarTracker release it and there istoyoshim@chromium.org2011-12-142-0/+7
| | | | | | | | | | | | | | | | another reference. When VarTracker remove PP_Var from VarMap, it release its Var object if needed, but never reset var_id stored in Var object. Then, if Var's reference count is not 1, Var continue to exist with invalid var_id until the last reference is released. BUG=87310 TEST=ui_tests --gtest_filter='PPAPITest.WebSocket_*' Review URL: http://codereview.chromium.org/8872065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114384 0039d316-1c4b-4281-b951-d872f2087c98
* Implement a proxy for Pepper FileIO.brettw@chromium.org2011-12-105-0/+495
| | | | | | | | | | [ Reland of 113565 http://codereview.chromium.org/8764003 ] This splits apart the old in-process implementation into a new object in shared_impl that does most of the general tracking. This alllows that code to be shared by the proxy. BUG=http://crbug.com/101154 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113953 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 113817 - Implement a proxy for Pepper FileIO.brettw@chromium.org2011-12-095-495/+0
| | | | | | | | | | | | | [ Reland of 113565 http://codereview.chromium.org/8764003 ] This splits apart the old in-process implementation into a new object in shared_impl that does most of the general tracking. This alllows that code to be shared by the proxy. BUG=http://crbug.com/101154 TBR=brettw@chromium.org Review URL: http://codereview.chromium.org/8898005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113819 0039d316-1c4b-4281-b951-d872f2087c98
* Implement a proxy for Pepper FileIO.brettw@chromium.org2011-12-095-0/+495
| | | | | | | | | | [ Reland of 113565 http://codereview.chromium.org/8764003 ] This splits apart the old in-process implementation into a new object in shared_impl that does most of the general tracking. This alllows that code to be shared by the proxy. BUG=http://crbug.com/101154 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113817 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 113656 - Implement a proxy for Pepper FileIO.brettw@chromium.org2011-12-085-492/+0
| | | | | | | | | | | | | This splits apart the old in-process implementation into a new object in shared_impl that does most of the general tracking. This alllows that code to be shared by the proxy. BUG=http://crbug.com/101154 Review URL: http://codereview.chromium.org/8764003 TBR=brettw@chromium.org Review URL: http://codereview.chromium.org/8890037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113659 0039d316-1c4b-4281-b951-d872f2087c98
* Implement a proxy for Pepper FileIO.brettw@chromium.org2011-12-085-0/+492
| | | | | | | | | | This splits apart the old in-process implementation into a new object in shared_impl that does most of the general tracking. This alllows that code to be shared by the proxy. BUG=http://crbug.com/101154 Review URL: http://codereview.chromium.org/8764003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113656 0039d316-1c4b-4281-b951-d872f2087c98
* Apply renaming of ppapi shared stuff to new ppb_var shared code.dmichael@chromium.org2011-12-082-7/+7
| | | | | | | | | | | | This CL brings the PPB_Var new shared implementation (from r113491) in to compliance with the new naming convention introduced at r113428. I didn't want to do add any more complexity to that in-flight CL, so I'm doing the rename here. BUG=None TEST=N/A Review URL: http://codereview.chromium.org/8870002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113563 0039d316-1c4b-4281-b951-d872f2087c98
* Remove PP_Module from parameters for PPB_Var.VarFromUtf8.dmichael@chromium.org2011-12-079-56/+134
| | | | | | | | | | | | | | | | This change has tendrils stretching throughout the code, but mostly this lets us delete a bunch of stuff. This also does a slight refactor to put the PPB_Var implementations in 1 place, since they were already practically identical, and I didn't want to do the backwards-compat code in 2 places. BUG=106596 TEST=N/A TBR=darin,tony darin,tony TBR for rubber-stamp of webkit/glue/webkit_glue.gypi Review URL: http://codereview.chromium.org/8826011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113491 0039d316-1c4b-4281-b951-d872f2087c98
* Rename the shared_impl resource files to give them more regular names.brettw@chromium.org2011-12-0730-245/+277
| | | | | | | | | | | [ Reland of 113290 http://codereview.chromium.org/8790004 ] I keep getting confused between things like AudioImpl and PPB_Audio_Impl. This uses _shared for the names, so now we have _impl, _proxy, and _shared which makes more sense. I also removed the ppb_opengles2_impl file since it was just a forward to the shared version. Review URL: http://codereview.chromium.org/8849003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113428 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 113290 - Rename the shared_impl resource files to give them more ↵brettw@chromium.org2011-12-0730-277/+245
| | | | | | | | | | | | | | | | | | regular names. I keep getting confused between things like AudioImpl and PPB_Audio_Impl. This uses _shared for the names, so now we have _impl, _proxy, and _shared which makes more sense. I also removed the ppb_opengles2_impl file since it was just a forward to the shared version. BUG= TEST= Review URL: http://codereview.chromium.org/8790004 TBR=brettw@chromium.org Review URL: http://codereview.chromium.org/8824015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113302 0039d316-1c4b-4281-b951-d872f2087c98
* Rename the shared_impl resource files to give them more regular names.brettw@chromium.org2011-12-0630-245/+277
| | | | | | | | | | | | | I keep getting confused between things like AudioImpl and PPB_Audio_Impl. This uses _shared for the names, so now we have _impl, _proxy, and _shared which makes more sense. I also removed the ppb_opengles2_impl file since it was just a forward to the shared version. BUG= TEST= Review URL: http://codereview.chromium.org/8790004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113290 0039d316-1c4b-4281-b951-d872f2087c98
* Reland 8688002: PPB_TCPSocket_Private/PPB_UDPSocket_Private are exposed to ↵dpolukhin@chromium.org2011-12-064-0/+706
| | | | | | | | | | | | | Browser PPB_{TCP|UDP}Socket_Private interfaces are exposed to Browser process. Added shared (between NaCl and Pepper) tests for both interfaces. BUG=105859 TEST=ui_tests Review URL: http://codereview.chromium.org/8804006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113172 0039d316-1c4b-4281-b951-d872f2087c98
* Regularize how ImageData and Graphics2D are created.brettw@chromium.org2011-12-041-0/+1
| | | | | | | | | | | | These objects were created differently than any other resoures. This cleans them up to behave like the other resources. BUG= TEST= Review URL: http://codereview.chromium.org/8790009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112946 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 112693 - committed before review was done - Landing 8688002: ↵jam@chromium.org2011-12-024-706/+0
| | | | | | | | | | | | PPB_TCPSocket_Private/PPB_UDPSocket_Private are exposed to Browser Review URL: http://codereview.chromium.org/8688002 Patch from Yuri Gorshenin <ygorshenin@chromium.org>. TBR=dpolukhin@chromium.org Review URL: http://codereview.chromium.org/8775063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112754 0039d316-1c4b-4281-b951-d872f2087c98
* Landing 8688002: PPB_TCPSocket_Private/PPB_UDPSocket_Private are exposed to ↵dpolukhin@chromium.org2011-12-024-0/+706
| | | | | | | | | Browser Review URL: http://codereview.chromium.org/8688002 Patch from Yuri Gorshenin <ygorshenin@chromium.org>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112693 0039d316-1c4b-4281-b951-d872f2087c98
* Remove 1 static initializer in id_assignment.cc.thakis@chromium.org2011-12-021-1/+1
| | | | | | | | | | BUG=94925 TEST=none Review URL: http://codereview.chromium.org/8773029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112642 0039d316-1c4b-4281-b951-d872f2087c98
* Remove Context3D/Surface3Dpiman@chromium.org2011-12-014-17/+6
| | | | | | | | | | | | Graphics3D is the new black. BUG=None TEST=None Review URL: http://codereview.chromium.org/8676042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112412 0039d316-1c4b-4281-b951-d872f2087c98
* Re-land http://codereview.chromium.org/8586008/yzshen@chromium.org2011-11-292-0/+104
| | | | | | | | | | | | | | | Move PepperTCPSocket and PepperUDPSocket from pepper_message_filter to separate files Comparing with 8586008, this change adds two more includes in pepper_message_filter if ENABLE_FLAPPER_HACKS is defined. TBR=jam@chromium.org BUG=None TEST=OutOfProcessPPAPITest.TCPSocketPrivate passes. Review URL: http://codereview.chromium.org/8664010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111841 0039d316-1c4b-4281-b951-d872f2087c98
* Implement FileRef GetPathPrivate interface for O3Djhorwich@chromium.org2011-11-281-0/+1
| | | | | | | | | | | | This is an implementation of a new private interface to get the filepath of a file downloaded with URLLoader and URLRequestInfo.SetStreamToFile(true). The file will be read in its entirety during a successful URLLoader.FinishStreamingToFile callback. BUG=none TEST=none Review URL: http://codereview.chromium.org/8604006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111805 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 111666 - Move PepperTCPSocket and PepperUDPSocket from ↵rsleevi@chromium.org2011-11-282-104/+0
| | | | | | | | | | | | | | | | | pepper_message_filter to separate files. This CL also combines SocketManager/TCPSocketManger/UDPSocketManager into PepperMessageFilter. BUG=None TEST=OutOfProcessPPAPITest.TCPSocketPrivate passes. Review URL: http://codereview.chromium.org/8586008 TBR=yzshen@chromium.org Review URL: http://codereview.chromium.org/8715002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111667 0039d316-1c4b-4281-b951-d872f2087c98
* Move PepperTCPSocket and PepperUDPSocket from pepper_message_filter to ↵yzshen@chromium.org2011-11-282-0/+104
| | | | | | | | | | | | | | separate files. This CL also combines SocketManager/TCPSocketManger/UDPSocketManager into PepperMessageFilter. BUG=None TEST=OutOfProcessPPAPITest.TCPSocketPrivate passes. Review URL: http://codereview.chromium.org/8586008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111666 0039d316-1c4b-4281-b951-d872f2087c98
* Merge definitions of PlatformFileToInt and IntToPlatformFile to one place.xhwang@chromium.org2011-11-232-0/+50
| | | | | | | | | | BUG=none TEST=normal browsing on m17 Review URL: http://codereview.chromium.org/8585013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111447 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper: Implement PPB_NetAddress_Private Describe() for IPv6 addresses on ↵viettrungluu@chromium.org2011-11-221-21/+115
| | | | | | | | | | | | | | Windows. See RFC 5952. I might have even implemented it mostly correctly. BUG=103969,103968 TEST=ui_tests {PPAPITest,OutOfProcessPPAPITest}.NetAddressPrivate (DescribeIPv6) TBR=dmichael@chromium.org Review URL: http://codereview.chromium.org/8590006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111052 0039d316-1c4b-4281-b951-d872f2087c98
* - Implement internal API and thunktoyoshim@chromium.org2011-11-181-0/+1
| | | | | | | | | | | | - Implement base frame for in process API - Add basic unit tests for in process API BUG=87310 TEST=ui_tests --gtest_filter="PPAPITest.WebSocket*" Review URL: http://codereview.chromium.org/8571002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110664 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 110602 - Revert 110587 - Microphone support for Pepper Flash.viettrungluu@chromium.org2011-11-184-1/+186
| | | | | | | | | | | | | | | | | | | | | | | [I think the Windows shared builders just need to be clobbered.] [Committing for pbrophy@adobe.com. Original review: http://codereview.chromium.org/8138008/ .] This change supports audio capture from the microphone and supplies the data through a Pepper interface. Its enumeration is limited to the default audio device that uses mono 44.1kHz. TBR=tony@chromium.org Review URL: http://codereview.chromium.org/8574029 TBR=viettrungluu@chromium.org Review URL: http://codereview.chromium.org/8569003 TBR=ajwong@chromium.org Review URL: http://codereview.chromium.org/8561003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110609 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 110587 - Microphone support for Pepper Flash.ajwong@chromium.org2011-11-174-186/+1
| | | | | | | | | | | | | | | | | | [Committing for pbrophy@adobe.com. Original review: http://codereview.chromium.org/8138008/ .] This change supports audio capture from the microphone and supplies the data through a Pepper interface. Its enumeration is limited to the default audio device that uses mono 44.1kHz. TBR=tony@chromium.org Review URL: http://codereview.chromium.org/8574029 TBR=viettrungluu@chromium.org Review URL: http://codereview.chromium.org/8569003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110602 0039d316-1c4b-4281-b951-d872f2087c98
* Microphone support for Pepper Flash.viettrungluu@chromium.org2011-11-174-1/+186
| | | | | | | | | | | | | | | [Committing for pbrophy@adobe.com. Original review: http://codereview.chromium.org/8138008/ .] This change supports audio capture from the microphone and supplies the data through a Pepper interface. Its enumeration is limited to the default audio device that uses mono 44.1kHz. TBR=tony@chromium.org Review URL: http://codereview.chromium.org/8574029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110587 0039d316-1c4b-4281-b951-d872f2087c98
* Remove 'Flash' from TCP/UDP Pepper interfaces names. This CL preserves old ↵dpolukhin@chromium.org2011-11-162-4/+4
| | | | | | | | | | | idl and C/C++ headers for backward compatibility. Also TCP interface should be returned by old name. BUG=none TEST=build Review URL: http://codereview.chromium.org/8506016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110265 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper: Implement PPB_NetAddress_Private Describe() for IPv4 on Windows.viettrungluu@chromium.org2011-11-121-0/+29
| | | | | | | | | | BUG=103955,103969 TEST=ui_tests: {OutOfProcessPPAPITests,PPAPITests}.NetAddressPrivate TBR=dmichael@chromium.org Review URL: http://codereview.chromium.org/8537026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109783 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: Remove unneeded forward declarations in ppapi.thestig@chromium.org2011-11-112-10/+0
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/8527020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109595 0039d316-1c4b-4281-b951-d872f2087c98
* Make the Pepper Flash net address just private, not Flash-specific.viettrungluu@chromium.org2011-11-103-45/+47
| | | | | | | | | | | Note that, though the PP_Flash_NetAddress struct is being renamed, binary compatibility is being maintained. It's also safe to just rename the PPB_Flash_NetAddress interface without maintaining backwards compatibility since Pepper Flash isn't using it yet. Review URL: http://codereview.chromium.org/8511032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109335 0039d316-1c4b-4281-b951-d872f2087c98
* Re-land r109086: Add private Pepper API for dealing with PP_Flash_NetAddress.viettrungluu@chromium.org2011-11-093-0/+203
| | | | | | | | | | | [The Win components build was already fixed, and the broken unrevert reverted. The original review was here: http://codereview.chromium.org/8357030 .] BUG=none TEST=none Review URL: http://codereview.chromium.org/8496045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109165 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 109086 - Add private Pepper API for dealing with PP_Flash_NetAddress.thakis@chromium.org2011-11-093-203/+0
| | | | | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/8357030 TBR=viettrungluu@chromium.org Review URL: http://codereview.chromium.org/8499045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109153 0039d316-1c4b-4281-b951-d872f2087c98
* Add private Pepper API for dealing with PP_Flash_NetAddress.viettrungluu@chromium.org2011-11-083-0/+203
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/8357030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109086 0039d316-1c4b-4281-b951-d872f2087c98
* Remove redundant XHR method/header validation. This is done ↵bbudge@chromium.org2011-11-062-79/+2
| | | | | | | | | | | byAssociatedURLLoader now. BUG=none TEST=ui_tests,nacl_integration Review URL: http://codereview.chromium.org/8359009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108801 0039d316-1c4b-4281-b951-d872f2087c98
* Zero-fill some SRPC padding.eugenis@google.com2011-10-261-0/+1
| | | | | | | | | | | This is needed to keep Valgrind silent and help it catch future bugs like http://crbug/101473. BUG=http://code.google.com/p/nativeclient/issues/detail?id=2385 TEST=none Review URL: http://codereview.chromium.org/8351035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107311 0039d316-1c4b-4281-b951-d872f2087c98
* Convert the flash clipboard API to thunk system.brettw@chromium.org2011-10-221-0/+1
| | | | | | | | | | | | This adds a new clipboard API and thunks for it, and converts the existing proxy to use the new system. This adds a UI test for this feature. BUG= TEST=included Review URL: http://codereview.chromium.org/8365017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106857 0039d316-1c4b-4281-b951-d872f2087c98
* Rename InterfaceID to ApiID and move the file.brettw@chromium.org2011-10-206-7/+72
| | | | | | | | | | | | | | | | | | | This was originally in the proxy and had a 1:1 correspondence with an interface. Then we reused this for other stuff and then merged some interfaces into larger APIs (ppapi/thunk/*_api.h) so the name was no longer accurate. It was wrong to be in the proxy directory since directories at a "lower level" than the proxy (ppapi/shared_impl and webkit/plugins/ppapi) depended on it. This renames to ApiID (I avoided APIID since it looks like a define) which is the proper description of the class, and moved it to shared_impl. This fixes the deps since there are no longer any bad dependencies on the proxy directory. TEST=it compiles BUG=none Review URL: http://codereview.chromium.org/8333004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106619 0039d316-1c4b-4281-b951-d872f2087c98
* Remove TrackerBase.brettw@chromium.org2011-10-209-106/+32
| | | | | | | | | | | | | | Fold the methods it provided into the PpapiGlobals base class. Move the instance and module tracking in the webkit/plugins/ppapi dir out of the HostResourceTracker (since it has nothing to do with resources) and into the HostGlobals object (which provides general global object tracking). TEST=none BUG=none Review URL: http://codereview.chromium.org/8335001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106612 0039d316-1c4b-4281-b951-d872f2087c98
* Add a new globals object for PPAPI tracking information.brettw@chromium.org2011-10-2011-25/+135
| | | | | | | | | | | | | | | | | | | | [ Reland of 106142: http://codereview.chromium.org/8316008 ] This adds a specialization on the host and plugin side of the proxy. This replaces the ad-hoc singleton tracking done by the resource and var trackers with just being getters on this global object. Most code can use the single PpapiGlobals class. I also allow code to get the host and plugin specializations since some code needs access to some specific features of each side. In a later pass I'll move the other stuff out of TrackerBase and delete it. TEST=none BUG=none Review URL: http://codereview.chromium.org/8344025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106537 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 106142 - Add a new globals object for PPAPI tracking information.sail@chromium.org2011-10-1811-134/+25
| | | | | | | | | | | | | | | | | | | | | | This adds a specialization on the host and plugin side of the proxy. This replaces the ad-hoc singleton tracking done by the resource and var trackers with just being getters on this global object. Most code can use the single PpapiGlobals class. I also allow code to get the host and plugin specializations since some code needs access to some specific features of each side. In a later pass I'll move the other stuff out of TrackerBase and delete it. TEST=none BUG=none Review URL: http://codereview.chromium.org/8316008 TBR=brettw@chromium.org Review URL: http://codereview.chromium.org/8342016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106148 0039d316-1c4b-4281-b951-d872f2087c98
* Add a new globals object for PPAPI tracking information.brettw@chromium.org2011-10-1811-25/+134
| | | | | | | | | | | | | | | | | | | This adds a specialization on the host and plugin side of the proxy. This replaces the ad-hoc singleton tracking done by the resource and var trackers with just being getters on this global object. Most code can use the single PpapiGlobals class. I also allow code to get the host and plugin specializations since some code needs access to some specific features of each side. In a later pass I'll move the other stuff out of TrackerBase and delete it. TEST=none BUG=none Review URL: http://codereview.chromium.org/8316008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106142 0039d316-1c4b-4281-b951-d872f2087c98
* Export symbols for shared library build.dmichael@chromium.org2011-10-111-1/+3
| | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/8233021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104946 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 104941 - PP_EXPORT new ppapi::ProxyLock.msw@chromium.org2011-10-111-3/+1
| | | | | | | | | | | | | | | Fixing shared builds for crrev.com/104931 with errors like: 11>resource_creation_proxy.obj :error LNK2001: unresolved external symbol "public: static void __cdecl ppapi::ProxyLock::Acquire(void)" (?Acquire@ProxyLock@ppapi@@SAXXZ) BUG=none TEST=linux_shared and win_shared builds. Review URL: http://codereview.chromium.org/8239001 TBR=msw@chromium.org Review URL: http://codereview.chromium.org/8230028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104944 0039d316-1c4b-4281-b951-d872f2087c98
* PP_EXPORT new ppapi::ProxyLock.msw@chromium.org2011-10-111-1/+3
| | | | | | | | | | | | Fixing shared builds for crrev.com/104931 with errors like: 11>resource_creation_proxy.obj :error LNK2001: unresolved external symbol "public: static void __cdecl ppapi::ProxyLock::Acquire(void)" (?Acquire@ProxyLock@ppapi@@SAXXZ) BUG=none TEST=linux_shared and win_shared builds. Review URL: http://codereview.chromium.org/8239001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104941 0039d316-1c4b-4281-b951-d872f2087c98
* Add global lock for Enter* classes. Add ScopedProxyLock for non-thunk ↵dmichael@chromium.org2011-10-112-0/+115
| | | | | | | | | | | proxies. Add multi-threading test for PPB_Var. BUG=92909 TEST=None yet Review URL: http://codereview.chromium.org/8016008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104931 0039d316-1c4b-4281-b951-d872f2087c98