Don't show supervised user as "already on this device" while they're being imported.
[chromium-blink-merge.git] / ios / web / browsing_data_managers / crw_browsing_data_manager.h
blob2932624e4015f6ba8ad5aa5982fd3796f809d9da
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_BROWSING_DATA_MANAGERS_CRW_BROWSING_DATA_MANAGER_H_
6 #define IOS_WEB_BROWSING_DATA_MANAGERS_CRW_BROWSING_DATA_MANAGER_H_
8 #import <Foundation/Foundation.h>
10 // A protocol implemented by a class that can manage browsing data between
11 // BrowserStates. Callers of these methods must do so on a background thread.
12 @protocol CRWBrowsingDataManager<NSObject>
14 // Removes browsing data.
15 - (void)removeData;
17 // Stashes browsing data to the associated BrowserState's state path.
18 - (void)stashData;
20 // Restores browsing data from the associated BrowserState's state path.
21 - (void)restoreData;
23 @end
25 #endif // IOS_WEB_BROWSING_DATA_MANAGERS_CRW_BROWSING_DATA_MANAGER_H_