Chromium Code Reviews| Index: ios/web/browsing_data_partition_impl.mm |
| diff --git a/ios/web/browsing_data_partition_impl.mm b/ios/web/browsing_data_partition_impl.mm |
| index f15ac55786e951e4a3a2681b1fb39b7c14d89545..224a92430c94020a454d6a8e2c95266314171f2e 100644 |
| --- a/ios/web/browsing_data_partition_impl.mm |
| +++ b/ios/web/browsing_data_partition_impl.mm |
| @@ -6,6 +6,7 @@ |
| #include "base/logging.h" |
| #include "ios/web/public/browser_state.h" |
| +#include "ios/web/public/browsing_data_partition_client.h" |
| #import "ios/web/public/crw_browsing_data_store.h" |
| #include "ios/web/public/web_thread.h" |
| @@ -84,8 +85,11 @@ |
| DCHECK_GE(self.outOfSyncStoreCount, 1U); |
| --self.outOfSyncStoreCount; |
| - // TODO(shreyasv): Have a BrowsingDataPartitionClient be informed when |
| - // |self.outOfSyncStoreCount| goes down to 0. crbug.com/480654. |
| + web::BrowsingDataPartitionClient* client = |
|
Eugene But (OOO till 7-30)
2015/07/21 21:48:03
NIT: Please either use auto or inline web::GetBrow
shreyasv1
2015/07/21 22:12:06
Acknowledged.
|
| + web::GetBrowsingDataPartitionClient(); |
| + if (client) { |
| + client->DidBecomeSynchronized(); |
| + } |
| } |
| @end |