Index: chrome/browser/sync/sessions/sync_session_context.h |
=================================================================== |
--- chrome/browser/sync/sessions/sync_session_context.h (revision 51231) |
+++ chrome/browser/sync/sessions/sync_session_context.h (working copy) |
@@ -96,6 +96,14 @@ |
} |
const std::string& account_name() { return account_name_; } |
+ const ModelSafeRoutingInfo& previous_session_routing_info() const { |
+ return previous_session_routing_info_; |
+ } |
+ |
+ void set_previous_session_routing_info(const ModelSafeRoutingInfo& info) { |
+ previous_session_routing_info_ = info; |
+ } |
+ |
private: |
// Rather than force clients to set and null-out various context members, we |
// extend our encapsulation boundary to scoped helpers that take care of this |
@@ -126,6 +134,10 @@ |
// The name of the account being synced. |
std::string account_name_; |
+ // Some routing info history to help us clean up types that get disabled |
+ // by the user. |
+ ModelSafeRoutingInfo previous_session_routing_info_; |
+ |
DISALLOW_COPY_AND_ASSIGN(SyncSessionContext); |
}; |