| 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_DELEGATE_H_ | 5 #ifndef IOS_WEB_PUBLIC_CRW_BROWSING_DATA_STORE_DELEGATE_H_ |
| 6 #define IOS_WEB_CRW_BROWSING_DATA_STORE_DELEGATE_H_ | 6 #define IOS_WEB_PUBLIC_CRW_BROWSING_DATA_STORE_DELEGATE_H_ |
| 7 | 7 |
| 8 #import <Foundation/Foundation.h> | 8 #import <Foundation/Foundation.h> |
| 9 | 9 |
| 10 @class CRWBrowsingDataStore; | 10 @class CRWBrowsingDataStore; |
| 11 | 11 |
| 12 namespace web { | 12 namespace web { |
| 13 | 13 |
| 14 // The policy to pass back to the CRWBrowsingDataStore when the | 14 // The policy to pass back to the CRWBrowsingDataStore when the |
| 15 // CRWBrowsingDataStore's mode wants to become |ACTIVE|. | 15 // CRWBrowsingDataStore's mode wants to become |ACTIVE|. |
| 16 typedef NS_ENUM(NSUInteger, BrowsingDataStoreMakeActivePolicy) { | 16 typedef NS_ENUM(NSUInteger, BrowsingDataStoreMakeActivePolicy) { |
| (...skipping 26 matching lines...) Expand all Loading... |
| 43 decideMakeActiveOperationPolicyForBrowsingDataStore: | 43 decideMakeActiveOperationPolicyForBrowsingDataStore: |
| 44 (CRWBrowsingDataStore*)browsingDataStore; | 44 (CRWBrowsingDataStore*)browsingDataStore; |
| 45 | 45 |
| 46 // Called when a CRWBrowsingDataStore wants to change its mode to |INACTIVE|. | 46 // Called when a CRWBrowsingDataStore wants to change its mode to |INACTIVE|. |
| 47 - (web::BrowsingDataStoreMakeInactivePolicy) | 47 - (web::BrowsingDataStoreMakeInactivePolicy) |
| 48 decideMakeInactiveOperationPolicyForBrowsingDataStore: | 48 decideMakeInactiveOperationPolicyForBrowsingDataStore: |
| 49 (CRWBrowsingDataStore*)browsingDataStore; | 49 (CRWBrowsingDataStore*)browsingDataStore; |
| 50 | 50 |
| 51 @end | 51 @end |
| 52 | 52 |
| 53 #endif // IOS_WEB_CRW_BROWSING_DATA_STORE_DELEGATE_H_ | 53 #endif // IOS_WEB_PUBLIC_CRW_BROWSING_DATA_STORE_DELEGATE_H_ |
| OLD | NEW |