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

Issue 8565035: sync: don't notify from ~BaseTransaction if the writer is INVALID. (Closed)

Created:
9 years, 1 month ago by tim (not reviewing)
Modified:
9 years, 1 month ago
Reviewers:
rlarocque
CC:
chromium-reviews, Raghu Simha, ncarter (slow), akalin, tim (not reviewing)
Visibility:
Public.

Description

sync: don't notify from ~BaseTransaction if the writer is INVALID. Also get rid of flushed_metahandles since it serves exactly zero purpose :) BUG=87122 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=110208

Patch Set 1 #

Total comments: 3

Patch Set 2 : remove DebugQueue #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -39 lines) Patch
M chrome/browser/sync/syncable/syncable.h View 1 2 chunks +0 lines, -5 lines 0 comments Download
M chrome/browser/sync/syncable/syncable.cc View 3 chunks +7 lines, -5 lines 0 comments Download
D chrome/browser/sync/util/dbgq.h View 1 1 chunk +0 lines, -28 lines 0 comments Download
M chrome/chrome.gyp View 1 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
tim (not reviewing)
9 years, 1 month ago (2011-11-15 00:46:08 UTC) #1
rlarocque
http://codereview.chromium.org/8565035/diff/1/chrome/browser/sync/syncable/syncable.cc File chrome/browser/sync/syncable/syncable.cc (right): http://codereview.chromium.org/8565035/diff/1/chrome/browser/sync/syncable/syncable.cc#newcode1161 chrome/browser/sync/syncable/syncable.cc:1161: if (writer_ != INVALID) { What would happen if ...
9 years, 1 month ago (2011-11-15 01:08:56 UTC) #2
rlarocque
LGTM with comment. http://codereview.chromium.org/8565035/diff/1/chrome/browser/sync/syncable/syncable.cc File chrome/browser/sync/syncable/syncable.cc (right): http://codereview.chromium.org/8565035/diff/1/chrome/browser/sync/syncable/syncable.cc#newcode1161 chrome/browser/sync/syncable/syncable.cc:1161: if (writer_ != INVALID) { On ...
9 years, 1 month ago (2011-11-15 01:23:06 UTC) #3
tim (not reviewing)
Removed DebugQueue. Will check the CQ box!
9 years, 1 month ago (2011-11-15 02:11:10 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tim@chromium.org/8565035/5001
9 years, 1 month ago (2011-11-15 02:11:35 UTC) #5
commit-bot: I haz the power
9 years, 1 month ago (2011-11-15 02:11:42 UTC) #6
Presubmit check for 8565035-5001 failed and returned exit status 1.

Running presubmit commit checks ...

** Presubmit Warnings **
You might be calling functions intended only for testing from
production code. Please verify that the following usages are OK,
and email joi@chromium.org if you are seeing false positives:
  chrome/browser/sync/syncable/syncable.cc:1803
    EntryKernel* entry = GetPossibleLastChildForTest(lock, parent_id);

Presubmit checks took 2.9s to calculate.

Powered by Google App Engine
This is Rietveld 408576698