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

Unified Diff: runtime/observatory/tests/observatory_ui/mocks/repositories/class.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 side-by-side diff with in-line comments
Download patch
Index: runtime/observatory/tests/observatory_ui/mocks/repositories/class.dart
diff --git a/runtime/observatory/tests/observatory_ui/mocks/repositories/class.dart b/runtime/observatory/tests/observatory_ui/mocks/repositories/class.dart
index debb14c229a4818363eaff55e814ae9c7544994f..b798fca31d104a5dcf1cc8f16efd70dbb50b8b40 100644
--- a/runtime/observatory/tests/observatory_ui/mocks/repositories/class.dart
+++ b/runtime/observatory/tests/observatory_ui/mocks/repositories/class.dart
@@ -5,26 +5,27 @@
part of mocks;
typedef Future<M.Class> ClassRepositoryMockObjectCallback(M.Isolate isolate);
-typedef Future<M.Class>
- ClassRepositoryMockGetterCallback(M.Isolate isolate, String id);
+typedef Future<M.Class> ClassRepositoryMockGetterCallback(
+ M.Isolate isolate, String id);
class ClassRepositoryMock implements M.ClassRepository {
final ClassRepositoryMockObjectCallback _object;
final ClassRepositoryMockGetterCallback _get;
- ClassRepositoryMock({ClassRepositoryMockObjectCallback object,
- ClassRepositoryMockGetterCallback getter})
- : _object = object,
- _get = getter;
+ ClassRepositoryMock(
+ {ClassRepositoryMockObjectCallback object,
+ ClassRepositoryMockGetterCallback getter})
+ : _object = object,
+ _get = getter;
- Future<M.Class> getObject(M.IsolateRef i){
+ Future<M.Class> getObject(M.IsolateRef i) {
if (_object != null) {
return _object(i);
}
return new Future.value(null);
}
- Future<M.Class> get(M.IsolateRef i, String id){
+ Future<M.Class> get(M.IsolateRef i, String id) {
if (_get != null) {
return _get(i, id);
}

Powered by Google App Engine
This is Rietveld 408576698