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

Unified Diff: go/src/infra/libs/clock/timer.go

Issue 1223213002: Remove libs/clock in favor of luci-go/common/clock. (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@abstract
Patch Set: rebase Created 5 years, 5 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: go/src/infra/libs/clock/timer.go
diff --git a/go/src/infra/libs/clock/timer.go b/go/src/infra/libs/clock/timer.go
deleted file mode 100644
index f9885c34743165b8c6ae5f88d5ff24462bc5b931..0000000000000000000000000000000000000000
--- a/go/src/infra/libs/clock/timer.go
+++ /dev/null
@@ -1,16 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-package clock
-
-import (
- "time"
-)
-
-// Timer is a wrapper around the time.Timer structure.
-type Timer interface {
- GetC() <-chan time.Time // Returns the underlying timer's channel, or nil if not configured.
- Reset(d time.Duration) bool // See time.Timer.
- Stop() bool // See time.Timer.
-}
« no previous file with comments | « go/src/infra/libs/clock/testclock/testtimer_test.go ('k') | go/src/infra/monitoring/dispatcher/dispatcher.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698