summaryrefslogtreecommitdiffstats
path: root/ppapi
Commit message (Collapse)AuthorAgeFilesLines
...
* [PPAPI] ResourceVar now holds a pending renderer and browser host ID.mgiuca@chromium.org2013-09-264-2/+32
| | | | | | | | | | | | It is likely that resources will be backed by a host in the renderer or browser, or both. Therefore, HostResourceVar should provide a consistent way to tell the plugin the pending host IDs. BUG=177017 Review URL: https://codereview.chromium.org/24196005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225380 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up remaining unused globals (on mac).thakis@chromium.org2013-09-264-12/+0
| | | | | | | | | | | | Found by clang's new -Wunused-const-variable. BUG=290204 R=akalin@chromium.org, jamesr@chromium.org, koz@chromium.org, piman@chromium.org, sergeyu@chromium.org, thestig@chromium.org, vitalybuka@chromium.org TBR=cpu, dmichael, joi, xhwang Review URL: https://codereview.chromium.org/24579003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225281 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up a few more unused globals.thakis@chromium.org2013-09-251-4/+5
| | | | | | | | | | | Found by clang's new -Wunused-const-variable. BUG=290204 R=akalin@chromium.org, avi@chromium.org, isherman@chromium.org, jamesr@chromium.org, joi@chromium.org, sergeyu@chromium.org, sky@chromium.org, thestig@chromium.org, xhwang@chromium.org Review URL: https://codereview.chromium.org/24649002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225273 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up a few unused globals.thakis@chromium.org2013-09-251-5/+0
| | | | | | | | | | | Found by clang's new -Wunused-const-variable. BUG=290204 R=akalin@chromium.org, brettw@chromium.org, sergeyu@chromium.org, thestig@chromium.org Review URL: https://codereview.chromium.org/24616002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225235 0039d316-1c4b-4281-b951-d872f2087c98
* NaCl: Update revision in DEPS, r12181 -> r12194mseaborn@chromium.org2013-09-251-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | This pulls in the following Native Client changes: r12182: (mcgrathr) Clear callee-saved NEON registers at thread startup r12183: (sehr) Remove unused glibc build from PNaCl's build.sh r12184: (dschuff) PNaCl: Update LLVM revision in pnacl/DEPS r12185: (dschuff) Update archived bitcode revisions for PNaCl FYI bitcode stability tests r12186: (dschuff) Update PNaCl TOOL_REVISIONS, 12180->12184 r12187: (jvoung) Revert r12140: PNaCl: Put newlib before libnacl on the link line. r12188: (khim) Fix dfacheckvalidator test r12189: (khim) Use objdump from NaCl toolchain r12190: (khim) Fix the build r12191: (jvoung) Update PNaCl bitcode size perf expectations, for smaller bitcode. r12192: (jvoung) Update PNaCl TOOL_REVISION 12184 -> 12187 *r12193: (phosek) Extended IRT filesystem interfaces r12194: (mcgrathr) Make NaClSwitch and __x86.pc_thunk.ax assembly symbols hidden *r12193 requires a change to shim_ppapi.c to #include the new irt_dev.h header. BUG=none TEST=browser_tests and nacl_integration Review URL: https://codereview.chromium.org/24165008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225210 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper: Move live_vars_ DCHECK to CHECK.teravest@chromium.org2013-09-241-4/+9
| | | | | | | | | | | | This is to help debug an invalid memory access issue. Using a CHECK here is no worse than a DCHECK, as no attempt is currently made to gracefully fall back to any safe behavior on release builds. BUG=276347 Review URL: https://chromiumcodereview.appspot.com/24256005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225078 0039d316-1c4b-4281-b951-d872f2087c98
* [PPAPI] Added serialization for resource PP_Vars.mgiuca@chromium.org2013-09-243-4/+119
| | | | | | | | | | | This adds a RawVarData subclass, ResourceRawVarData, which allows vars with type PP_VARTYPE_RESOURCE to be serialized and deserialized. BUG=177017 Review URL: https://chromiumcodereview.appspot.com/23769010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@224969 0039d316-1c4b-4281-b951-d872f2087c98
* Remove unused Pepper FileSystem IPC message.bbudge@chromium.org2013-09-241-6/+0
| | | | | | | | BUG=194304 Review URL: https://chromiumcodereview.appspot.com/24395003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@224948 0039d316-1c4b-4281-b951-d872f2087c98
* PPB_TCPSocket: Remove support for PP_TCPSOCKET_OPTION_ADDRESS_REUSE.yzshen@chromium.org2013-09-236-57/+16
| | | | | | | | | | | | | | | | | | It seems SO_REUSEADDR has security issues on Windows, so we don't want to expose it via PP_TCPSOCKET_OPTION_ADDRESS_REUSE. After this change, PPB_TCPSocket will use the same default settings as net::TCPServerSocket when Bind() is called: - On POSIX: set SO_REUSEADDR to true. - On Windows: set SO_EXCLUSIVEADDRUSE to true. BUG=262601 TEST=None R=dmichael@chromium.org, tsepez@chromium.org Review URL: https://codereview.chromium.org/24324003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@224765 0039d316-1c4b-4281-b951-d872f2087c98
* [PPAPI] ResourceVar now reference counts its Resource in the plugin.mgiuca@chromium.org2013-09-2312-58/+137
| | | | | | | | | | | | | | | | | | ResourceVar is now an abstract base class with subclasses HostResourceVar and PluginResourceVar. The PluginResourceVar has a reference counted Resource instead of a PP_Resource. VarTracker has MakeResourceVar and MakeResourcePPVar methods, to abstract over the creation of a resource var of the correct subclass. Also, the creation_message is now NULL when empty, instead of being an empty message object. BUG=290713 Review URL: https://chromiumcodereview.appspot.com/23809016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@224717 0039d316-1c4b-4281-b951-d872f2087c98
* Make NetworkList and NetworkMonitor APIs publicsergeyu@chromium.org2013-09-2231-443/+435
| | | | | | | | | | BUG=281781 R=nfullagar@chromium.org, thakis@chromium.org, yzshen@chromium.org TBR=cevans@chromium.org Review URL: https://codereview.chromium.org/23450012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@224626 0039d316-1c4b-4281-b951-d872f2087c98
* PPB_TCPSocket: add support for TCP server socket operations.yzshen@chromium.org2013-09-2025-189/+1300
| | | | | | | | | BUG=262601 TEST=new tests in test_tcp_socket. Review URL: https://chromiumcodereview.appspot.com/24195004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@224383 0039d316-1c4b-4281-b951-d872f2087c98
* Create a Pepper-based CDM when a MediaKeys object is created.jrummell@chromium.org2013-09-2015-256/+191
| | | | | | | | | | | | | The new version of EME needs to be able to instantiate the Pepper-based CDM when a MediaKeys object is created. Moving creation from first GenerateKeyRequest() to Initialize(), and passing in extra (extendable) data. Also removing unused NeedKey(). BUG=250049 TEST=browser_tests --gtest_filter=EncryptedMediaIsTypeSupported*.* all pass Review URL: https://chromiumcodereview.appspot.com/24192004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@224306 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper: Move FileRef to the "new" resource proxy.teravest@chromium.org2013-09-1834-1127/+204
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This change moves the FileRef implementation from the previous one in the "old" resource model (ppb_file_ref_impl.cc) to the "new" resource model (pepper_file_ref_host.cc), and from the renderer to the browser. As many as possible of the supporting changes were split off to other changes to minimize the size of this change. Unfortunately, a lot of changes for URLLoader had to be rolled into this change. The data structures for CreateInfo have changed, and all users of FileRef have to be moved over, which is what causes this change to be so large. TBR=dmichael@chromium.org, jschuh@chromium.org, yzshen@chromium.org BUG=225441 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=216744 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=218305 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=219911 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=221284 Review URL: https://chromiumcodereview.appspot.com/21966004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@223963 0039d316-1c4b-4281-b951-d872f2087c98
* Moves most files from ui/base/keycodes to ui/events/keycodessky@chromium.org2013-09-171-1/+1
| | | | | | | | | | | | | I'm leaving usb_keycodes_map in ui/base for now. BUG=none TEST=none R=ben@chromium.org, benm@chromium.org, scherkus@chromium.org TBR=benm@chromium.org, brettw@chromium.org, scherkus@chromium.org Review URL: https://codereview.chromium.org/23480084 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@223739 0039d316-1c4b-4281-b951-d872f2087c98
* PPAPI: Purposely leak ProxyLock, fix shutdown racedmichael@chromium.org2013-09-1716-45/+174
| | | | | | | | | | | | | | | | | | This CL: - Makes callbacks returned by RunWhileLocked acquire the lock when they are destroyed if they are not run. This eliminates some potential race conditions. - Because MessageLoops can be destroyed after the PpapiGlobals (and thus the ProxyLock), this means we need to make the ProxyLock live longer. So we leak it so that it lives all the way through shutdown. This issue depends on: https://codereview.chromium.org/19492014/ BUG= R=yzshen@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=222829 Reverted: https://src.chromium.org/viewvc/chrome?view=rev&revision=222840 (static initializer + content_unittests failure) Review URL: https://chromiumcodereview.appspot.com/19492014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@223738 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper API implementation for platform verification.dalecurtis@chromium.org2013-09-1723-15/+518
| | | | | | | | | | | | | | | Plumbs all relevant sections of the PPAPI portions of the API for ChromeOS only. The test is currently disabled pending changes to implement the UI portions of this feature. BUG=270294 TEST=browser_tests --gtest_filter=*PlatformVerification* TBR=mnissler Review URL: https://chromiumcodereview.appspot.com/23523028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@223687 0039d316-1c4b-4281-b951-d872f2087c98
* Simplify PPB_NetworkMonitor proxy.sergeyu@chromium.org2013-09-1718-476/+324
| | | | | | | | | | | | | | | | | | The new proxy is based on ppapi::proxy::PluginResource and ppapi::host::ResourceHost which simplifies code significantly. Also the permission check is consistent with socket APIs now. BUG=281781 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=223482 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=223494 R=brettw@chromium.org, yzshen@chromium.org Review URL: https://codereview.chromium.org/23819033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@223535 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r223494 "Simplify PPB_NetworkMonitor proxy."sergeyu@chromium.org2013-09-1718-324/+476
| | | | | | | | | TBR=sergeyu@chromium.org BUG=281781 Review URL: https://codereview.chromium.org/23514062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@223497 0039d316-1c4b-4281-b951-d872f2087c98
* Simplify PPB_NetworkMonitor proxy.sergeyu@chromium.org2013-09-1718-476/+324
| | | | | | | | | | | | | | The new proxy is based on ppapi::proxy::PluginResource and ppapi::host::ResourceHost which simplifies code significantly. Also the permission check is consistent with socket APIs now. BUG=281781 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=223482 Review URL: https://chromiumcodereview.appspot.com/23819033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@223494 0039d316-1c4b-4281-b951-d872f2087c98
* base: Split logging functions and PerfTimeLogger out of perftimer.htfarina@chromium.org2013-09-171-2/+2
| | | | | | | | | | | | | | | | Soon PerfTimer will move into base/timer/ directory as it is already used by production code. This splits the logging stuff into their owns files and also moves PerfTimeLogger into its own files. BUG=None TEST=base_unittests, ipc_perftests, etc... R=brettw@chromium.org Review URL: https://chromiumcodereview.appspot.com/23985006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@223486 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 223482 "Simplify PPB_NetworkMonitor proxy."ikarienator@chromium.org2013-09-1718-324/+476
| | | | | | | | | | | | | | | | | | > Simplify PPB_NetworkMonitor proxy. > > The new proxy is based on ppapi::proxy::PluginResource and > ppapi::host::ResourceHost which simplifies code significantly. Also > the permission check is consistent with socket APIs now. > > BUG=281781 > > Review URL: https://chromiumcodereview.appspot.com/23819033 TBR=sergeyu@chromium.org Review URL: https://codereview.chromium.org/23463037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@223484 0039d316-1c4b-4281-b951-d872f2087c98
* Simplify PPB_NetworkMonitor proxy.sergeyu@chromium.org2013-09-1718-476/+324
| | | | | | | | | | | | The new proxy is based on ppapi::proxy::PluginResource and ppapi::host::ResourceHost which simplifies code significantly. Also the permission check is consistent with socket APIs now. BUG=281781 Review URL: https://chromiumcodereview.appspot.com/23819033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@223482 0039d316-1c4b-4281-b951-d872f2087c98
* Classify ARM Chromebooks as high latency audio.ihf@chromium.org2013-09-161-5/+16
| | | | | | | | | BUG=288367,289770 TEST=Ran on Daisy, checked Pepper Flash gets 2048 now instead of 1024. Review URL: https://chromiumcodereview.appspot.com/23672035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@223428 0039d316-1c4b-4281-b951-d872f2087c98
* The current PPB_KeyboardInputEvent_Dev interface uses the old USB codes ↵garykac@chromium.org2013-09-149-17/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | which were part of the original proposal. The current working-draft spec from W3C (http://www.w3.org/TR/uievents/) uses string names rather than Unicode ints. This cl updates the _Dev API to match the current spec. Note that the new APIs cannot be used until the Blink plumbing for |code| is added in a following CL. We would like to deprecate the current _Dev interface (GetUsbKeyCode) and move the new interface (GetCode) out of _Dev for M31. A note on naming: The DOM KeyboardEvent has the following attributes: * keyIdentifier (deprecated - we'll be removing this) * keyCode (deprecated, but it'll stick around for a while) * charCode (deprecated, but it'll stick around for a while) * key (specified in DOM3, not yet implemented in Chrome) * code (specified in UIEvents, adding support for this now) The current PepperAPI already has: * GetKeyCode (return the keyCode) So I used GetCode() here and I assume that we'll be adding GetKey() when we support |key|. Suggestions for better naming conventions are welcome. BUG=284774 Review URL: https://chromiumcodereview.appspot.com/23526007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@223239 0039d316-1c4b-4281-b951-d872f2087c98
* PPAPI browser_tester: Add ability to write files via POST.binji@chromium.org2013-09-133-4/+58
| | | | | | | | | | | | This is only enabled if the user runs the browser_tester with the "--output_dir" flag. No files outside of this directory will be modified. BUG=none R=ncbray@chromium.org Review URL: https://codereview.chromium.org/23823007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@223086 0039d316-1c4b-4281-b951-d872f2087c98
* Adds a PPAPI interface to request a password. For the Mac it opens a ↵avi@chromium.org2013-09-134-0/+24
| | | | | | | | | | | | | | tab-modal password box; for other platforms it falls back to a JavaScript dialog (which is no change from the current behavior). BUG=54748 TEST=load a password-protected PDF on the Mac, see fancy new UI R=raymes@chromium.org, sail@chromium.org, thestig@chromium.org, tsepez@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=223074 Review URL: https://codereview.chromium.org/23447025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@223085 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 223074 "Adds a PPAPI interface to request a password. For..."avi@chromium.org2013-09-134-24/+0
| | | | | | | | | | | | | | | | > Adds a PPAPI interface to request a password. For the Mac it opens a tab-modal password box; for other platforms it falls back to a JavaScript dialog (which is no change from the current behavior). > > BUG=54748 > TEST=load a password-protected PDF on the Mac, see fancy new UI > R=raymes@chromium.org, sail@chromium.org, thestig@chromium.org, tsepez@chromium.org > > Review URL: https://codereview.chromium.org/23447025 TBR=avi@chromium.org Review URL: https://codereview.chromium.org/23653038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@223077 0039d316-1c4b-4281-b951-d872f2087c98
* Adds a PPAPI interface to request a password. For the Mac it opens a ↵avi@chromium.org2013-09-134-0/+24
| | | | | | | | | | | | tab-modal password box; for other platforms it falls back to a JavaScript dialog (which is no change from the current behavior). BUG=54748 TEST=load a password-protected PDF on the Mac, see fancy new UI R=raymes@chromium.org, sail@chromium.org, thestig@chromium.org, tsepez@chromium.org Review URL: https://codereview.chromium.org/23447025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@223074 0039d316-1c4b-4281-b951-d872f2087c98
* [PPAPI] ppapi::ResourceVar: Added IsPending method.mgiuca@chromium.org2013-09-133-3/+12
| | | | | | | | | This abstracts the logic of deciding whether a resource's creation method is empty. Review URL: https://chromiumcodereview.appspot.com/23876016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222923 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "PPAPI: Purposely leak ProxyLock, fix shutdown race"dmichael@chromium.org2013-09-1216-173/+45
| | | | | | | | | | | | Reverts 222829. Introduced a static initializer and failure in content_unittests. This reverts commit 7b0c030e5ccb9a5008411ae92a421bd7fbb7ffe8. BUG= Review URL: https://codereview.chromium.org/24076011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222840 0039d316-1c4b-4281-b951-d872f2087c98
* Add newlines to the end of files where they were missinghans@chromium.org2013-09-124-4/+4
| | | | | | | | | | | This fixes warnings from a recent Clang version. BUG=290204 TBR=thakis Review URL: https://chromiumcodereview.appspot.com/23484036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222838 0039d316-1c4b-4281-b951-d872f2087c98
* PPAPI: Purposely leak ProxyLock, fix shutdown racedmichael@chromium.org2013-09-1216-45/+173
| | | | | | | | | | | | | | | This CL: - Makes callbacks returned by RunWhileLocked acquire the lock when they are destroyed if they are not run. This eliminates some potential race conditions. - Because MessageLoops can be destroyed after the PpapiGlobals (and thus the ProxyLock), this means we need to make the ProxyLock live longer. So we leak it so that it lives all the way through shutdown. This issue depends on: https://codereview.chromium.org/19492014/ BUG= R=yzshen@chromium.org Review URL: https://codereview.chromium.org/19492014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222829 0039d316-1c4b-4281-b951-d872f2087c98
* [PPAPI] Added PP_VARTYPE_RESOURCE as a PP_VarType enum value.mgiuca@chromium.org2013-09-127-21/+96
| | | | | | | | | | | | This type is not yet useful. There is currently no way to generate one of these. If the plugin manually builds one and sends it in a message, it will currently check-fail, crashing the plugin. BUG=177017 Review URL: https://chromiumcodereview.appspot.com/18599005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222759 0039d316-1c4b-4281-b951-d872f2087c98
* PNaCl Coordinator: Run StreamEnd RPC even if StreamChunk failsdschuff@chromium.org2013-09-101-8/+18
| | | | | | | | | | | | | | | | | | | | | If the StreamChunk RPC fails, the coordinator currently reports an error and aborts immedately, but this leaves no useful information for the user or developer. Instead, call the StreamEnd RPC which returns a string describing the error (but only if the RPC error was reported by the application on the other end, and not an error with the RPC itself). Also disable the PnaclErrorHandling test until the translator change in https://codereview.chromium.org/23753003/ rolls into Chrome (since it, combined with this change, will improve the error message reported by the translator). R=jvoung@chromium.org BUG= https://code.google.com/p/nativeclient/issues/detail?id=3519 TEST=NaClBrowserTestPnacl.ErrorHandling Review URL: https://chromiumcodereview.appspot.com/23946004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222240 0039d316-1c4b-4281-b951-d872f2087c98
* PPAPI: Make API changes w/o IDL changes Warnings if generators have changeddmichael@chromium.org2013-09-101-5/+18
| | | | | | | | | | | | | We frequently run in to the situation where we change the generators which causes some real (but usually minor) change in header files, even though the IDL is unchanged. We should just warn in that situation, so that developers can use the CQ for these kind of generator changes. BUG= Review URL: https://chromiumcodereview.appspot.com/23620032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222190 0039d316-1c4b-4281-b951-d872f2087c98
* Add PPAPI interfaces for platform verification.dalecurtis@google.com2013-09-096-5/+344
| | | | | | | | | | | | | | | | Interfaces only at this point. Implementation to follow. API mirrors that which is provided to the CDMs in http://crrev.com/221019 CanChallengePlatform() can be synchronous since it will just check a command line flag passed to the process. BUG=270294 TEST=none R=ddorwin@chromium.org, dmichael@chromium.org Review URL: https://codereview.chromium.org/23569005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222113 0039d316-1c4b-4281-b951-d872f2087c98
* Add GetPluginRefererURL to PPB_URLUtil_Dev interface to get the 'Referer' ↵omakovski@yandex-team.ru2013-09-0713-7/+206
| | | | | | | | | | HTTP header value that was sent by request that loaded plug-in. Sometimes Pepper plug-in needs to create additional HTTP request to its source URL (for example, PDF plug-in downloads parts of the file using HTTP Range requests). These requests will fail for servers that check Referer header (example: http://fs51.www.ex.ua/get/96354baf7547114fa116c56ecdbdb3ee/66511913/FRoziner_Iskusstvo_Ciurlionisa_1993.pdf). Review URL: https://chromiumcodereview.appspot.com/23444004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221920 0039d316-1c4b-4281-b951-d872f2087c98
* Add a new parameter |latency| to PPB_Audio.yzshen@chromium.org2013-09-0617-100/+328
| | | | | | | | | | | This CL updates the version of PPB_Audio and PPB_Audio_Callback. BUG=240900 TEST=updated test_audio.{h,cc} Review URL: https://chromiumcodereview.appspot.com/22320004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221788 0039d316-1c4b-4281-b951-d872f2087c98
* [PPAPI] Updated documentation for PP_VarType enum constants.mgiuca@chromium.org2013-09-062-15/+36
| | | | | | | | | | | Wrote proper documentation for PP_VARTYPE_ARRAY and PP_VARTYPE_DICTIONARY. These previously said that they are not currently supported, but they are. For PP_VARTYPE_STRING, added note that AddRef and Release must be used. Review URL: https://chromiumcodereview.appspot.com/23757014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221654 0039d316-1c4b-4281-b951-d872f2087c98
* Remove printf from ppapi Resource.bbudge@chromium.org2013-09-061-1/+0
| | | | | | | | BUG=none Review URL: https://chromiumcodereview.appspot.com/23453036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221583 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor PPB_NetworkMonitor_Private interface to use CompletionCallback.sergeyu@chromium.org2013-09-0622-358/+298
| | | | | | | | | | | | | Previously NetworkMonitor required that a callback is passed to the Create() method. It was hard to use and inconsistent with other APIs. Added new UpdateNetworkList() method which accepts a CompletionCallback to be called when network list changes. BUG=281781 Review URL: https://chromiumcodereview.appspot.com/23453025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221582 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 221284 "Pepper: Move FileRef to the "new" resource proxy."teravest@chromium.org2013-09-0534-205/+1128
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > Pepper: Move FileRef to the "new" resource proxy. > > This change moves the FileRef implementation from the previous one in the "old" > resource model (ppb_file_ref_impl.cc) to the "new" resource model > (pepper_file_ref_host.cc), and from the renderer to the browser. > > As many as possible of the supporting changes were split off to other changes > to minimize the size of this change. Unfortunately, a lot of changes for > URLLoader had to be rolled into this change. > > The data structures for CreateInfo have changed, and all users of FileRef have > to be moved over, which is what causes this change to be so large. > > TBR=dmichael@chromium.org, jschuh@chromium.org, yzshen@chromium.org > BUG=225441 > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=216744 > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=218305 > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=219911 > > Review URL: https://codereview.chromium.org/21966004 TBR=teravest@chromium.org Review URL: https://codereview.chromium.org/23647008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221544 0039d316-1c4b-4281-b951-d872f2087c98
* PPAPI: Blocking callbacks shouldn't need a target_loop_dmichael@chromium.org2013-09-051-9/+15
| | | | | | | | | | See bug for details. BUG=285389 Review URL: https://chromiumcodereview.appspot.com/23706006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221535 0039d316-1c4b-4281-b951-d872f2087c98
* Handle cache-control:no-store header in PNaCl translation cachedschuff@chromium.org2013-09-054-28/+33
| | | | | | | | | | | | | | | | | Pexe files with the cache-control:no-store header should not be cached. Add a field to the PnaclCacheInfo struct, plumb the value all the way from the plugin to the browser, and treat it basically the same way we currently treat incognito translations (since we currently don't have an off-the-record cache for those). R=jvoung@chromium.org BUG=none, noticed this was missing when doing cleanup Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=221275 Reverted due to iterator use-after-erase in patchset 4. fixed in 5. No idea why it passed the CQ so cleanly but blew up the buildbots so completely. Review URL: https://chromiumcodereview.appspot.com/23458015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221525 0039d316-1c4b-4281-b951-d872f2087c98
* Convert most run_all_unittests.cc files to use new unit test launcher.phajdan.jr@chromium.org2013-09-052-11/+1
| | | | | | | | | | | | | Note that the new code is still behind a runtime flag (--brave-new-test-launcher), but compiling tests with support for it will make further testing possible. BUG=236893, 79359 R=akalin@chromium.org, enne@chromium.org, erikwright@chromium.org, joi@chromium.org, keybuk@chromium.org, sky@chromium.org, thestig@chromium.org, tommi@chromium.org, wtc@chromium.org, xhwang@chromium.org, yzshen@chromium.org Review URL: https://codereview.chromium.org/23442019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221464 0039d316-1c4b-4281-b951-d872f2087c98
* Use PP_ArrayOutput and PPB_NetAddress in PPB_NetworkList_Private..sergeyu@chromium.org2013-09-0511-178/+246
| | | | | | | | | | | | | | PPB_NetworkList_Private was implemented before PP_ArrayOutput and PPB_NetAddress was added. Refactor GetIPAddress() to use these new types. Also removed in-process support because PPB_NetAddress doesn't support in-process mode. BUG=281781 TBR=piman@chromium.org (trivial changes in content_renderer.gypi) Review URL: https://chromiumcodereview.appspot.com/23806003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221324 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper: Move FileRef to the "new" resource proxy.teravest@chromium.org2013-09-0434-1128/+205
| | | | | | | | | | | | | | | | | | | | | | | | | | This change moves the FileRef implementation from the previous one in the "old" resource model (ppb_file_ref_impl.cc) to the "new" resource model (pepper_file_ref_host.cc), and from the renderer to the browser. As many as possible of the supporting changes were split off to other changes to minimize the size of this change. Unfortunately, a lot of changes for URLLoader had to be rolled into this change. The data structures for CreateInfo have changed, and all users of FileRef have to be moved over, which is what causes this change to be so large. TBR=dmichael@chromium.org, jschuh@chromium.org, yzshen@chromium.org BUG=225441 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=216744 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=218305 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=219911 Review URL: https://codereview.chromium.org/21966004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221284 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 221275 "Handle cache-control:no-store header in PNaCl tra..."vitalybuka@chromium.org2013-09-044-33/+28
| | | | | | | | | | | | | | | | | | | | > Handle cache-control:no-store header in PNaCl translation cache > > Pexe files with the cache-control:no-store header should not be cached. > Add a field to the PnaclCacheInfo struct, plumb the value all the way > from the plugin to the browser, and treat it basically the same way we > currently treat incognito translations (since we currently don't have an > off-the-record cache for those). > R=jvoung@chromium.org > BUG=none, noticed this was missing when doing cleanup > > Review URL: https://chromiumcodereview.appspot.com/23458015 TBR=dschuff@chromium.org Review URL: https://codereview.chromium.org/23684032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221281 0039d316-1c4b-4281-b951-d872f2087c98
* Handle cache-control:no-store header in PNaCl translation cachedschuff@chromium.org2013-09-044-28/+33
| | | | | | | | | | | | | | Pexe files with the cache-control:no-store header should not be cached. Add a field to the PnaclCacheInfo struct, plumb the value all the way from the plugin to the browser, and treat it basically the same way we currently treat incognito translations (since we currently don't have an off-the-record cache for those). R=jvoung@chromium.org BUG=none, noticed this was missing when doing cleanup Review URL: https://chromiumcodereview.appspot.com/23458015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221275 0039d316-1c4b-4281-b951-d872f2087c98