Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1263)

Unified Diff: ios/web/browsing_data_partition_impl.mm

Issue 1247143002: Adding BrowsingDataPartitionClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: y Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ios/web/ios_web.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 =
+ web::GetBrowsingDataPartitionClient();
+ if (client) {
+ client->DidBecomeSynchronized();
+ }
}
@end
« no previous file with comments | « no previous file | ios/web/ios_web.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698