| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CHROME_BROWSER_BROWSING_DATA_REMOVER_H_ | 5 #ifndef CHROME_BROWSER_BROWSING_DATA_REMOVER_H_ |
| 6 #define CHROME_BROWSER_BROWSING_DATA_REMOVER_H_ | 6 #define CHROME_BROWSER_BROWSING_DATA_REMOVER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <set> | 9 #include <set> |
| 10 | 10 |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 REMOVE_FILE_SYSTEMS = 1 << 4, | 66 REMOVE_FILE_SYSTEMS = 1 << 4, |
| 67 REMOVE_FORM_DATA = 1 << 5, | 67 REMOVE_FORM_DATA = 1 << 5, |
| 68 // In addition to visits, REMOVE_HISTORY removes keywords and last session. | 68 // In addition to visits, REMOVE_HISTORY removes keywords and last session. |
| 69 REMOVE_HISTORY = 1 << 6, | 69 REMOVE_HISTORY = 1 << 6, |
| 70 REMOVE_INDEXEDDB = 1 << 7, | 70 REMOVE_INDEXEDDB = 1 << 7, |
| 71 REMOVE_LOCAL_STORAGE = 1 << 8, | 71 REMOVE_LOCAL_STORAGE = 1 << 8, |
| 72 REMOVE_PLUGIN_DATA = 1 << 9, | 72 REMOVE_PLUGIN_DATA = 1 << 9, |
| 73 REMOVE_PASSWORDS = 1 << 10, | 73 REMOVE_PASSWORDS = 1 << 10, |
| 74 REMOVE_WEBSQL = 1 << 11, | 74 REMOVE_WEBSQL = 1 << 11, |
| 75 REMOVE_SERVER_BOUND_CERTS = 1 << 12, | 75 REMOVE_SERVER_BOUND_CERTS = 1 << 12, |
| 76 REMOVE_CONTENT_LICENSES = 1 << 13, |
| 76 | 77 |
| 77 // "Site data" includes cookies, appcache, file systems, indexedDBs, local | 78 // "Site data" includes cookies, appcache, file systems, indexedDBs, local |
| 78 // storage, webSQL, and plugin data. | 79 // storage, webSQL, and plugin data. |
| 79 REMOVE_SITE_DATA = REMOVE_APPCACHE | REMOVE_COOKIES | REMOVE_FILE_SYSTEMS | | 80 REMOVE_SITE_DATA = REMOVE_APPCACHE | REMOVE_COOKIES | REMOVE_FILE_SYSTEMS | |
| 80 REMOVE_INDEXEDDB | REMOVE_LOCAL_STORAGE | | 81 REMOVE_INDEXEDDB | REMOVE_LOCAL_STORAGE | |
| 81 REMOVE_PLUGIN_DATA | REMOVE_WEBSQL | | 82 REMOVE_PLUGIN_DATA | REMOVE_WEBSQL | |
| 82 REMOVE_SERVER_BOUND_CERTS | 83 REMOVE_SERVER_BOUND_CERTS |
| 83 }; | 84 }; |
| 84 | 85 |
| 85 // When BrowsingDataRemover successfully removes data, a notification of type | 86 // When BrowsingDataRemover successfully removes data, a notification of type |
| (...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 320 | 321 |
| 321 ObserverList<Observer> observer_list_; | 322 ObserverList<Observer> observer_list_; |
| 322 | 323 |
| 323 // Used if we need to clear history. | 324 // Used if we need to clear history. |
| 324 CancelableRequestConsumer request_consumer_; | 325 CancelableRequestConsumer request_consumer_; |
| 325 | 326 |
| 326 DISALLOW_COPY_AND_ASSIGN(BrowsingDataRemover); | 327 DISALLOW_COPY_AND_ASSIGN(BrowsingDataRemover); |
| 327 }; | 328 }; |
| 328 | 329 |
| 329 #endif // CHROME_BROWSER_BROWSING_DATA_REMOVER_H_ | 330 #endif // CHROME_BROWSER_BROWSING_DATA_REMOVER_H_ |
| OLD | NEW |