Added a CRWBrowsingDataStoreDelegate
commitf9b662a5e84c707274b2fb58f25b3740b21004cd
authorshreyasv <shreyasv@chromium.org>
Tue, 2 Jun 2015 01:13:14 +0000 (1 18:13 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 2 Jun 2015 01:13:48 +0000 (2 01:13 +0000)
tree6fbc9f3eba4ed30b8a4db73d9b4eac4b8a932bbc
parentca9ccb8fa2f7659879374b612b20a93c42608539
Added a CRWBrowsingDataStoreDelegate

This delegate is consulted whenever a CRWBrowsingDataStore's mode wants to
become |ACTIVE| or |INACTIVE|.

The default behavior of stashing and restoring browsing data does not fit all
use cases and this decision needs to be delegated over.

Added a TODO to actually consult the delegate when a mode change occurs.

BUG=480654

Review URL: https://codereview.chromium.org/1151063004

Cr-Commit-Position: refs/heads/master@{#332293}
ios/web/crw_browsing_data_store.mm
ios/web/ios_web.gyp
ios/web/public/crw_browsing_data_store.h
ios/web/public/crw_browsing_data_store_delegate.h [new file with mode: 0644]