summaryrefslogtreecommitdiffstats
path: root/ipc
Commit message (Collapse)AuthorAgeFilesLines
* ipc: Remove ipc_listener.h from ipc_channel.h and update the files.tfarina@chromium.org2012-11-174-5/+4
| | | | | | | | | | | Note: This was a TODO for brett in ipc_channel.h TBR=cpu@chromium.org Review URL: https://chromiumcodereview.appspot.com/11308082 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@168458 0039d316-1c4b-4281-b951-d872f2087c98
* ipc: Update calls from RunAllPending() to RunUntilIdle().tfarina@chromium.org2012-11-161-3/+3
| | | | | | | | | | | | RunAllPending() is deprecated and we should switch to RunUntilIdle(). BUG=131220 TBR=cpu@chromium.org NOTRY=true Review URL: https://chromiumcodereview.appspot.com/11420048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@168331 0039d316-1c4b-4281-b951-d872f2087c98
* Add missing includes to ipc_listener.htfarina@chromium.org2012-11-152-2/+4
| | | | | | | | | | | This is TODO in ipc_channel.h that I'm working on. TBR=brettw@chromium.org Review URL: https://chromiumcodereview.appspot.com/11416016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@168055 0039d316-1c4b-4281-b951-d872f2087c98
* LogData.message_name not marshalled across logging IPCs.tsepez@chromium.org2012-11-151-0/+2
| | | | | | Review URL: https://chromiumcodereview.appspot.com/11364242 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167838 0039d316-1c4b-4281-b951-d872f2087c98
* Move eintr_wrapper.h from base to base/posixbrettw@chromium.org2012-11-145-5/+5
| | | | | | Review URL: https://codereview.chromium.org/11366229 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167739 0039d316-1c4b-4281-b951-d872f2087c98
* net: Change type of UploadData::elements from std::vector to ScopedVectorhashimoto@chromium.org2012-11-141-0/+32
| | | | | | | | | | | | | | Using std::vector to hold UploadElement is bad for two reasons: 1. It results in a lot of unnecessary copy of uploaded data. 2. Appending new chunks may result in invalidating the pointer held by UploadBytesElementReader. BUG=160028 TEST=git try TBR=ananta@chromium.org, tony@chromium.org Review URL: https://chromiumcodereview.appspot.com/11275223 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167611 0039d316-1c4b-4281-b951-d872f2087c98
* Move global_descriptors to base/posix.brettw@chromium.org2012-11-093-3/+3
| | | | | | | | | | This file represents a posix-only concept. BUG= Review URL: https://codereview.chromium.org/11293210 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167008 0039d316-1c4b-4281-b951-d872f2087c98
* Split IPC logging between content and chrome.jochen@chromium.org2012-10-301-14/+4
| | | | | | | | | | | | | I add a new content API to register IPC message loggers, and modify the IPC message macros to not directly create the g_log_function_mapping. That allows for multiple files generating IPC loggers. Also, it gets rid of the ctor/dtor for the g_log_function_mapping. BUG=101600,111316,155765 Review URL: https://codereview.chromium.org/11347012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@164861 0039d316-1c4b-4281-b951-d872f2087c98
* Move IPCMessageStart enum into it own file with security team OWNERS, so ↵tsepez@chromium.org2012-10-235-70/+89
| | | | | | | | that new message files can't be added to chromium without triggering a security review. Review URL: https://chromiumcodereview.appspot.com/11048038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163713 0039d316-1c4b-4281-b951-d872f2087c98
* Upstream fullscreen video implementation for androidqinmin@chromium.org2012-10-051-0/+1
| | | | | | | | | BUG=136677 Review URL: https://chromiumcodereview.appspot.com/10979047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160431 0039d316-1c4b-4281-b951-d872f2087c98
* Listen in the browser for a connection from a metro viewer process.scottmg@google.com2012-10-011-1/+1
| | | | | | | | | | Render to the surface it provides to us. BUG=151718 Review URL: https://codereview.chromium.org/10984007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159559 0039d316-1c4b-4281-b951-d872f2087c98
* Fix build warnings in NaCl IPC proxy.bbudge@chromium.org2012-09-284-15/+3
| | | | | | | | | BUG=116317 TEST=builds Review URL: https://chromiumcodereview.appspot.com/10982031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159344 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup the IPC param traits structure:jam@chromium.org2012-09-251-0/+1
| | | | | | | | | | | -traits that are only used by chrome should be in chrome -traits that aren't used by chrome shouldn't be in content/public -use macros for serialization where possible -traits that are only used by one message file should just be listed in it -get rid of webkit_param_traits since it's not needed anymore. It was added as a hack to keep npchrome_frame.dll's size small by giving a hint to the MSVS linker, but now that there's more split between the message files because of the content split it's not necessary anymore. I've verified that npchrome_frame.dll's size (Release, non-component) size doesn't change. Review URL: https://codereview.chromium.org/10980010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158570 0039d316-1c4b-4281-b951-d872f2087c98
* nacl: Fix a bunch of compiler warningsthakis@chromium.org2012-09-242-2/+4
| | | | | | | | | 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
* Bunch of boilerplate to set up a process, ipc, etc.scottmg@google.com2012-09-181-0/+1
| | | | | | | | Only hooked up in "aura_demo --viewer" right now, and doesn't actually accomplish anything other than opening a window yet. Review URL: https://codereview.chromium.org/10872002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157367 0039d316-1c4b-4281-b951-d872f2087c98
* Trace PostTasks from post to run.jbates@chromium.org2012-09-186-8/+24
| | | | | | | | | | | | To do this properly, we need a new type of trace event "FLOW" which will be drawn as lines in about:tracing from BEGIN to END. Also instruments SequencedWorkerPool and ChannelReader::DispatchInputData, which were not currently traced. BUG=79942 Review URL: https://codereview.chromium.org/10913242 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157288 0039d316-1c4b-4281-b951-d872f2087c98
* Fix trace event macro naming issuejbates@chromium.org2012-09-111-1/+1
| | | | | | Review URL: https://chromiumcodereview.appspot.com/10908183 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155955 0039d316-1c4b-4281-b951-d872f2087c98
* Remove {base,net}_java dependencies from GYP client targets on Android.pliard@chromium.org2012-09-101-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | On Android, some GYP client targets were explicitly depending on both the native and Java sides of a library. This removes the dependencies to {base,net}_java and make the native side ('base' and 'net) of these libraries depend on their Java counterpart. On Android it rarely makes sense to depend on a single side of a Java/C++ library. The {base,net}_java can now be considered as "private" targets although GYP does not support this concept unfortunately (AFAICT). Note that I made sure that the resulting APKs' size is unchanged. Additionally, this CL removes 'base_java' (i.e. does not replace it with 'base') from the targets including 'build/apk_test.gypi'. This dependency should not have been there (in the wrong layer) in the first place. It's needed by ChromeNativeTestActivity.java which clients should not know about. BUG=146323 TBR=lipalani,sky,willchan,brettw Review URL: https://chromiumcodereview.appspot.com/10913083 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155737 0039d316-1c4b-4281-b951-d872f2087c98
* Fix ownership of the helper thread in IPCSyncChannelTest.SyncMessageFilterpiman@chromium.org2012-09-081-9/+14
| | | | | | | | | | | | | The Thread object could (depending on a race) be destroyed on its own thread, which is illegal. Instead, make sure that ownership of the thread is decoupled from the filter to ensure it's destroyed (and joined) on a good thread. BUG=129620 Review URL: https://chromiumcodereview.appspot.com/10914161 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155547 0039d316-1c4b-4281-b951-d872f2087c98
* fix gprecise gcc build errorjbates@chromium.org2012-09-051-1/+1
| | | | | | | | | BUG=146454 TBR=oshima Review URL: https://chromiumcodereview.appspot.com/10918062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154873 0039d316-1c4b-4281-b951-d872f2087c98
* Add async trace events to trace progress of IPC messagesjbates@chromium.org2012-09-047-9/+45
| | | | | | | | BUG=79942 Review URL: https://chromiumcodereview.appspot.com/10919023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154840 0039d316-1c4b-4281-b951-d872f2087c98
* In-te-grate hy-phen-ator to con-tent.hbono@chromium.org2012-09-031-0/+1
| | | | | | | | | | | | | | This change integrates the Hyphenator class to content so Chrome can use it. This change basically consists of two parts: * Adds a couple of IPC messages so a renderer asks a browser to open hyphenation dictionaries; * Adds a HyphenatorMessageFilter class, which opens hyphenation dictionaries in a browser process; * Changes the Hyphenator class to send IPC messages to open hyphenation dictionaries. BUG=47083 TEST=HyphenatorTest.SetDictionary,HyphenatorMessageFilterTest.OpenDictionary Review URL: https://chromiumcodereview.appspot.com/10854245 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154663 0039d316-1c4b-4281-b951-d872f2087c98
* Implement DocuementHasImagesjoth@chromium.org2012-09-011-0/+1
| | | | | | | | | | | | Requires new plumbing to get custom android_webview layer IPC messages a flowing. BUG= Review URL: https://chromiumcodereview.appspot.com/10890024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154564 0039d316-1c4b-4281-b951-d872f2087c98
* Make NaCl IPC-based PPAPI proxy build on ARM.bbudge@chromium.org2012-08-231-1/+1
| | | | | | | | | | This change modifies the build to fix compile and link failures. It introduces a build/common_untrusted.gypi file, to add things that are needed by all untrusted targets that build Chrome code. BUG=116317 TEST=compiles native_client.gyp:nacl_ipc_irt target on ARM. Review URL: https://chromiumcodereview.appspot.com/10871009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@153074 0039d316-1c4b-4281-b951-d872f2087c98
* Add traces for SyncChannel::SendWithTimeoutpiman@chromium.org2012-08-221-0/+14
| | | | | | | | | BUG=None Review URL: https://chromiumcodereview.appspot.com/10831415 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152841 0039d316-1c4b-4281-b951-d872f2087c98
* Remove dmaclach from OWNERS filesthestig@chromium.org2012-08-221-1/+0
| | | | | | | TBR=brettw Review URL: https://chromiumcodereview.appspot.com/10873013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152839 0039d316-1c4b-4281-b951-d872f2087c98
* Enable verbose logging during PluginMsg_CreateInstance.bauerb@chromium.org2012-08-201-5/+6
| | | | | | | | | | | | | This should get rid of the spurious ERROR messages when closing tabs, and log backtraces when we need them. BUG=141055 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=151975 Review URL: https://chromiumcodereview.appspot.com/10834355 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152395 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 151975 - Enable verbose logging during PluginMsg_CreateInstance.piman@chromium.org2012-08-171-13/+5
| | | | | | | | | | | | | | This should get rid of the spurious ERROR messages when closing tabs, and log backtraces when we need them. BUG=141055 Review URL: https://chromiumcodereview.appspot.com/10834355 TBR=bauerb@chromium.org Review URL: https://chromiumcodereview.appspot.com/10854207 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152141 0039d316-1c4b-4281-b951-d872f2087c98
* Enable verbose logging during PluginMsg_CreateInstance.bauerb@chromium.org2012-08-161-5/+13
| | | | | | | | | | | This should get rid of the spurious ERROR messages when closing tabs, and log backtraces when we need them. BUG=141055 Review URL: https://chromiumcodereview.appspot.com/10834355 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151975 0039d316-1c4b-4281-b951-d872f2087c98
* Implements part of DeviceMotion in the browseraousterh@chromium.org2012-08-161-0/+1
| | | | | | | | | | | | | | This adds the motion message filter, motion ipc messages, and related motion files. This was originally part of a larger patch (http://codereview.chromium.org/10698046/). BUG=59201 Review URL: https://chromiumcodereview.appspot.com/10823310 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151908 0039d316-1c4b-4281-b951-d872f2087c98
* Creates the WebCompositorOutputSurface, which is the new mechanism for ↵nduca@chromium.org2012-08-132-31/+23
| | | | | | | | | | | | | | rendering interactions between the compositor and RenderWidgetHost. As part of this, we plumb vsync information to the compositor. The new IPC::ForwardingMessageFilter is modified to have route-specific handlers rather than a global handler. This simplifies message routing considerably. BUG=129674 Review URL: https://chromiumcodereview.appspot.com/10798006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151387 0039d316-1c4b-4281-b951-d872f2087c98
* Add moar logging for "Couldn't load plug-in" errors.bauerb@chromium.org2012-08-131-1/+10
| | | | | | | | BUG=141055 Review URL: https://chromiumcodereview.appspot.com/10854092 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151246 0039d316-1c4b-4281-b951-d872f2087c98
* Browser Plugin: New Implementation (Renderer Side)fsamuel@chromium.org2012-08-101-0/+1
| | | | | | | | | | | | | BUG=140306 Tested: Added new browser tests! Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=150654 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=150863 Review URL: https://chromiumcodereview.appspot.com/10830072 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150956 0039d316-1c4b-4281-b951-d872f2087c98
* Clean-up inline members of nested classes (ipc/)hans@chromium.org2012-08-092-1/+5
| | | | | | | | | | | | | | | | Due to a bug, the Clang-plugin style checker failed to warn about inline constructors, destructors, non-empty virtual methods, etc. for nested classes. The plugin has been fixed, and this patch is part of a clean-up of all the code that now causes the plugin to issue errors. BUG=139346 Review URL: https://chromiumcodereview.appspot.com/10825275 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150891 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 150863 - Browser Plugin: New Implementation (Renderer Side)mmoss@chromium.org2012-08-091-1/+0
| | | | | | | | | | | | | | BUG=140306 Tested: Added new browser tests! Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=150654 Review URL: https://chromiumcodereview.appspot.com/10830072 TBR=fsamuel@chromium.org Review URL: https://chromiumcodereview.appspot.com/10827257 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150873 0039d316-1c4b-4281-b951-d872f2087c98
* Browser Plugin: New Implementation (Renderer Side)fsamuel@chromium.org2012-08-091-0/+1
| | | | | | | | | | | BUG=140306 Tested: Added new browser tests! Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=150654 Review URL: https://chromiumcodereview.appspot.com/10830072 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150863 0039d316-1c4b-4281-b951-d872f2087c98
* Make java.gypi export jar path to input_jars_paths variablecjhopman@chromium.org2012-08-091-1/+0
| | | | | | | | | | | | | | | | | Both java.gypi and apk_test.gypi expect the jar path in input_jars_paths. This means that we were specifying the dependence in both 'dependencies' and 'input_jars_paths'. This change makes it so that we don't need that redundancy. Also, make java.gypi use input_jars_paths in its input so that we actually rebuild targets when we should. BUG=136756 Review URL: https://chromiumcodereview.appspot.com/10837143 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150850 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 150654 - Browser Plugin: New Implementation (Renderer Side)jeremya@chromium.org2012-08-091-1/+0
| | | | | | | | | | | | BUG=140306 Tested: Added new browser tests! Review URL: https://chromiumcodereview.appspot.com/10830072 TBR=fsamuel@chromium.org Review URL: https://chromiumcodereview.appspot.com/10832219 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150681 0039d316-1c4b-4281-b951-d872f2087c98
* Browser Plugin: New Implementation (Renderer Side)fsamuel@chromium.org2012-08-091-0/+1
| | | | | | | | | BUG=140306 Tested: Added new browser tests! Review URL: https://chromiumcodereview.appspot.com/10830072 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150654 0039d316-1c4b-4281-b951-d872f2087c98
* Purge ImplementsThreadSafeReferenceCounting() from the codebase now that ↵fischman@chromium.org2012-08-071-1/+0
| | | | | | | | | | Task is dead. TBR=ananta@chromium.org,apatrick@chromium.org Review URL: https://chromiumcodereview.appspot.com/10836116 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150202 0039d316-1c4b-4281-b951-d872f2087c98
* Correct const accessors in base/values.(h|cc), Part II (ListValue)vabr@chromium.org2012-08-031-1/+1
| | | | | | | | | | | | | | For problem description and other info please see the BUG page. This is for ListValue. BUG=138946 TEST=N/A (no fix & no new feature) TBR=jar,zelidrag,scottbyer,mpcomplete,darin,achuith,sky,estade,atwilson,grt,thakis,jamesr,hans,sadrul,pastarmovj Review URL: https://chromiumcodereview.appspot.com/10837044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149819 0039d316-1c4b-4281-b951-d872f2087c98
* Make Sync Messages with lots of parameters and no return workfsamuel@chromium.org2012-08-011-2/+2
| | | | | | | | | | | There are a couple of broken macros that will be used by the browser plugin. BUG=none TEST=compiles (+ local testing with browser plugin) Review URL: https://chromiumcodereview.appspot.com/10829084 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149466 0039d316-1c4b-4281-b951-d872f2087c98
* Browser Plugin: Rename BrowserPluginMsg/BrowserPluginHostMsg to ↵fsamuel@chromium.org2012-07-311-1/+1
| | | | | | | | | | | | | | | OldBrowserPluginMsg/OldBrowserPluginHostMsg The upcoming rewrite of the browser plugin has colliding names for IPC messages. Rename existing messages to Old in preparation for the new implementation. BUG=none Review URL: https://chromiumcodereview.appspot.com/10829074 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149116 0039d316-1c4b-4281-b951-d872f2087c98
* Correct const accessors in base/values.(h|cc)vabr@chromium.org2012-07-271-1/+1
| | | | | | | | | | | | | For problem description and other info please see the BUG page. This is for DictionaryValue. BUG=138946 TEST=N/A (no fix & no new feature) TBR=jar scottbyer achuith agl mnissler davemoore garykac akalin hans bulach phajdan.jr jamesr Review URL: https://chromiumcodereview.appspot.com/10834004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148833 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed several CHECKED_RETURN defects in ipc message utils ccorenb@chromium.org2012-07-261-4/+9
| | | | | | | | | | | | | CID_COUNT=3 CID=104154,104155,104156 BUG= TEST= TBR=jeremy Review URL: https://chromiumcodereview.appspot.com/10829024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148469 0039d316-1c4b-4281-b951-d872f2087c98
* Add IPC::ForwardingMessageFilter.nduca@chromium.org2012-07-203-0/+137
| | | | | | Review URL: https://chromiumcodereview.appspot.com/10796057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147708 0039d316-1c4b-4281-b951-d872f2087c98
* More -Wunused-private-field cleanups.thakis@chromium.org2012-07-201-3/+1
| | | | | | | | | | | | | As of http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20120716/061102.html the warning finds more bugs. Fix them. BUG=none TEST=none TBR=owners Review URL: https://chromiumcodereview.appspot.com/10800052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147666 0039d316-1c4b-4281-b951-d872f2087c98
* Remove IPC macros for "5_4" messages.brettw@chromium.org2012-07-131-6/+0
| | | | | | | | | | | Nobody uses these. Since we don't have tuples for 9 elements, attempts to use them will fail. TEST=it compiles BUG=none Review URL: https://chromiumcodereview.appspot.com/10735092 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146609 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the rest of #pragma once in one big CL.ajwong@chromium.org2012-07-1125-25/+1
| | | | | | | | | For context see this thread: https://groups.google.com/a/chromium.org/forum/?fromgroups#!topic/chromium-dev/RMcVNGjB4II TBR=thakis,pkasting,jam git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146163 0039d316-1c4b-4281-b951-d872f2087c98
* Switch to TimeDelta interfaces for process waiting functions in net and ipc.tedvessenes@gmail.com2012-07-115-22/+31
| | | | | | | | | | R=agl@chromium.org BUG=108171 Review URL: https://chromiumcodereview.appspot.com/10692155 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146124 0039d316-1c4b-4281-b951-d872f2087c98