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

Side by Side Diff: runtime/bin/filter_patch.dart

Issue 2751423005: Run dartfmt on all files under runtime. (Closed)
Patch Set: Run dartfmt on all files under runtime. 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5
6 class _FilterImpl extends NativeFieldWrapperClass1 implements _Filter { 5 class _FilterImpl extends NativeFieldWrapperClass1 implements _Filter {
7 void process(List<int> data, int start, int end) native "Filter_Process"; 6 void process(List<int> data, int start, int end) native "Filter_Process";
8 7
9 List<int> processed({bool flush: true, bool end: false}) 8 List<int> processed({bool flush: true, bool end: false})
10 native "Filter_Processed"; 9 native "Filter_Processed";
11 } 10 }
12 11
13 class _ZLibInflateFilter extends _FilterImpl { 12 class _ZLibInflateFilter extends _FilterImpl {
14 _ZLibInflateFilter(int windowBits, List<int> dictionary, bool raw) { 13 _ZLibInflateFilter(int windowBits, List<int> dictionary, bool raw) {
15 _init(windowBits, dictionary, raw); 14 _init(windowBits, dictionary, raw);
16 } 15 }
17 void _init(int windowBits, List<int> dictionary, bool raw) 16 void _init(int windowBits, List<int> dictionary, bool raw)
18 native "Filter_CreateZLibInflate"; 17 native "Filter_CreateZLibInflate";
19 } 18 }
20 19
21 class _ZLibDeflateFilter extends _FilterImpl { 20 class _ZLibDeflateFilter extends _FilterImpl {
22 _ZLibDeflateFilter(bool gzip, int level, int windowBits, int memLevel, 21 _ZLibDeflateFilter(bool gzip, int level, int windowBits, int memLevel,
23 int strategy, List<int> dictionary, bool raw) { 22 int strategy, List<int> dictionary, bool raw) {
24 _init(gzip, level, windowBits, memLevel, strategy, dictionary, raw); 23 _init(gzip, level, windowBits, memLevel, strategy, dictionary, raw);
25 } 24 }
26 void _init(bool gzip, int level, int windowBits, int memLevel, 25 void _init(bool gzip, int level, int windowBits, int memLevel, int strategy,
27 int strategy, List<int> dictionary, bool raw) 26 List<int> dictionary, bool raw) native "Filter_CreateZLibDeflate";
28 native "Filter_CreateZLibDeflate";
29 } 27 }
30 28
31 @patch class _Filter { 29 @patch
32 @patch static _Filter _newZLibDeflateFilter(bool gzip, int level, 30 class _Filter {
33 int windowBits, int memLevel , 31 @patch
34 int strategy, 32 static _Filter _newZLibDeflateFilter(bool gzip, int level, int windowBits,
35 List<int> dictionary, 33 int memLevel, int strategy, List<int> dictionary, bool raw) =>
36 bool raw) => 34 new _ZLibDeflateFilter(
37 new _ZLibDeflateFilter(gzip, level, windowBits, memLevel, strategy, 35 gzip, level, windowBits, memLevel, strategy, dictionary, raw);
38 dictionary, raw); 36 @patch
39 @patch static _Filter _newZLibInflateFilter(int windowBits, 37 static _Filter _newZLibInflateFilter(
40 List<int> dictionary, 38 int windowBits, List<int> dictionary, bool raw) =>
41 bool raw) =>
42 new _ZLibInflateFilter(windowBits, dictionary, raw); 39 new _ZLibInflateFilter(windowBits, dictionary, raw);
43 } 40 }
OLDNEW
« 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