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

Unified Diff: runtime/lib/vmservice_patch.dart

Issue 2946773002: Remove vmservice_patch.dart. (Closed)
Patch Set: Created 3 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | runtime/lib/vmservice_sources.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/vmservice_patch.dart
diff --git a/runtime/lib/vmservice_patch.dart b/runtime/lib/vmservice_patch.dart
deleted file mode 100644
index 2618e1b6a321d35c7b41ddc7e27cd4ad1470e14c..0000000000000000000000000000000000000000
--- a/runtime/lib/vmservice_patch.dart
+++ /dev/null
@@ -1,48 +0,0 @@
-// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-@patch
-class Asset {
- /// Call to request assets from the embedder.
- @patch
- static HashMap<String, Asset> request() {
- Uint8List tarBytes = _requestAssets();
- if (tarBytes == null) {
- return null;
- }
- List assetList = _decodeAssets(tarBytes);
- HashMap<String, Asset> assets = new HashMap<String, Asset>();
- for (int i = 0; i < assetList.length; i += 2) {
- var a = new Asset(assetList[i], assetList[i + 1]);
- assets[a.name] = a;
- }
- return assets;
- }
-}
-
-List _decodeAssets(Uint8List data) native "VMService_DecodeAssets";
-
-@patch
-bool sendIsolateServiceMessage(SendPort sp, List m)
- native "VMService_SendIsolateServiceMessage";
-@patch
-void sendRootServiceMessage(List m) native "VMService_SendRootServiceMessage";
-@patch
-void sendObjectRootServiceMessage(List m)
- native "VMService_SendObjectRootServiceMessage";
-@patch
-void _onStart() native "VMService_OnStart";
-@patch
-void _onExit() native "VMService_OnExit";
-@patch
-void onServerAddressChange(String address)
- native "VMService_OnServerAddressChange";
-@patch
-bool _vmListenStream(String streamId) native "VMService_ListenStream";
-@patch
-void _vmCancelStream(String streamId) native "VMService_CancelStream";
-@patch
-Uint8List _requestAssets() native "VMService_RequestAssets";
-@patch
-void _spawnUriNotify(obj, String token) native "VMService_spawnUriNotify";
« no previous file with comments | « no previous file | runtime/lib/vmservice_sources.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698