Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(443)

Side by Side Diff: chrome/browser/browsing_data/browsing_data_remover.h

Issue 1970423002: [Offline Pages] Clear offline pages when user clears cache. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/browsing_data/browsing_data_remover.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/browsing_data/browsing_data_remover.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698