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

Unified Diff: chrome/browser/sync/sessions/status_controller.cc

Issue 8785015: Revert 112815 - [Sync] Make syncer commands avoid posting tasks on threads with no work to do (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/sync/sessions/status_controller.h ('k') | chrome/browser/sync/sessions/sync_session.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/sessions/status_controller.cc
===================================================================
--- chrome/browser/sync/sessions/status_controller.cc (revision 112854)
+++ chrome/browser/sync/sessions/status_controller.cc (working copy)
@@ -62,12 +62,6 @@
return state ? &state->conflict_progress : NULL;
}
-ConflictProgress*
- StatusController::GetUnrestrictedMutableConflictProgressForTest(
- ModelSafeGroup group) {
- return &GetOrCreateModelSafeGroupState(false, group)->conflict_progress;
-}
-
const UpdateProgress* StatusController::GetUnrestrictedUpdateProgress(
ModelSafeGroup group) const {
const PerModelSafeGroupState* state =
@@ -75,12 +69,6 @@
return state ? &state->update_progress : NULL;
}
-UpdateProgress*
- StatusController::GetUnrestrictedMutableUpdateProgressForTest(
- ModelSafeGroup group) {
- return &GetOrCreateModelSafeGroupState(false, group)->update_progress;
-}
-
const PerModelSafeGroupState* StatusController::GetModelSafeGroupState(
bool restrict, ModelSafeGroup group) const {
DCHECK_EQ(restrict, group_restriction_in_effect_);
« no previous file with comments | « chrome/browser/sync/sessions/status_controller.h ('k') | chrome/browser/sync/sessions/sync_session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698