Adding the basic class outline for modal data partitioning
commite8d5f06c55e434ab6707157e0359265f14e240a3
authorshreyasv <shreyasv@chromium.org>
Tue, 26 May 2015 20:21:42 +0000 (26 13:21 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 26 May 2015 20:22:33 +0000 (26 20:22 +0000)
tree979c97b022b22af2e878c08b305b77e8ad56576c
parentdd358bef4bad57d339ff28a666be33ab1f3d1a4b
Adding the basic class outline for modal data partitioning

ActiveStateManager, CRWBrowsingDataStore, BrowsingDataPartition are public
interfaces -- for use outside of web.

ActiveStateManager has a concept of "active" state. At most one ActiveStateManager can
be active at a given time.

ActiveStateManager and BrowsingDataParition have a 1:1 relationship with
BrowserState.

Also renamed browser_state.cc to browser_state.mm

Look at the corresponding bugs for the design doc.

BUG=480654, 480507

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

Cr-Commit-Position: refs/heads/master@{#331418}
14 files changed:
ios/web/active_state_manager_impl.h [new file with mode: 0644]
ios/web/active_state_manager_impl.mm [new file with mode: 0644]
ios/web/active_state_manager_impl_unittest.mm [new file with mode: 0644]
ios/web/browser_state.mm [moved from ios/web/browser_state.cc with 70% similarity]
ios/web/browsing_data_partition_impl.h [new file with mode: 0644]
ios/web/browsing_data_partition_impl.mm [new file with mode: 0644]
ios/web/browsing_data_partition_impl_unittest.mm [new file with mode: 0644]
ios/web/crw_browsing_data_store.mm [new file with mode: 0644]
ios/web/ios_web.gyp
ios/web/ios_web_unittests.gyp
ios/web/public/active_state_manager.h [new file with mode: 0644]
ios/web/public/browser_state.h
ios/web/public/browsing_data_partition.h [new file with mode: 0644]
ios/web/public/crw_browsing_data_store.h [new file with mode: 0644]