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

Side by Side Diff: ios/web/public/browsing_data_partition_client.h

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 unified diff | Download patch
« no previous file with comments | « ios/web/ios_web.gyp ('k') | ios/web/public/browsing_data_partition_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef IOS_WEB_PUBLIC_BROWSING_DATA_PARTITION_CLIENT_H_
6 #define IOS_WEB_PUBLIC_BROWSING_DATA_PARTITION_CLIENT_H_
7
8 #include "base/macros.h"
9
10 namespace web {
11
12 class BrowsingDataPartitionClient;
13
14 // Setter and getter for the client.
15 void SetBrowsingDataPartitionClient(BrowsingDataPartitionClient* client);
16 BrowsingDataPartitionClient* GetBrowsingDataPartitionClient();
17
18 // Interface that the embedder of the web layer implements. Informs embedders
19 // when the BrowsingDataPartition is synchronized.
20 class BrowsingDataPartitionClient {
21 public:
22 BrowsingDataPartitionClient();
23 virtual ~BrowsingDataPartitionClient();
24
25 // Called when web::BrowsingDataPartition becomes synchronized.
26 virtual void DidBecomeSynchronized() const {}
27
28 private:
29 DISALLOW_COPY_AND_ASSIGN(BrowsingDataPartitionClient);
30 };
31
32 } // namespace web
33
34 #endif // IOS_NET_COOKIES_COOKIE_STORE_IOS_CLIENT_H_
OLDNEW
« no previous file with comments | « ios/web/ios_web.gyp ('k') | ios/web/public/browsing_data_partition_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698