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

Unified Diff: chrome/browser/sync/glue/session_change_processor.h

Issue 6465005: [Sync] Initial support for encrypting any datatype (no UI hookup yet). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase + small fix Created 9 years, 10 months 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
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);
};
« no previous file with comments | « chrome/browser/sync/glue/password_change_processor.cc ('k') | chrome/browser/sync/glue/session_change_processor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698