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.
17 // Stashes browsing data to the associated BrowserState's state path.
20 // Restores browsing data from the associated BrowserState's state path.
25 #endif // IOS_WEB_BROWSING_DATA_MANAGERS_CRW_BROWSING_DATA_MANAGER_H_