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

Issue 14634002: drive: Rename JobScheduler::QueueEntry to JobEntry (Closed)

Created:
7 years, 7 months ago by hashimoto
Modified:
7 years, 7 months ago
Reviewers:
hidehiko
CC:
chromium-reviews, tfarina, oshima+watch_chromium.org, stevenjb+watch_chromium.org, nkostylev+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

drive: Rename JobScheduler::QueueEntry to JobEntry Stop passing scoped_ptr<QueueEntry> around. JobEntry lives in job_map_, while queue_ holds job IDs. JobInfo is stored in JobEntry. BUG=230308 TEST=unit_tests Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=199335

Patch Set 1 : #

Total comments: 7

Patch Set 2 : review fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+195 lines, -173 lines) Patch
M chrome/browser/chromeos/drive/job_scheduler.h View 1 4 chunks +34 lines, -26 lines 0 comments Download
M chrome/browser/chromeos/drive/job_scheduler.cc View 1 49 chunks +161 lines, -147 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
hashimoto
7 years, 7 months ago (2013-05-09 08:14:21 UTC) #1
hidehiko
https://codereview.chromium.org/14634002/diff/7001/chrome/browser/chromeos/drive/job_scheduler.cc File chrome/browser/chromeos/drive/job_scheduler.cc (right): https://codereview.chromium.org/14634002/diff/7001/chrome/browser/chromeos/drive/job_scheduler.cc#newcode46 chrome/browser/chromeos/drive/job_scheduler.cc:46: bool JobScheduler::JobEntry::Compare(const JobEntry& left, Less may be more descriptive? ...
7 years, 7 months ago (2013-05-09 08:25:23 UTC) #2
hashimoto
https://codereview.chromium.org/14634002/diff/7001/chrome/browser/chromeos/drive/job_scheduler.cc File chrome/browser/chromeos/drive/job_scheduler.cc (right): https://codereview.chromium.org/14634002/diff/7001/chrome/browser/chromeos/drive/job_scheduler.cc#newcode46 chrome/browser/chromeos/drive/job_scheduler.cc:46: bool JobScheduler::JobEntry::Compare(const JobEntry& left, On 2013/05/09 08:25:23, hidehiko wrote: ...
7 years, 7 months ago (2013-05-09 08:53:18 UTC) #3
hidehiko
lgtm https://codereview.chromium.org/14634002/diff/7001/chrome/browser/chromeos/drive/job_scheduler.cc File chrome/browser/chromeos/drive/job_scheduler.cc (right): https://codereview.chromium.org/14634002/diff/7001/chrome/browser/chromeos/drive/job_scheduler.cc#newcode429 chrome/browser/chromeos/drive/job_scheduler.cc:429: if (JobEntry::Compare(*job_entry, *job_entry2)) On 2013/05/09 08:53:18, hashimoto wrote: ...
7 years, 7 months ago (2013-05-09 08:56:36 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hashimoto@chromium.org/14634002/12001
7 years, 7 months ago (2013-05-09 11:46:16 UTC) #5
commit-bot: I haz the power
Retried try job too often on ios_dbg_simulator for step(s) googleurl_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=ios_dbg_simulator&number=50946
7 years, 7 months ago (2013-05-09 12:02:32 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hashimoto@chromium.org/14634002/12001
7 years, 7 months ago (2013-05-09 14:52:52 UTC) #7
commit-bot: I haz the power
Retried try job too often on ios_dbg_simulator for step(s) googleurl_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=ios_dbg_simulator&number=50986
7 years, 7 months ago (2013-05-09 14:59:53 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hashimoto@chromium.org/14634002/12001
7 years, 7 months ago (2013-05-10 02:26:07 UTC) #9
commit-bot: I haz the power
7 years, 7 months ago (2013-05-10 02:31:44 UTC) #10
Message was sent while issue was closed.
Change committed as 199335

Powered by Google App Engine
This is Rietveld 408576698