summaryrefslogtreecommitdiffstats
path: root/mojo
Commit message (Collapse)AuthorAgeFilesLines
...
* [mojo-sdk] Cache the connector's weak self to avoid a malloc/free on every ↵amistry2016-03-142-3/+7
| | | | | | | | | | incoming message. BUG=None Review URL: https://codereview.chromium.org/1802443002 Cr-Commit-Position: refs/heads/master@{#381100}
* Allow Catalogs to be constructed per-userben2016-03-1415-140/+220
| | | | | | | | BUG= Review URL: https://codereview.chromium.org/1791663002 Cr-Commit-Position: refs/heads/master@{#381099}
* Mojo C++ bindings: support mapping mojo string to WTF::String.yzshen2016-03-1428-43/+568
| | | | | | | | | | The generator now supports a "--for_blink" flag. When it is specified, the generator will map mojo string to WTF::String. BUG=583738 Review URL: https://codereview.chromium.org/1751563002 Cr-Commit-Position: refs/heads/master@{#381091}
* [mojo] Implement pipe fusion APIrockot2016-03-1417-26/+450
| | | | | | | | | | | | | | | Sometimes it's desirable to fuse two pipes together. This is particularly useful when a service provides some kind of interface pipe later than its consumers would like to have such a pipe available. Rather than require the service to be rewritten to accommodate such cases, a consumer could create its own disconnected pipe and fuse it lazily with a service endpoint. BUG=591742 Review URL: https://codereview.chromium.org/1785843002 Cr-Commit-Position: refs/heads/master@{#380964}
* [mojo-edk] Delay creating the local queue in ↵amistry2016-03-141-7/+9
| | | | | | | | | | | | | | NodeController::AcceptIncomingMessages(). std::queue is a std::deque by default, which always does an allocation on construction in libstdc++. This makes it the primary cause of unnecessary allocations in the EDK on Linux. BUG=None Review URL: https://codereview.chromium.org/1801463002 Cr-Commit-Position: refs/heads/master@{#380945}
* Change mojo::Watcher to survive closing a handle and cancelling.sammc2016-03-142-1/+23
| | | | | | | | | | | | | Currently, if a handle is closed while a Watcher is watching it, its callback will notify it that the watch has been cancelled. However, if the Watcher is explicitly cancelled after the handle is closed but before the callback is called, it will attempt to call MojoCancelWatch() on the closed handle and DCHECK that it succeeds. This changes the DCHECK to also accept MOJO_ERROR_INVALID_ARGUMENT. Review URL: https://codereview.chromium.org/1795193005 Cr-Commit-Position: refs/heads/master@{#380936}
* Use chrome manifest with embedded shellrockot2016-03-142-32/+55
| | | | | | | | | | | | | | | | | | | | | | Moves chrome_manifest.json out of chrome/app/mash and into content/browser. Changes Shell to use the resolver when connecting to exe:chrome even when embedded in the browser. This brings embedded and external shell behavior closer together as the manifest will now be used for the browser app both in and out of mash. As such, it fixes the fact that the browser cannot currently connect to exe:chrome_renderer due to recent changes around capability classes and client process connections. BUG=None Review URL: https://codereview.chromium.org/1787083003 Cr-Commit-Position: refs/heads/master@{#380913}
* Remove ShellConnection::WaitForInitializerockot2016-03-1314-284/+186
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changes ShellClient::Initialize to expect a response with an optional Connector request rather than a ConnectorPtr being passed in with the call. This allows clients to create their own Connector pipe and lazily connect it to the shell thus avoiding any practical need to wait for an Initialize message. Additionally: - Client instances no longer die on the first Connector pipe error: instead an Instance is kept alive by the shell as long as either the ShellClient pipe is connected OR any Connector pipes are connected. - ShellClientFactory endpoints are now strongly typed instead of being raw message pipe handles. - Some uses of MessagePumpMojo near other changes in this CL have been opportunistically removed. BUG=591742 Review URL: https://codereview.chromium.org/1793793002 Cr-Commit-Position: refs/heads/master@{#380909}
* Separate the Catalog from the Shell completely, so the Catalog can live in ↵ben2016-03-1217-88/+136
| | | | | | | | | | its own process. BUG= Review URL: https://codereview.chromium.org/1786683004 Cr-Commit-Position: refs/heads/master@{#380811}
* Enforce capability classes for specific parameters to Connect().ben2016-03-1121-100/+641
| | | | | | | | | | | | | | | | Adds capability classes for: - connecting as a user other than your own or root - passing client process info - passing another instance name & a bunch of unit tests, & fixing the existing unit tests which failed with this enhanced enforcement. R=sky@chromium.org BUG= Review URL: https://codereview.chromium.org/1782903004 Cr-Commit-Position: refs/heads/master@{#380784}
* Fix invalid initializer in InterfaceRegistryrockot2016-03-112-12/+10
| | | | | | | | | | | | | | | | | Subtle: It's not OK to take the address of client_handle_ before delegating to the other ctor impl, because that ctor will implicitly reinitialize client_handle_'s memory. Not sure if this new code is the behavior we actually want InterfaceRegistry to have, but it seems reasonable and nobody's using it just yet. BUG=None R=ben@chromium.org Review URL: https://codereview.chromium.org/1783183002 Cr-Commit-Position: refs/heads/master@{#380652}
* Remove loader for catalog & some other cleanup:ben2016-03-1111-114/+27
| | | | | | | | | | | | | | | - instantiate the catalog shell client directly in the shell - remove some obsolete comments - move userid inheritance handling into the instance R=sky@chromium.org Committed: https://crrev.com/ecae0ae5f672a04579ab563462531889f6c0fab9 Cr-Commit-Position: refs/heads/master@{#380575} Review URL: https://codereview.chromium.org/1785743002 Cr-Commit-Position: refs/heads/master@{#380645}
* Implement capability classes:ben2016-03-1113-41/+275
| | | | | | | | | | | | | | | - pass the union of the interfaces in the "interfaces" list of the capability request and the interfaces implied by all classes present in the request - pass the class names so they can be used for non-interface capability granting R=sky@chromium.org BUG= Committed: https://crrev.com/191b85068b4db3a79ff4853edef91857e98c68ea Cr-Commit-Position: refs/heads/master@{#380552} Review URL: https://codereview.chromium.org/1781913003 Cr-Commit-Position: refs/heads/master@{#380644}
* Revert of Capability Classes (patchset #8 id:140001 of ↵vasilii2016-03-1113-275/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://codereview.chromium.org/1781913003/ ) Reason for revert: Broke mojo_shell_unittests on Linux Tests (https://build.chromium.org/p/chromium.linux/builders/Linux%20Tests/builds/38823/steps/mojo_shell_unittests/logs/stdio) [ RUN ] ConnectTest.CapabilityClasses [0311/005040:WARNING:interface_registry.cc(53)] Connection CapabilityFilter prevented binding to interface: mojo::shell::test::mojom::BlockedInterface connection_name:mojo:connect_test_app remote_name:mojo:connect_unittests [0311/005040:WARNING:interface_registry.cc(53)] Connection CapabilityFilter prevented binding to interface: mojo::shell::test::mojom::ConnectTestService connection_name:mojo:connect_test_class_app remote_name:mojo:connect_test_app [0311/005040:WARNING:interface_registry.cc(53)] Connection CapabilityFilter prevented binding to interface: mojo::shell::test::mojom::ClassInterface connection_name:mojo:connect_test_class_app remote_name:mojo:connect_test_app [ERROR:child_process_base.cc(212)] Connection error to the shell. [ERROR:child_process_base.cc(212)] Connection error to the shell. [37/37] ConnectTest.CapabilityClasses (TIMED OUT) Original issue's description: > Implement capability classes: > > - pass the union of the interfaces in the "interfaces" list of the capability request and the interfaces implied by all classes present in the request > - pass the class names so they can be used for non-interface capability granting > > R=sky@chromium.org > BUG= > > Committed: https://crrev.com/191b85068b4db3a79ff4853edef91857e98c68ea > Cr-Commit-Position: refs/heads/master@{#380552} TBR=sky@chromium.org,ben@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG= Review URL: https://codereview.chromium.org/1783303002 Cr-Commit-Position: refs/heads/master@{#380595}
* Revert of Remove loader for catalog & some other cleanup (patchset #4 ↵vasilii2016-03-1111-27/+114
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | id:60001 of https://codereview.chromium.org/1785743002/ ) Reason for revert: Based on https://codereview.chromium.org/1781913003 which broke mojo_shell_unittests on Linux. Original issue's description: > Remove loader for catalog & some other cleanup: > > - instantiate the catalog shell client directly in the shell > - remove some obsolete comments > - move userid inheritance handling into the instance > > R=sky@chromium.org > > Committed: https://crrev.com/ecae0ae5f672a04579ab563462531889f6c0fab9 > Cr-Commit-Position: refs/heads/master@{#380575} TBR=sky@chromium.org,ben@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Review URL: https://codereview.chromium.org/1783123006 Cr-Commit-Position: refs/heads/master@{#380594}
* Remove loader for catalog & some other cleanup:ben2016-03-1111-114/+27
| | | | | | | | | | | | - instantiate the catalog shell client directly in the shell - remove some obsolete comments - move userid inheritance handling into the instance R=sky@chromium.org Review URL: https://codereview.chromium.org/1785743002 Cr-Commit-Position: refs/heads/master@{#380575}
* [mojo-sdk] Remove mojo_ignore_result and move C++ macros.h to bindings ↵amistry2016-03-1158-76/+31
| | | | | | | | | | | | internal code. The one macro remaining in macros.h is only used by generated C++ code. BUG=534695 Review URL: https://codereview.chromium.org/1784743003 Cr-Commit-Position: refs/heads/master@{#380556}
* Mojo shell: Fix exported GYP dependenciesrockot2016-03-111-0/+9
| | | | | | | | | | | | | | This ensures that dependents on mojo_shell.gyp targets (which all expose shell mojom in their headers) also depend on shell bindings. Fixes gyp build flake. BUG=None TBR=ben@chromium.org Review URL: https://codereview.chromium.org/1779403002 Cr-Commit-Position: refs/heads/master@{#380554}
* Implement capability classes:ben2016-03-1113-41/+275
| | | | | | | | | | | | - pass the union of the interfaces in the "interfaces" list of the capability request and the interfaces implied by all classes present in the request - pass the class names so they can be used for non-interface capability granting R=sky@chromium.org BUG= Review URL: https://codereview.chromium.org/1781913003 Cr-Commit-Position: refs/heads/master@{#380552}
* Adds views_mus_unittests to the linux botsky2016-03-111-4/+7
| | | | | | | | | | | | | | | This test has been running on the mojo linux bot for a while now and is stable: https://build.chromium.org/p/chromium.mojo/builders/Chromium%20Mojo%20Linux/ BUG=577274 TEST=bot only change R=dpranke@chromium.org, ben@chromium.org TBR=ben@chromium.org Review URL: https://codereview.chromium.org/1773343002 Cr-Commit-Position: refs/heads/master@{#380550}
* Revert of Reland: Mojo C++ bindings: replace '::' with '.' in the interface ↵yzshen2016-03-115-8/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | name. (patchset #2 id:20001 of https://codereview.chromium.org/1782543004/ ) Reason for revert: https://uberchromegw.corp.google.com/i/chromium.linux/builders/Android%20Tests%20%28dbg%29/builds/33342 Original issue's description: > Reland: Mojo C++ bindings: replace '::' with '.' in the interface name. > > Previously the |foo::Bar::Name_| field was "foo::Bar". With this change it > becomes "foo.Bar". > > Using C++-style namespace in the name doesn't makes too much sense because the > name should remain the same across different languages. > > The original CL was https://codereview.chromium.org/1778793004/ > > BUG=None > TBR=ben@chromium.org > > Committed: https://crrev.com/a061a917ebc0d16fb67d2644d93bfdca7eec92d3 > Cr-Commit-Position: refs/heads/master@{#380459} TBR=ben@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=None Review URL: https://codereview.chromium.org/1785803003 Cr-Commit-Position: refs/heads/master@{#380503}
* Mojo C++ bindings: remove the utility/ folder.yzshen2016-03-1025-1838/+0
| | | | | | | | BUG=570102 Review URL: https://codereview.chromium.org/1784643002 Cr-Commit-Position: refs/heads/master@{#380472}
* Reland: Mojo C++ bindings: replace '::' with '.' in the interface name.yzshen2016-03-105-9/+8
| | | | | | | | | | | | | | | | | Previously the |foo::Bar::Name_| field was "foo::Bar". With this change it becomes "foo.Bar". Using C++-style namespace in the name doesn't makes too much sense because the name should remain the same across different languages. The original CL was https://codereview.chromium.org/1778793004/ BUG=None TBR=ben@chromium.org Review URL: https://codereview.chromium.org/1782543004 Cr-Commit-Position: refs/heads/master@{#380459}
* Fix deps in shellben2016-03-101-0/+1
| | | | | | | | | | | TBR=sky@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Review URL: https://codereview.chromium.org/1782983002 Cr-Commit-Position: refs/heads/master@{#380452}
* Fix failing tests with ChannelMojo enabled.sammc2016-03-101-2/+2
| | | | | | | | | | | | | | | | | | | This ChannelMojo to: - take a ScopedMessagePipeHandle instead of a string token so an in-process renderer can be passed the message pipe directly; - send brokered attachments as mojo handles; and - offer messages to AttachmentBroker. This also fixes and re-enables ipc_channel_mojo_unittest.cc. BUG=579813 Committed: https://crrev.com/013cfed7ecf91b0700bec7147631d4fbedb6b64e Cr-Commit-Position: refs/heads/master@{#380294} Review URL: https://codereview.chromium.org/1768903002 Cr-Commit-Position: refs/heads/master@{#380360}
* [mojo-sdk] Replace assert() usage in bindings with DCHECK.amistry2016-03-106-30/+27
| | | | | | | | BUG=None Review URL: https://codereview.chromium.org/1773403006 Cr-Commit-Position: refs/heads/master@{#380357}
* Moves mojo_application_manifest to data_depssky2016-03-109-13/+32
| | | | | | | | | | | | | Otherwise they aren't picked up as runtime dependencies and isolates won't work. BUG=none TEST=none R=ben@chromium.org Review URL: https://codereview.chromium.org/1783533003 Cr-Commit-Position: refs/heads/master@{#380347}
* Revert of Mojo C++ bindings: replace '::' with '.' in the interface name. ↵dpranke2016-03-105-8/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (patchset #3 id:40001 of https://codereview.chromium.org/1778793004/ ) Reason for revert: I think this broke the harness-tests/mojo-helpers.html layout test: https://test-results.appspot.com/dashboards/flakiness_dashboard.html#showExpectations=true&tests=harness-tests%2Fmojo-helpers.html https://build.chromium.org/p/chromium.webkit/builders/WebKit%20Linux/builds/61800 Original issue's description: > Mojo C++ bindings: replace '::' with '.' in the interface name. > > Previously the |foo::Bar::Name_| field was "foo::Bar". With this change it > becomes "foo.Bar". > > Using C++-style namespace in the name doesn't makes too much sense because the > name should remain the same across different languages. > > BUG=None > > Committed: https://crrev.com/026e10b3842af957773aee40dc3736eecb7faa0c > Cr-Commit-Position: refs/heads/master@{#380301} TBR=ben@chromium.org,yzshen@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=None Review URL: https://codereview.chromium.org/1771353009 Cr-Commit-Position: refs/heads/master@{#380328}
* Revert of Fix failing tests with ChannelMojo enabled. (patchset #3 id:300001 ↵tsergeant2016-03-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | of https://codereview.chromium.org/1768903002/ ) Reason for revert: This CL is causing failures in ipc_mojo_unittests. See: https://build.chromium.org/p/chromium.linux/builders/Linux%20Tests%20%28dbg%29%281%29/builds/52715 https://build.chromium.org/p/chromium.linux/builders/Linux%20Tests%20%28dbg%29%281%29%2832%29/builds/26588 Original issue's description: > Fix failing tests with ChannelMojo enabled. > > This ChannelMojo to: > - take a ScopedMessagePipeHandle instead of a string token so an > in-process renderer can be passed the message pipe directly; > - send brokered attachments as mojo handles; and > - offer messages to AttachmentBroker. > > This also fixes and re-enables ipc_channel_mojo_unittest.cc. > > BUG=579813 > > Committed: https://crrev.com/013cfed7ecf91b0700bec7147631d4fbedb6b64e > Cr-Commit-Position: refs/heads/master@{#380294} TBR=rockot@chromium.org,tsepez@chromium.org,ben@chromium.org,sammc@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=579813 Review URL: https://codereview.chromium.org/1784773002 Cr-Commit-Position: refs/heads/master@{#380325}
* Mojo C++ bindings: replace '::' with '.' in the interface name.yzshen2016-03-105-9/+8
| | | | | | | | | | | | | | Previously the |foo::Bar::Name_| field was "foo::Bar". With this change it becomes "foo.Bar". Using C++-style namespace in the name doesn't makes too much sense because the name should remain the same across different languages. BUG=None Review URL: https://codereview.chromium.org/1778793004 Cr-Commit-Position: refs/heads/master@{#380301}
* Fix failing tests with ChannelMojo enabled.sammc2016-03-101-2/+2
| | | | | | | | | | | | | | | | This ChannelMojo to: - take a ScopedMessagePipeHandle instead of a string token so an in-process renderer can be passed the message pipe directly; - send brokered attachments as mojo handles; and - offer messages to AttachmentBroker. This also fixes and re-enables ipc_channel_mojo_unittest.cc. BUG=579813 Review URL: https://codereview.chromium.org/1768903002 Cr-Commit-Position: refs/heads/master@{#380294}
* Morph CapabilityFilter into caps::Capabilities, which supports capability ↵ben2016-03-1024-156/+462
| | | | | | | | | | | classes (yet unimplemented). R=sky@chromium.org BUG= Review URL: https://codereview.chromium.org/1775113003 Cr-Commit-Position: refs/heads/master@{#380285}
* mojo_public_system_perftests: replace mojo::Thread with base::SimpleThread.yzshen2016-03-103-8/+10
| | | | | | | | | | This is a preparation of removing the mojo/public/cpp/utility folder. BUG=570102 Review URL: https://codereview.chromium.org/1779993002 Cr-Commit-Position: refs/heads/master@{#380273}
* Mojo C++ bindings: error notification behavior related to sync calls.yzshen2016-03-094-10/+152
| | | | | | | | | | | | | This CL changes the behavior to: - connection error handler doesn't reenter ongoing sync calls. - connection error handler is delayed until all queued asynchronous messages are processed. BUG=577699 Review URL: https://codereview.chromium.org/1781573004 Cr-Commit-Position: refs/heads/master@{#380259}
* Fix missing pointerTypes for touch.mustaq2016-03-091-0/+1
| | | | | | | | | | | This CL fixes uninitialized pointerTypes for WebTouchPoint. Also fixes a few missing pointerType=mouse. BUG=557817 Review URL: https://codereview.chromium.org/1760183002 Cr-Commit-Position: refs/heads/master@{#380238}
* Convert mus apptests to shelltestsrockot2016-03-094-20/+31
| | | | | | | | | | | This reworks some shelltest boilerplate to be more easily consumable and converts all mus apptests to shelltests. BUG=592313 Review URL: https://codereview.chromium.org/1771393002 Cr-Commit-Position: refs/heads/master@{#380148}
* Fix public_deps for shell runner hostrockot2016-03-091-4/+8
| | | | | | | | | | | | | | | | | | Build flake: https://build.chromium.org/p/chromium/builders/Linux/builds/72756/steps/compile/logs/stdio If targets depend on //foo and include //foo/foo.h, and //foo depends on //bar and //foo/foo.h includes //bar/bar.h, then //bar must be in //foo's public_deps. If bar.h is a generated header, getting this wrong = build flake when building //foo's dependent targets. TBR=ben@chromium.org BUG= Review URL: https://codereview.chromium.org/1777933002 Cr-Commit-Position: refs/heads/master@{#380146}
* Add catalog unittests.ben2016-03-0918-146/+375
| | | | | | | | | | | - Decompose the catalog into various files. TBR=sky@chromium.org BUG= Review URL: https://codereview.chromium.org/1779683002 Cr-Commit-Position: refs/heads/master@{#380093}
* [mojo-bindings] Use Watcher API for JS bindingsrockot2016-03-095-78/+87
| | | | | | | | BUG=592183 Review URL: https://codereview.chromium.org/1777673003 Cr-Commit-Position: refs/heads/master@{#380092}
* [mojo-edk] Keep old wire format and semantics on Android.amistry2016-03-092-18/+18
| | | | | | | | BUG=None Review URL: https://codereview.chromium.org/1775693002 Cr-Commit-Position: refs/heads/master@{#380091}
* Rename PackageManager->Catalog.ben2016-03-0929-254/+180
| | | | | | | | | | TBR=sky@chromium.org BUG= Review URL: https://codereview.chromium.org/1775243002 Cr-Commit-Position: refs/heads/master@{#380062}
* Allow client process information to be passed via Connector::Connect().ben2016-03-0915-185/+259
| | | | | | | | | | | | This allows applications to start processes themselves and have the shell use them instead of starting its own. Allows us to eliminate Shell::CreateInstance(). BUG= CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation Review URL: https://codereview.chromium.org/1776513003 Cr-Commit-Position: refs/heads/master@{#380030}
* Mojo C++ bindings: remove the concept of "GenericInterface".yzshen2016-03-0815-129/+135
| | | | | | | | | | | | | | | | Previously, if a variant Foo1 was generated for mojom interface Foo. Foo1::GenericInterface was defined as a typedef of the non-variant version Foo. This required the non-variant version to be generated and depended on by all variants. The purpose was to make different variants use the same [Associated]Interface{PtrInfo,Request} types. In fact, this is not very useful in real-world use cases. It should be very rare that users need to deal with multiple variants of the same mojom interface in a single same app. This change removes GenericInterface and makes [Associated]Interface{PtrInfo, Request} directly use Foo1 instead of Foo1::GenericInterface. BUG=590329 Review URL: https://codereview.chromium.org/1775613003 Cr-Commit-Position: refs/heads/master@{#379970}
* Eliminate CapabilityFilter parameter from CreateInstance, instead reading it ↵ben2016-03-087-29/+42
| | | | | | | | | | from the associated manifest. BUG= Review URL: https://codereview.chromium.org/1775813002 Cr-Commit-Position: refs/heads/master@{#379853}
* Use instance name to uniquify renderers.ben2016-03-081-0/+6
| | | | | | | | | | | We were uniquifying their URLs, but this breaks manifest loading. So use instance names instead. This will allow us to move the capability filter spec for the renderers into a manifest. BUG= Review URL: https://codereview.chromium.org/1778443002 Cr-Commit-Position: refs/heads/master@{#379850}
* Remove Mojo bindings environment.Yuzhu Shen2016-03-0872-2423/+17
| | | | | | | | | BUG=585942 R=ben@chromium.org Review URL: https://codereview.chromium.org/1765243002 . Cr-Commit-Position: refs/heads/master@{#379839}
* Fix chrome --mashben2016-03-085-25/+56
| | | | | | | | | | | Reduce the number of cases in which the resolved_qualifier is used. It should only be used in lieu of the one provided via params when it differs from the default qualifier for the resolved name. TBR=sky@chromium.org BUG= Review URL: https://codereview.chromium.org/1775793002 Cr-Commit-Position: refs/heads/master@{#379834}
* Mojo C++ bindings: add empty() for Array and Map.yzshen2016-03-084-1/+43
| | | | | | | | BUG=None Review URL: https://codereview.chromium.org/1776583002 Cr-Commit-Position: refs/heads/master@{#379804}
* [mojo-edk] Zero padding bytes in dispatcher headers.rockot2016-03-084-22/+65
| | | | | | | | | | | | | This change adds explicit padding to dispatcher header structs while enforcing that the structs remain 8-byte aligned. The padding is zeroed when writing headers into a buffer. BUG=585804 R=amistry@chromium.org Review URL: https://codereview.chromium.org/1771273002 Cr-Commit-Position: refs/heads/master@{#379790}
* Treat typemapped kinds as un-cloneabledarin2016-03-082-3/+6
| | | | | | | | BUG=592883 Review URL: https://codereview.chromium.org/1768373003 Cr-Commit-Position: refs/heads/master@{#379789}