Index: chrome/browser/sync/sessions/status_controller.cc |
diff --git a/chrome/browser/sync/sessions/status_controller.cc b/chrome/browser/sync/sessions/status_controller.cc |
index 26f5c62055d820a0555dee1cb8bd929ac58d9371..4b82aa827d67d10592d186f328aa611663d0a3f2 100644 |
--- a/chrome/browser/sync/sessions/status_controller.cc |
+++ b/chrome/browser/sync/sessions/status_controller.cc |
@@ -62,6 +62,12 @@ const ConflictProgress* StatusController::GetUnrestrictedConflictProgress( |
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 = |
@@ -69,6 +75,12 @@ const UpdateProgress* StatusController::GetUnrestrictedUpdateProgress( |
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_); |