Index: chrome/browser/sync/glue/session_change_processor.h |
diff --git a/chrome/browser/sync/glue/session_change_processor.h b/chrome/browser/sync/glue/session_change_processor.h |
index 9d772daff4cab607e44147fa350edeaef0c741bb..b8bcc8f2d0056697f21c26cec67c3fb9dd595683 100644 |
--- a/chrome/browser/sync/glue/session_change_processor.h |
+++ b/chrome/browser/sync/glue/session_change_processor.h |
@@ -35,6 +35,10 @@ class SessionChangeProcessor : public ChangeProcessor, |
SessionChangeProcessor( |
UnrecoverableErrorHandler* error_handler, |
SessionModelAssociator* session_model_associator); |
+ SessionChangeProcessor( |
+ UnrecoverableErrorHandler* error_handler, |
+ SessionModelAssociator* session_model_associator, |
+ bool setup_for_test); |
virtual ~SessionChangeProcessor(); |
// NotificationObserver implementation. |
@@ -63,6 +67,9 @@ class SessionChangeProcessor : public ChangeProcessor, |
// Owner of the SessionService. Non-NULL iff |running()| is true. |
Profile* profile_; |
+ // To bypass some checks/codepaths not applicable in tests. |
+ bool setup_for_test_; |
+ |
DISALLOW_COPY_AND_ASSIGN(SessionChangeProcessor); |
}; |