| Index: ios/web/webui/resources/sync_message_channel.js
|
| diff --git a/ios/web/webui/resources/sync_message_channel.js b/ios/web/webui/resources/sync_message_channel.js
|
| deleted file mode 100644
|
| index f7542e7c444fab2cfcfdcfd1ef1d2cdbe3d26aa4..0000000000000000000000000000000000000000
|
| --- a/ios/web/webui/resources/sync_message_channel.js
|
| +++ /dev/null
|
| @@ -1,24 +0,0 @@
|
| -// 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 "ios/mojo/public/js/sync_message_channel"
|
| -//
|
| -// This module provides the synchronous communication channel between
|
| -// JavaScript and native code, which serves as mojo backend.
|
| -
|
| -define("ios/mojo/public/js/sync_message_channel", [], function() {
|
| - var exports = {};
|
| -
|
| - /**
|
| - * Synchronously sends a message to mojo backend.
|
| - * @param {!Object} message to send.
|
| - * @return {Object} Response from mojo backend.
|
| - */
|
| - exports.sendMessage = function(message) {
|
| - var response = window.prompt(__gCrWeb.common.JSONStringify(message));
|
| - return response ? JSON.parse(response) : undefined;
|
| - }
|
| -
|
| - return exports;
|
| -});
|
|
|