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

Issue 7792022: sync: abort active HTTP requests on shutdown. (Closed)

Created:
9 years, 3 months ago by tim (not reviewing)
Modified:
9 years, 3 months ago
CC:
chromium-reviews, ncarter (slow), idana, Raghu Simha, cbentzel+watch_chromium.org, darin-cc_chromium.org, tim (not reviewing)
Visibility:
Public.

Description

sync: abort active HTTP requests on shutdown. Renames ServerConnectionManager's 'Post' class to 'Connection'. BUG=93829, 19757 TEST=SyncAPIServerConnectionManagerTest Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=99157

Patch Set 1 : initial #

Total comments: 5

Patch Set 2 : review #

Total comments: 4

Patch Set 3 : review #

Patch Set 4 : rebase #

Patch Set 5 : remove include #

Patch Set 6 : compile #

Patch Set 7 : clang #

Patch Set 8 : fix #

Patch Set 9 : fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+358 lines, -64 lines) Patch
M chrome/browser/sync/engine/net/server_connection_manager.h View 1 2 3 4 5 6 7 8 10 chunks +64 lines, -14 lines 0 comments Download
M chrome/browser/sync/engine/net/server_connection_manager.cc View 1 2 3 4 5 6 7 18 chunks +97 lines, -25 lines 0 comments Download
M chrome/browser/sync/internal_api/sync_manager.cc View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/sync/internal_api/syncapi_server_connection_manager.h View 1 2 3 2 chunks +18 lines, -9 lines 0 comments Download
M chrome/browser/sync/internal_api/syncapi_server_connection_manager.cc View 1 2 3 4 chunks +24 lines, -16 lines 0 comments Download
A chrome/browser/sync/internal_api/syncapi_server_connection_manager_unittest.cc View 1 2 3 4 5 1 chunk +150 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
tim (not reviewing)
Still adding tests to the new SyncAPIServerConnectionManagerTest for CheckTime, and for additional race scenario, but ...
9 years, 3 months ago (2011-08-30 22:58:56 UTC) #1
akalin
http://codereview.chromium.org/7792022/diff/4002/chrome/browser/sync/engine/net/server_connection_manager.cc File chrome/browser/sync/engine/net/server_connection_manager.cc (right): http://codereview.chromium.org/7792022/diff/4002/chrome/browser/sync/engine/net/server_connection_manager.cc#newcode207 chrome/browser/sync/engine/net/server_connection_manager.cc:207: // to Abort and assignment of active_connection_. I don't ...
9 years, 3 months ago (2011-08-31 07:20:39 UTC) #2
tim (not reviewing)
http://codereview.chromium.org/7792022/diff/4002/chrome/browser/sync/engine/net/server_connection_manager.cc File chrome/browser/sync/engine/net/server_connection_manager.cc (right): http://codereview.chromium.org/7792022/diff/4002/chrome/browser/sync/engine/net/server_connection_manager.cc#newcode207 chrome/browser/sync/engine/net/server_connection_manager.cc:207: // to Abort and assignment of active_connection_. On 2011/08/31 ...
9 years, 3 months ago (2011-08-31 14:46:17 UTC) #3
tim (not reviewing)
Addressed comments and added test. I took your idea of MakeActiveConnection, and then added an ...
9 years, 3 months ago (2011-08-31 16:58:54 UTC) #4
akalin
LGTM after comments below http://codereview.chromium.org/7792022/diff/9001/chrome/browser/sync/engine/net/server_connection_manager.cc File chrome/browser/sync/engine/net/server_connection_manager.cc (right): http://codereview.chromium.org/7792022/diff/9001/chrome/browser/sync/engine/net/server_connection_manager.cc#newcode194 chrome/browser/sync/engine/net/server_connection_manager.cc:194: if (active_connection_ != connection) can't ...
9 years, 3 months ago (2011-08-31 21:10:03 UTC) #5
tim (not reviewing)
Made changes, planning on committing this. http://codereview.chromium.org/7792022/diff/9001/chrome/browser/sync/engine/net/server_connection_manager.cc File chrome/browser/sync/engine/net/server_connection_manager.cc (right): http://codereview.chromium.org/7792022/diff/9001/chrome/browser/sync/engine/net/server_connection_manager.cc#newcode194 chrome/browser/sync/engine/net/server_connection_manager.cc:194: if (active_connection_ != ...
9 years, 3 months ago (2011-08-31 21:32:09 UTC) #6
akalin
On 2011/08/31 21:32:09, timsteele wrote: > Made changes, planning on committing this. Can you upload ...
9 years, 3 months ago (2011-08-31 21:36:48 UTC) #7
commit-bot: I haz the power
Can't apply patch for file chrome/browser/sync/engine/net/syncapi_server_connection_manager.cc. While running patch -p1 --forward --force; patching file chrome/browser/sync/engine/net/syncapi_server_connection_manager.cc ...
9 years, 3 months ago (2011-08-31 21:38:27 UTC) #8
commit-bot: I haz the power
Try job failure for 7792022-17008 (retry) (retry) (retry) on linux for step "compile" (clobber build). ...
9 years, 3 months ago (2011-09-01 02:28:17 UTC) #9
commit-bot: I haz the power
The commit queue went berserk retrying too often for a seemingly flaky test. Builder is ...
9 years, 3 months ago (2011-09-01 06:22:32 UTC) #10
commit-bot: I haz the power
9 years, 3 months ago (2011-09-01 08:04:50 UTC) #11
Change committed as 99157

Powered by Google App Engine
This is Rietveld 408576698