Don't show supervised user as "already on this device" while they're being imported.
[chromium-blink-merge.git] / ios / web / public / browsing_data_partition.h
blob26ca9702cc8f9611edb4ea13117df98626484834
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.
5 #ifndef IOS_WEB_PUBLIC_BROWSING_DATA_PARTITION_H_
6 #define IOS_WEB_PUBLIC_BROWSING_DATA_PARTITION_H_
8 #include "base/macros.h"
10 #if defined(__OBJC__)
11 @class CRWBrowsingDataStore;
12 #else // __OBJC__
13 class CRWBrowsingDataStore;
14 #endif // __OBJC__
16 namespace web {
18 class BrowserState;
20 // Manages the browsing data associated with a particular BrowserState.
21 // Not thread safe. Must be used only on the main thread.
22 class BrowsingDataPartition {
23 public:
24 // Returns the underlying CRWBrowsingDataStore.
25 virtual CRWBrowsingDataStore* GetBrowsingDataStore() = 0;
27 protected:
28 virtual ~BrowsingDataPartition(){};
31 } // namespace web
33 #endif // IOS_WEB_PUBLIC_BROWSING_DATA_PARTITION_H_