Chromium Code Reviews| 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_BROWSING_DATA_REMOVER_H_ | 5 #ifndef CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_REMOVER_H_ |
| 6 #define CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_REMOVER_H_ | 6 #define CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_REMOVER_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <set> | 10 #include <set> |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 128 REMOVE_INDEXEDDB | | 128 REMOVE_INDEXEDDB | |
| 129 REMOVE_LOCAL_STORAGE | | 129 REMOVE_LOCAL_STORAGE | |
| 130 REMOVE_PLUGIN_DATA | | 130 REMOVE_PLUGIN_DATA | |
| 131 REMOVE_SERVICE_WORKERS | | 131 REMOVE_SERVICE_WORKERS | |
| 132 REMOVE_CACHE_STORAGE | | 132 REMOVE_CACHE_STORAGE | |
| 133 REMOVE_WEBSQL | | 133 REMOVE_WEBSQL | |
| 134 REMOVE_CHANNEL_IDS | | 134 REMOVE_CHANNEL_IDS | |
| 135 REMOVE_SITE_USAGE_DATA | | 135 REMOVE_SITE_USAGE_DATA | |
| 136 #if BUILDFLAG(ANDROID_JAVA_UI) | 136 #if BUILDFLAG(ANDROID_JAVA_UI) |
| 137 REMOVE_WEBAPP_DATA | | 137 REMOVE_WEBAPP_DATA | |
| 138 REMOVE_OFFLINE_PAGE_DATA | | |
|
fgorski
2016/05/13 16:14:57
So we are never setting this one?
That is OK, pro
romax
2016/05/13 17:50:01
yes we'll not set this one, instead we use REMOVE_
| |
| 139 #endif | 138 #endif |
| 140 REMOVE_WEBRTC_IDENTITY, | 139 REMOVE_WEBRTC_IDENTITY, |
| 141 | 140 |
| 142 // Includes all the available remove options. Meant to be used by clients | 141 // Includes all the available remove options. Meant to be used by clients |
| 143 // that wish to wipe as much data as possible from a Profile, to make it | 142 // that wish to wipe as much data as possible from a Profile, to make it |
| 144 // look like a new Profile. | 143 // look like a new Profile. |
| 145 REMOVE_ALL = REMOVE_SITE_DATA | REMOVE_CACHE | REMOVE_DOWNLOADS | | 144 REMOVE_ALL = REMOVE_SITE_DATA | REMOVE_CACHE | REMOVE_DOWNLOADS | |
| 146 REMOVE_FORM_DATA | | 145 REMOVE_FORM_DATA | |
| 147 REMOVE_HISTORY | | 146 REMOVE_HISTORY | |
| 148 REMOVE_PASSWORDS | | 147 REMOVE_PASSWORDS | |
| (...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 518 // not initialised, so the registry must be mocked out. | 517 // not initialised, so the registry must be mocked out. |
| 519 std::unique_ptr<WebappRegistry> webapp_registry_; | 518 std::unique_ptr<WebappRegistry> webapp_registry_; |
| 520 #endif | 519 #endif |
| 521 | 520 |
| 522 base::WeakPtrFactory<BrowsingDataRemover> weak_ptr_factory_; | 521 base::WeakPtrFactory<BrowsingDataRemover> weak_ptr_factory_; |
| 523 | 522 |
| 524 DISALLOW_COPY_AND_ASSIGN(BrowsingDataRemover); | 523 DISALLOW_COPY_AND_ASSIGN(BrowsingDataRemover); |
| 525 }; | 524 }; |
| 526 | 525 |
| 527 #endif // CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_REMOVER_H_ | 526 #endif // CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_REMOVER_H_ |
| OLD | NEW |