| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef IOS_WEB_CRW_BROWSING_DATA_STORE_H_ | 5 #ifndef IOS_WEB_PUBLIC_CRW_BROWSING_DATA_STORE_H_ |
| 6 #define IOS_WEB_CRW_BROWSING_DATA_STORE_H_ | 6 #define IOS_WEB_PUBLIC_CRW_BROWSING_DATA_STORE_H_ |
| 7 | 7 |
| 8 #import <Foundation/Foundation.h> | 8 #import <Foundation/Foundation.h> |
| 9 | 9 |
| 10 #import "base/ios/block_types.h" | 10 #import "base/ios/block_types.h" |
| 11 #import "ios/web/public/crw_browsing_data_store_delegate.h" | 11 #import "ios/web/public/crw_browsing_data_store_delegate.h" |
| 12 | 12 |
| 13 namespace web { | 13 namespace web { |
| 14 class BrowserState; | 14 class BrowserState; |
| 15 | 15 |
| 16 // Represents the various kinds of browsing data that a CRWBrowsingDataStore | 16 // Represents the various kinds of browsing data that a CRWBrowsingDataStore |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 | 87 |
| 88 // Removes all browsing data of the provided |browsingDataTypes|. | 88 // Removes all browsing data of the provided |browsingDataTypes|. |
| 89 // |completionHandler| is called on the main thread after the browsing data has | 89 // |completionHandler| is called on the main thread after the browsing data has |
| 90 // been removed. | 90 // been removed. |
| 91 // Precondition: There must be no web views associated with the BrowserState. | 91 // Precondition: There must be no web views associated with the BrowserState. |
| 92 - (void)removeDataOfTypes:(web::BrowsingDataTypes)browsingDataTypes | 92 - (void)removeDataOfTypes:(web::BrowsingDataTypes)browsingDataTypes |
| 93 completionHandler:(ProceduralBlock)completionHandler; | 93 completionHandler:(ProceduralBlock)completionHandler; |
| 94 | 94 |
| 95 @end | 95 @end |
| 96 | 96 |
| 97 #endif // IOS_WEB_CRW_BROWSING_DATA_STORE_H_ | 97 #endif // IOS_WEB_PUBLIC_CRW_BROWSING_DATA_STORE_H_ |
| OLD | NEW |