Adding an IsSynchronized method to BrowsingDataPartition.
commita9523b3e01e810b23be016a4ab1b45c008ddc805
authorshreyasv <shreyasv@chromium.org>
Tue, 2 Jun 2015 01:42:04 +0000 (1 18:42 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 2 Jun 2015 01:42:39 +0000 (2 01:42 +0000)
tree68b6efe6afa48b0327d7fb675726ab030f40c201
parent95c35a2fad1b1c077ac233d338ea7e5e94c5315b
Adding an IsSynchronized method to BrowsingDataPartition.

This reflects the fact that an ActiveStateManager's active state is out
of sync with its CRWBrowsingDataStore's mode.

WKWebViews can only be created when the BrowsingDataPartition
is fully synchronized.
Added a DCHECK in the web view creation util methods that vend a WKWebView along
with an appropriate comment in the .h

BUG=480654

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

Cr-Commit-Position: refs/heads/master@{#332314}
ios/web/browsing_data_partition_impl.mm
ios/web/public/browsing_data_partition.h
ios/web/web_state/web_view_creation_utils.h
ios/web/web_state/web_view_creation_utils.mm