| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
This change implements new Chrome IPC for PPB_WebSocket.
After this change, all mode including out of process
will work with new design. It doesn't depend on old SRPC design any more.
BUG=87310,116317
Review URL: https://chromiumcodereview.appspot.com/10944005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160783 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG= http://code.google.com/p/chromium/issues/detail?id=154400
Review URL: https://chromiumcodereview.appspot.com/11028082
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160770 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This code cannot depend on libc. Gcc apparently inlines strcmp, but LLVM/clang
does not, so this is needed to compile the shim with clang
R=jvoung@chromium.org
BUG= http://code.google.com/p/nativeclient/issues/detail?id=3063
Review URL: https://chromiumcodereview.appspot.com/11087015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160761 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The change involved deleting several dead *.scons files, eliminating a dead
dependancy on a script that downloaded Chrome binaries, and unwinding a
nonstandard use of Sconscript to include a file.
BUG= http://code.google.com/p/chromium/issues/detail?id=154400
Review URL: https://chromiumcodereview.appspot.com/11079003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160748 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=none
Review URL: https://chromiumcodereview.appspot.com/11065044
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160742 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=116317
TEST=manual for now
Review URL: https://chromiumcodereview.appspot.com/11013053
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160723 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
NOTRY=true
BUG=none
Review URL: https://chromiumcodereview.appspot.com/11079005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160683 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=116317
TEST=SSH extension can get interfaces.
Review URL: https://codereview.chromium.org/11078006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160673 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=none
Review URL: https://chromiumcodereview.appspot.com/11032053
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160665 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
refcount.
Previously when |SerializedVarVectorReceiveInput| objects went out of scope,
their associated arrays were destroyed which led to use-after-frees when
testing refcounts. This corrects the problem by making a copy of the array.
BUG=152298
TEST=valgrinded the test
Review URL: https://chromiumcodereview.appspot.com/11040051
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160545 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
This renames the interface strings to be consistent. Since this is only used
by the PDF plugin which is built alongside Chrome, this should be OK.
BUG=
Review URL: https://codereview.chromium.org/11048006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160506 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
All of the structs inside the file are type-def'ed to the non-dev equivalents
and there is no usage in the codebase.
BUG=
Review URL: https://codereview.chromium.org/11065038
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160504 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* ppapi_geturl
* ppapi_ppb_dev
* ppapi_ppp_instance
BUG= http://code.google.com/p/nativeclient/issues/detail?id=2959
Review URL: https://chromiumcodereview.appspot.com/11035048
TBR=ncbray@chromium.org
Review URL: https://codereview.chromium.org/11026079
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160484 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* ppapi_geturl
* ppapi_ppb_dev
* ppapi_ppp_instance
BUG= http://code.google.com/p/nativeclient/issues/detail?id=2959
Review URL: https://chromiumcodereview.appspot.com/11035048
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160454 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
This will allow Flash (or others) to reduce power consumption.
BUG=153643
Review URL: https://chromiumcodereview.appspot.com/11044026
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160318 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Initialized |next_plugin_dispatcher_id_| in PpapiDispatcher constructor.
CID=105977
BUG=none
TEST=none
TBR=piman@chromium.org
Review URL: https://chromiumcodereview.appspot.com/11051025
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160204 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=
Review URL: https://codereview.chromium.org/11013014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160190 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This adds the PPP half of the video decoding support changes.
Adds the following pepper types:
- PP_VideoCodec
- PP_DecryptedFrameFormat
- PP_EncryptedVideoFrameInfo
Replaces PPP_ContentDecryptor_Private::DecryptAndDecode with
DecryptAndDecodeFrame.
BUG=141780
TEST=
Review URL: https://chromiumcodereview.appspot.com/11023004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160078 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously each PluginResource had to write a reply handler (|OnReplyReceived|) for any replies to resource messages. This approach had several problems including the fact that the PluginResource had to track the state of any outstanding calls.
This change allows you to register a base::Callback when calling CallToBrowser/CallToRenderer. The callback will be run when a reply message is received with a sequence number matching the call. The parameters of the reply will be passed to the callback. An example of usage:
CallBrowser<PpapiPluginMsg_MyResourceType_MyReplyMessage>(
PpapiHostMsg_MyResourceType_MyRequestMessage(),
base::Bind(&MyPluginResource::ReplyHandler, this));
If a reply message to this call is received whose type does not match the expected reply message (for example, in the case of an error), the callback will still be invoked but with the default values of the message parameters.
BUG=
Review URL: https://chromiumcodereview.appspot.com/11022005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160015 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
This adds the PPB half of the video decoding support changes.
BUG=141780
TEST=
Review URL: https://chromiumcodereview.appspot.com/10989069
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159999 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In NaCl-side changes, the sandboxed translator has been changed to
link the shims library on all architectures. (The shims library is
defined on all architectures, if only as a dummy in some cases.) We
need to change the translator extension to match.
BUG=http://code.google.com/p/nativeclient/issues/detail?id=3018
TEST=PNaCl tests on *_naclmore trybots
Review URL: https://codereview.chromium.org/11016031
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159938 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
This prevents crashes in the case that a message causes the plugin to be
deleted.
BUG=153509
Review URL: https://codereview.chromium.org/11046010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159925 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
depend on liballocator if linux_use_tcmalloc==1
TBR=viettrungluu
Review URL: https://codereview.chromium.org/11036021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159871 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The resource (on the plugin side) provides an outgoing and a reply IPC message and the reply message will be set up synchronously. The nice thing about this change is that when writing new ResourceHosts, there is no difference between handling a sync message and a non-sync message. So, for example, you could have a single implementation of some function on the host side and the plugin could choose to call that implementation both synchronously and asynchronously. For example, for the function GetDefaultPrintSettings(), the plugin could call both:
CallBrowser(PpapiHostMsg_Printing_GetDefaultPrintSettings());
AND
CallBrowserSync(PpapiHostMsg_Printing_GetDefaultPrintSettings(), &reply);
with only a single implementation of GetDefaultPrintSettings on the host side.
This change also supports both synchronously and asynchronous handling sync messages on the host side (through IPC_MESSAGE_HANDLER_DELAY_REPLY).
BUG=none
Review URL: https://chromiumcodereview.appspot.com/10989042
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159820 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
column of Task Manager to show network usage by Pepper plugins.
R=brettw@chromium.org
Review URL: https://chromiumcodereview.appspot.com/11026007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159805 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
Some NaCl apps require this, and it's not really part of the trusted interface.
BUG=116317
TEST=Mini Ninjas, From Dust work.
Review URL: https://codereview.chromium.org/11045002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159778 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
These were never implemented.
BUG=
Review URL: https://codereview.chromium.org/11036012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159775 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
This doesn't actually do much more checking of the permissions, but it should wire it up everywhere we'll need it. It will also at least only return public interfaces via GetInterface in the proxy now unless other bits are supplied.
Review URL: https://codereview.chromium.org/10984094
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159729 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
linux_use_tcmalloc==1
This is required to run these tests under the heap checker.
TBR=viettrungluu
Review URL: https://codereview.chromium.org/11034020
TBR=glider@chromium.org
Review URL: https://codereview.chromium.org/11039017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159662 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
This is required to run these tests under the heap checker.
TBR=viettrungluu
Review URL: https://codereview.chromium.org/11034020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159661 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The pnacl idl generator previously was only run on linux.
As it now is run everywhere, making sure it emits consistent
slashes on windows.
R=dschuff@chromium.org,yzshen@chromium.org
BUG=153405
TEST=No diff on windows
Review URL: https://chromiumcodereview.appspot.com/11036014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159622 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=None
TEST=None
Review URL: https://chromiumcodereview.appspot.com/11026010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159613 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=none,100309
Review URL: https://chromiumcodereview.appspot.com/10977073
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159592 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
This adds the browser side implementation of PPB_Printing as well as a unittest for PepperPrintingHost and a PPAPI browser_test for PPB_Printing::GetDefaultPrintSettings.
BUG=138333
TEST=content_unittests/browser_tests
Review URL: https://chromiumcodereview.appspot.com/10826072
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159150 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Graphics2D::Flush should delay callback when the update is invisible,
while the plugin is visible on current tab.
Contributed by victorhsieh@chromium.org
BUG=
Review URL: https://chromiumcodereview.appspot.com/10933107
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159112 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The permissions bug was fixed in r15908k so this logging isn't necessary anymore.
Somehow these aren't getting set properly for the bundled Flash case. The code path we take to get them is pretty long, so this patch adds some temporary logging to try to see wher they're lost.
BUG=147507
Review URL: https://codereview.chromium.org/10917160
TBR=brettw@chromium.org
Review URL: https://codereview.chromium.org/10981057
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159091 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
processes if users kill a hung pepper plugin.
This CL collects information in order to diagnose inter-process pepper deadlocks.
- We don't crash those renderers or the browser.
- We only do this on the Windows Canary channel for 20% of pepper plugin hangs, if there are not too many renderers (<4).
BUG=147593
TEST=None
Review URL: https://chromiumcodereview.appspot.com/10983028
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158717 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG= http://code.google.com/p/nativeclient/issues/detail?id=2959
Review URL: https://chromiumcodereview.appspot.com/10958026
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158714 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently breaking on ASAN builders: http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_asan&number=2637
BUG=none
TEST=none
TBR=jam@chromium.org
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/10979025
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158672 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: https://chromiumcodereview.appspot.com/10735032
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158575 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
are a bit lean).
Review URL: https://codereview.chromium.org/10956037
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158574 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
The local version is broken by the sandbox. AFAICT the sandbox warmup
should allow this to work, but does not.
BUG=149006
Review URL: https://chromiumcodereview.appspot.com/10991007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158514 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
This allows us to eventually remove the 0.1 version.
BUG=147746
Review URL: https://chromiumcodereview.appspot.com/10985007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158511 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
* For x86-32, x86-64. Not pnacl.
BUG=none
TBR=viettrungluu@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10915213
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158417 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=148648
TBR=dmichael
Review URL: https://codereview.chromium.org/10959063
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158232 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Before, the shims library was only built on x86-64. We change it to
build on x86-32 and ARM too, where we define _pnacl_wrapper_start() to
be a trivial wrapper which immediately calls the user code's _start()
function.
This will mean we won't need an conditional for x86-64 in the
translators.
Since Gyp doesn't allow files to be excluded per architecture, I've
put #ifdefs into shim_ppapi.c and pnacl_shim.c.
BUG=http://code.google.com/p/nativeclient/issues/detail?id=3018
TEST=I checked that libpnacl_irt_shim.a builds OK in Scons
Review URL: https://codereview.chromium.org/10950042
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158121 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=116317
TEST=Apps that failed with this don't crash
Review URL: https://chromiumcodereview.appspot.com/10961045
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158036 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=none
TBR=ncbray@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10960036
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158028 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: https://chromiumcodereview.appspot.com/10749006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158001 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=ppapi/tests
Review URL: https://chromiumcodereview.appspot.com/10918083
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157871 0039d316-1c4b-4281-b951-d872f2087c98
|