Side by Side Diff
Use n/p to move between diff chunks; N/P to move between comments.
Draft comments are only viewable by you.
Keyboard Shortcuts
File
u
:
up to issue
j
/
k
:
jump to file after / before current file
J
/
K
:
jump to next file with a comment after / before current file
Side-by-side diff
i
:
toggle intra-line diffs
e
:
expand all comments
c
:
collapse all comments
s
:
toggle showing all comments
n
/
p
:
next / previous diff chunk or comment
N
/
P
:
next / previous comment
<Up>
/
<Down>
:
next / previous line
Issue
u
:
up to list of issues
j
/
k
:
jump to patch after / before current patch
o
/
<Enter>
:
open current patch in side-by-side view
i
:
open current patch in unified diff view
Issue List
j
/
k
:
jump to issue after / before current issue
o
/
<Enter>
:
open current issue
Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr)
|
Please choose your nickname with
Settings
|
Help
|
Chromium Project
|
Gerrit Changes
|
Sign out
(160)
Issues
Search
My Issues
|
Starred
Open
|
Closed
|
All
Side by Side Diff: runtime/observatory/lib/src/mocks/repositories/flag.dart
Issue
2213613002
:
Converted observatory flag-list element (Closed)
Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Added tests
Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Draft comments are only viewable by you.
Context:
3 lines
10 lines
25 lines
50 lines
75 lines
100 lines
Whole file
Column Width:
Tab Spaces:
Jump to:
runtime/observatory/lib/elements.dart
runtime/observatory/lib/elements.html
runtime/observatory/lib/mocks.dart
runtime/observatory/lib/models.dart
runtime/observatory/lib/repositories.dart
runtime/observatory/lib/src/app/page.dart
runtime/observatory/lib/src/elements/css/shared.css
runtime/observatory/lib/src/elements/flag_list.dart
runtime/observatory/lib/src/elements/flag_list.html
runtime/observatory/lib/src/elements/helpers/uris.dart
runtime/observatory/lib/src/elements/service_view.dart
runtime/observatory/lib/src/mocks/objects/flag.dart
runtime/observatory/lib/src/mocks/repositories/flag.dart
runtime/observatory/lib/src/models/objects/flag.dart
runtime/observatory/lib/src/models/repositories/flag.dart
runtime/observatory/lib/src/repositories/flag.dart
runtime/observatory/observatory_sources.gypi
runtime/observatory/tests/observatory_ui/flag-list/element_test.dart
runtime/observatory/tests/observatory_ui/flag-list/element_test.html
View unified diff
|
Download patch
« no previous file with comments
|
« runtime/observatory/lib/src/mocks/objects/flag.dart
('k') |
runtime/observatory/lib/src/models/objects/flag.dart »
('j') |
no next file with comments »
Toggle Intra-line Diffs
('i') |
Expand Comments
('e') |
Collapse Comments
('c') |
Show Comments
Hide Comments
('s')
OLD
NEW
(Empty)
1
// Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
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
4
5
part of mocks;
6
7
typedef Future<Iterable<M.Flag>> FlagsRepositoryMockCallback(M.VMRef vm);
8
9
class FlagsRepositoryMock implements M.FlagsRepository {
10
final FlagsRepositoryMockCallback _list;
11
12
Future<Iterable<M.Flag>> list(M.VMRef vm) {
13
if (_list != null) {
14
return _list(vm);
15
}
16
return new Future.value(const []);
17
}
18
19
FlagsRepositoryMock({FlagsRepositoryMockCallback list})
20
: _list = list;
21
}
OLD
NEW
« no previous file with comments
|
« runtime/observatory/lib/src/mocks/objects/flag.dart
('k') |
runtime/observatory/lib/src/models/objects/flag.dart »
('j') |
no next file with comments »
Issue 2213613002: Converted observatory flag-list element (Closed)
Created 4 years, 4 months ago by cbernaschina
Modified 4 years, 4 months ago
Reviewers: turnidge, rmacnak, Cutch
Base URL: git@github.com:dart-lang/sdk.git@master
Comments: 0
This is Rietveld
408576698