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

Issue 87463002: Only re-enable remote service if the task used the network. (Closed)

Created:
7 years ago by keishi
Modified:
7 years ago
Reviewers:
tzik
CC:
chromium-reviews, kinuko+watch, yoshiki+watch_chromium.org, nhiroki, kinuko
Visibility:
Public.

Description

Only re-enable remote service if the task used the network. BUG=240165 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=237552

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : Removed weakptrfactory #

Patch Set 4 : Removed weakptrfactory initializer #

Patch Set 5 : Removed weakptrfactory initializer #

Patch Set 6 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -16 lines) Patch
M chrome/browser/sync_file_system/drive_backend/list_changes_task.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.cc View 1 2 3 4 5 4 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/sync_file_system/drive_backend/sync_engine.h View 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/sync_file_system/drive_backend/sync_engine.cc View 2 chunks +9 lines, -6 lines 0 comments Download
M chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.cc View 1 7 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc View 1 2 3 3 chunks +29 lines, -2 lines 0 comments Download
M chrome/browser/sync_file_system/drive_backend/uninstall_app_task.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.h View 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/sync_file_system/sync_task.h View 1 chunk +10 lines, -1 line 0 comments Download
M chrome/browser/sync_file_system/sync_task_manager.h View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/sync_file_system/sync_task_manager.cc View 1 chunk +6 lines, -1 line 0 comments Download
M chrome/browser/sync_file_system/sync_task_manager_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 15 (0 generated)
keishi
7 years ago (2013-11-26 06:48:53 UTC) #1
keishi
I can still separate out the set_used_network(true) part if you want.it wasn't so big so ...
7 years ago (2013-11-26 06:50:11 UTC) #2
tzik
Thanks! Looks good overall. But, I think it's more readable to move each set_used_network calls ...
7 years ago (2013-11-26 07:09:08 UTC) #3
keishi
On 2013/11/26 07:09:08, tzik wrote: > Thanks! Looks good overall. > But, I think it's ...
7 years ago (2013-11-26 07:48:09 UTC) #4
tzik
lgtm https://codereview.chromium.org/87463002/diff/10001/chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc File chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc (right): https://codereview.chromium.org/87463002/diff/10001/chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc#newcode48 chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc:48: base::WeakPtrFactory<MockSyncTask> weak_ptr_factory_; Is this not used?
7 years ago (2013-11-26 08:26:19 UTC) #5
keishi
https://codereview.chromium.org/87463002/diff/10001/chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc File chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc (right): https://codereview.chromium.org/87463002/diff/10001/chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc#newcode48 chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc:48: base::WeakPtrFactory<MockSyncTask> weak_ptr_factory_; On 2013/11/26 08:26:19, tzik wrote: > Is ...
7 years ago (2013-11-26 08:33:46 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/keishi@chromium.org/87463002/20001
7 years ago (2013-11-26 08:35:02 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/keishi@chromium.org/87463002/50001
7 years ago (2013-11-26 08:45:18 UTC) #8
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) telemetry_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=193306
7 years ago (2013-11-26 09:18:55 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/keishi@chromium.org/87463002/50001
7 years ago (2013-11-26 09:25:03 UTC) #10
commit-bot: I haz the power
Failed to apply patch for chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years ago (2013-11-26 12:05:17 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/keishi@chromium.org/87463002/70001
7 years ago (2013-11-27 08:17:20 UTC) #12
tzik
BUG= looks broken.. Please update it.
7 years ago (2013-11-27 09:12:55 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/keishi@chromium.org/87463002/70001
7 years ago (2013-11-27 09:19:44 UTC) #14
commit-bot: I haz the power
7 years ago (2013-11-27 10:22:11 UTC) #15
Message was sent while issue was closed.
Change committed as 237552

Powered by Google App Engine
This is Rietveld 408576698