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

Unified Diff: runtime/bin/filter_patch.dart

Issue 2767533002: Revert "Fix observatory tests broken by running dartfmt." (Closed)
Patch Set: Created 3 years, 9 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 | « runtime/bin/file_system_entity_patch.dart ('k') | runtime/bin/io_service_patch.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/filter_patch.dart
diff --git a/runtime/bin/filter_patch.dart b/runtime/bin/filter_patch.dart
index 67a2dcdadda2debb2ca95a3a43aa54127056d90b..db086f9a6b9141733078f00c277ec6e56ea07cb4 100644
--- a/runtime/bin/filter_patch.dart
+++ b/runtime/bin/filter_patch.dart
@@ -2,6 +2,7 @@
// 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.
+
class _FilterImpl extends NativeFieldWrapperClass1 implements _Filter {
void process(List<int> data, int start, int end) native "Filter_Process";
@@ -19,22 +20,24 @@ class _ZLibInflateFilter extends _FilterImpl {
class _ZLibDeflateFilter extends _FilterImpl {
_ZLibDeflateFilter(bool gzip, int level, int windowBits, int memLevel,
- int strategy, List<int> dictionary, bool raw) {
+ int strategy, List<int> dictionary, bool raw) {
_init(gzip, level, windowBits, memLevel, strategy, dictionary, raw);
}
- void _init(bool gzip, int level, int windowBits, int memLevel, int strategy,
- List<int> dictionary, bool raw) native "Filter_CreateZLibDeflate";
+ void _init(bool gzip, int level, int windowBits, int memLevel,
+ int strategy, List<int> dictionary, bool raw)
+ native "Filter_CreateZLibDeflate";
}
-@patch
-class _Filter {
- @patch
- static _Filter _newZLibDeflateFilter(bool gzip, int level, int windowBits,
- int memLevel, int strategy, List<int> dictionary, bool raw) =>
- new _ZLibDeflateFilter(
- gzip, level, windowBits, memLevel, strategy, dictionary, raw);
- @patch
- static _Filter _newZLibInflateFilter(
- int windowBits, List<int> dictionary, bool raw) =>
+@patch class _Filter {
+ @patch static _Filter _newZLibDeflateFilter(bool gzip, int level,
+ int windowBits, int memLevel,
+ int strategy,
+ List<int> dictionary,
+ bool raw) =>
+ new _ZLibDeflateFilter(gzip, level, windowBits, memLevel, strategy,
+ dictionary, raw);
+ @patch static _Filter _newZLibInflateFilter(int windowBits,
+ List<int> dictionary,
+ bool raw) =>
new _ZLibInflateFilter(windowBits, dictionary, raw);
}
« no previous file with comments | « runtime/bin/file_system_entity_patch.dart ('k') | runtime/bin/io_service_patch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698