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
(599)
Issues
Search
My Issues
|
Starred
Open
|
Closed
|
All
Side by Side Diff: go/src/infra/libs/clock/timer.go
Issue
1154213012
:
Add context-aware "time" library wrapper. (Closed)
Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Refactored test timer to trigger off of underlying clock.
Created 5 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.
Context:
3 lines
10 lines
25 lines
50 lines
75 lines
100 lines
Whole file
Column Width:
Tab Spaces:
Jump to:
go/src/infra/libs/clock/clock.go
go/src/infra/libs/clock/clockflag/duration.go
go/src/infra/libs/clock/clockflag/duration_test.go
go/src/infra/libs/clock/clockflag/time.go
go/src/infra/libs/clock/clockflag/time_test.go
go/src/infra/libs/clock/context.go
go/src/infra/libs/clock/systemclock.go
go/src/infra/libs/clock/systemtimer.go
go/src/infra/libs/clock/systemtimer_test.go
go/src/infra/libs/clock/testclock/testclock.go
go/src/infra/libs/clock/testclock/testclock_test.go
go/src/infra/libs/clock/testclock/testtimer.go
go/src/infra/libs/clock/testclock/testtimer_test.go
go/src/infra/libs/clock/timer.go
View unified diff
|
Download patch
« go/src/infra/libs/clock/testclock/testtimer.go
('K') |
« go/src/infra/libs/clock/testclock/testtimer_test.go
('k') |
no next file »
|
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 2015 The Chromium Authors. All rights reserved.
2
// Use of this source code is governed by a BSD-style license that can be
3
// found in the LICENSE file.
4
5
package clock
6
7
import (
8
"time"
9
)
10
11
// Timer is a wrapper around the time.Timer structure.
12
type Timer interface {
13
GetC() <-chan time.Time // Returns the underlying timer's channel, o r nil if not configured.
14
Reset(d time.Duration) bool // See time.Timer.
15
Stop() bool // See time.Timer.
16
}
OLD
NEW
« go/src/infra/libs/clock/testclock/testtimer.go
('K') |
« go/src/infra/libs/clock/testclock/testtimer_test.go
('k') |
no next file »
|
no next file with comments »
Issue 1154213012: Add context-aware "time" library wrapper. (Closed)
Created 5 years, 6 months ago by dnj
Modified 5 years, 6 months ago
Reviewers: iannucci
Base URL: https://chromium.googlesource.com/infra/infra.git@master
Comments: 52
This is Rietveld
408576698