forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert NaCl renderer-loader messages to mojo.
BUG=577685 Review-Url: https://codereview.chromium.org/2525483002 Cr-Commit-Position: refs/heads/master@{#439770}
- Loading branch information
Showing
21 changed files
with
157 additions
and
181 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
include_rules = [ | ||
"+content/public/common", | ||
"+ipc", | ||
"+mojo/public", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,6 @@ | ||
per-file *_messages*.h=set noparent | ||
per-file *_messages*.h=file://ipc/SECURITY_OWNERS | ||
per-file *.mojom=set noparent | ||
per-file *.mojom=file://ipc/SECURITY_OWNERS | ||
per-file *_param_traits*.*=set noparent | ||
per-file *_param_traits*.*=file://ipc/SECURITY_OWNERS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
// Copyright 2016 The Chromium Authors. All rights reserved. | ||
// Use of this source code is governed by a BSD-style license that can be | ||
// found in the LICENSE file. | ||
|
||
module nacl.mojom; | ||
|
||
[Native] | ||
enum NaClErrorCode; | ||
|
||
interface NaClRendererHost { | ||
// This message must be synchronous to ensure that the exit status is sent | ||
// from NaCl to the renderer before the NaCl process exits very soon after. | ||
[Sync] | ||
ReportExitStatus(int32 exit_status) => (); | ||
|
||
// This message must be synchronous to ensure that the load status is sent | ||
// from NaCl to the renderer before the NaCl process exits very soon after. | ||
[Sync] | ||
ReportLoadStatus(NaClErrorCode load_status) => (); | ||
|
||
ProvideExitControl(NaClExitControl exit_control); | ||
}; | ||
|
||
// When this interface is closed, it indicates that the NaCl loader process | ||
// should exit. | ||
interface NaClExitControl {}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Copyright 2016 The Chromium Authors. All rights reserved. | ||
# Use of this source code is governed by a BSD-style license that can be | ||
# found in the LICENSE file. | ||
|
||
mojom = "//components/nacl/common/nacl.mojom" | ||
public_headers = | ||
[ "//native_client/src/trusted/service_runtime/nacl_error_code.h" ] | ||
traits_headers = [ "//components/nacl/common/nacl_types_param_traits.h" ] | ||
deps = [ | ||
"//components/nacl/common:minimal", | ||
"//components/nacl/common:nacl_error_code", | ||
"//ipc", | ||
] | ||
|
||
type_mappings = [ "nacl.mojom.NaClErrorCode=::NaClErrorCode" ] |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.