Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(66)

Side by Side Diff: extensions/renderer/dispatcher.cc

Issue 2744963002: Introduce InterfaceEndpointClient(IEC), InterfaceEndpointHandle and (Closed)
Patch Set: Throw the error with the string being the stack trace needed to debug layouts which don't output an… Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « extensions/renderer/api_test_base.cc ('k') | ios/web/ios_web_resources.grd » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "extensions/renderer/dispatcher.h" 5 #include "extensions/renderer/dispatcher.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <memory> 9 #include <memory>
10 #include <utility> 10 #include <utility>
(...skipping 718 matching lines...) Expand 10 before | Expand all | Expand 10 after
729 729
730 {mojo::kBindingsModuleName, IDR_MOJO_BINDINGS_JS}, 730 {mojo::kBindingsModuleName, IDR_MOJO_BINDINGS_JS},
731 {mojo::kBufferModuleName, IDR_MOJO_BUFFER_JS}, 731 {mojo::kBufferModuleName, IDR_MOJO_BUFFER_JS},
732 {mojo::kCodecModuleName, IDR_MOJO_CODEC_JS}, 732 {mojo::kCodecModuleName, IDR_MOJO_CODEC_JS},
733 {mojo::kConnectorModuleName, IDR_MOJO_CONNECTOR_JS}, 733 {mojo::kConnectorModuleName, IDR_MOJO_CONNECTOR_JS},
734 {mojo::kControlMessageHandlerModuleName, 734 {mojo::kControlMessageHandlerModuleName,
735 IDR_MOJO_CONTROL_MESSAGE_HANDLER_JS}, 735 IDR_MOJO_CONTROL_MESSAGE_HANDLER_JS},
736 {mojo::kControlMessageProxyModuleName, IDR_MOJO_CONTROL_MESSAGE_PROXY_JS}, 736 {mojo::kControlMessageProxyModuleName, IDR_MOJO_CONTROL_MESSAGE_PROXY_JS},
737 {mojo::kInterfaceControlMessagesMojom, 737 {mojo::kInterfaceControlMessagesMojom,
738 IDR_MOJO_INTERFACE_CONTROL_MESSAGES_MOJOM_JS}, 738 IDR_MOJO_INTERFACE_CONTROL_MESSAGES_MOJOM_JS},
739 {mojo::kInterfaceEndpointClientModuleName,
740 IDR_MOJO_INTERFACE_ENDPOINT_CLIENT_JS},
741 {mojo::kInterfaceEndpointHandleModuleName,
742 IDR_MOJO_INTERFACE_ENDPOINT_HANDLE_JS},
739 {mojo::kInterfaceTypesModuleName, IDR_MOJO_INTERFACE_TYPES_JS}, 743 {mojo::kInterfaceTypesModuleName, IDR_MOJO_INTERFACE_TYPES_JS},
744 {mojo::kPipeControlMessageHandlerModuleName,
745 IDR_MOJO_PIPE_CONTROL_MESSAGE_HANDLER_JS},
746 {mojo::kPipeControlMessageProxyModuleName,
747 IDR_MOJO_PIPE_CONTROL_MESSAGE_PROXY_JS},
748 {mojo::kPipeControlMessagesMojom, IDR_MOJO_PIPE_CONTROL_MESSAGES_MOJOM_JS},
740 {mojo::kRouterModuleName, IDR_MOJO_ROUTER_JS}, 749 {mojo::kRouterModuleName, IDR_MOJO_ROUTER_JS},
741 {mojo::kUnicodeModuleName, IDR_MOJO_UNICODE_JS}, 750 {mojo::kUnicodeModuleName, IDR_MOJO_UNICODE_JS},
742 {mojo::kValidatorModuleName, IDR_MOJO_VALIDATOR_JS}, 751 {mojo::kValidatorModuleName, IDR_MOJO_VALIDATOR_JS},
743 {"async_waiter", IDR_ASYNC_WAITER_JS}, 752 {"async_waiter", IDR_ASYNC_WAITER_JS},
744 {"keep_alive", IDR_KEEP_ALIVE_JS}, 753 {"keep_alive", IDR_KEEP_ALIVE_JS},
745 {"extensions/common/mojo/keep_alive.mojom", IDR_KEEP_ALIVE_MOJOM_JS}, 754 {"extensions/common/mojo/keep_alive.mojom", IDR_KEEP_ALIVE_MOJOM_JS},
746 755
747 // Custom bindings. 756 // Custom bindings.
748 {"app.runtime", IDR_APP_RUNTIME_CUSTOM_BINDINGS_JS}, 757 {"app.runtime", IDR_APP_RUNTIME_CUSTOM_BINDINGS_JS},
749 {"app.window", IDR_APP_WINDOW_CUSTOM_BINDINGS_JS}, 758 {"app.window", IDR_APP_WINDOW_CUSTOM_BINDINGS_JS},
(...skipping 691 matching lines...) Expand 10 before | Expand all | Expand 10 after
1441 // The "guestViewDeny" module must always be loaded last. It registers 1450 // The "guestViewDeny" module must always be loaded last. It registers
1442 // error-providing custom elements for the GuestView types that are not 1451 // error-providing custom elements for the GuestView types that are not
1443 // available, and thus all of those types must have been checked and loaded 1452 // available, and thus all of those types must have been checked and loaded
1444 // (or not loaded) beforehand. 1453 // (or not loaded) beforehand.
1445 if (context_type == Feature::BLESSED_EXTENSION_CONTEXT) { 1454 if (context_type == Feature::BLESSED_EXTENSION_CONTEXT) {
1446 module_system->Require("guestViewDeny"); 1455 module_system->Require("guestViewDeny");
1447 } 1456 }
1448 } 1457 }
1449 1458
1450 } // namespace extensions 1459 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/renderer/api_test_base.cc ('k') | ios/web/ios_web_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698