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

Side by Side Diff: task_scheduler/go/db/comments.go

Issue 2296763008: [task scheduler] Move files from build_scheduler/ to task_scheduler/ (Closed) Base URL: https://skia.googlesource.com/buildbot@master
Patch Set: Created 4 years, 3 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 | « task_scheduler/go/db/cache_test.go ('k') | task_scheduler/go/db/comments_test.go » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 package db 1 package db
2 2
3 import ( 3 import (
4 "bytes" 4 "bytes"
5 "encoding/gob" 5 "encoding/gob"
6 "fmt" 6 "fmt"
7 "sync" 7 "sync"
8 "time" 8 "time"
9 9
10 "github.com/skia-dev/glog" 10 "github.com/skia-dev/glog"
(...skipping 480 matching lines...) Expand 10 before | Expand all | Expand 10 after
491 if err := b.write(); err != nil { 491 if err := b.write(); err != nil {
492 // If write returns an error, we must revert to previous . 492 // If write returns an error, we must revert to previous .
493 if putErr := b.putCommitComment(existing); putErr != nil { 493 if putErr := b.putCommitComment(existing); putErr != nil {
494 glog.Warning("Unexpected error: %s", putErr) 494 glog.Warning("Unexpected error: %s", putErr)
495 } 495 }
496 return err 496 return err
497 } 497 }
498 } 498 }
499 return nil 499 return nil
500 } 500 }
OLDNEW
« no previous file with comments | « task_scheduler/go/db/cache_test.go ('k') | task_scheduler/go/db/comments_test.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698