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

Side by Side Diff: ios/chrome/browser/browsing_data/ios_chrome_browsing_data_remover.h

Issue 1472863002: Upstream downstream forks of ios_chrome_browsing_data_remover.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_CHROME_BROWSER_BROWSING_DATA_IOS_CHROME_BROWSING_DATA_REMOVER_H_ 5 #ifndef IOS_CHROME_BROWSER_BROWSING_DATA_IOS_CHROME_BROWSING_DATA_REMOVER_H_
6 #define IOS_CHROME_BROWSER_BROWSING_DATA_IOS_CHROME_BROWSING_DATA_REMOVER_H_ 6 #define IOS_CHROME_BROWSER_BROWSING_DATA_IOS_CHROME_BROWSING_DATA_REMOVER_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "base/gtest_prod_util.h" 10 #include "base/gtest_prod_util.h"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 REMOVE_FORM_DATA = 1 << 4, 45 REMOVE_FORM_DATA = 1 << 4,
46 // In addition to visits, REMOVE_HISTORY removes keywords and last session. 46 // In addition to visits, REMOVE_HISTORY removes keywords and last session.
47 REMOVE_HISTORY = 1 << 5, 47 REMOVE_HISTORY = 1 << 5,
48 REMOVE_INDEXEDDB = 1 << 6, 48 REMOVE_INDEXEDDB = 1 << 6,
49 REMOVE_LOCAL_STORAGE = 1 << 7, 49 REMOVE_LOCAL_STORAGE = 1 << 7,
50 REMOVE_PASSWORDS = 1 << 8, 50 REMOVE_PASSWORDS = 1 << 8,
51 REMOVE_WEBSQL = 1 << 9, 51 REMOVE_WEBSQL = 1 << 9,
52 REMOVE_CHANNEL_IDS = 1 << 10, 52 REMOVE_CHANNEL_IDS = 1 << 10,
53 REMOVE_GOOGLE_APP_LAUNCHER_DATA = 1 << 11, 53 REMOVE_GOOGLE_APP_LAUNCHER_DATA = 1 << 11,
54 REMOVE_CACHE_STORAGE = 1 << 12, 54 REMOVE_CACHE_STORAGE = 1 << 12,
55 REMOVE_VISITED_LINKS = 1 << 13,
55 56
56 // "Site data" includes cookies, appcache, file systems, indexedDBs, local 57 // "Site data" includes cookies, appcache, file systems, indexedDBs, local
57 // storage, webSQL, service workers, cache storage, plugin data, and web app 58 // storage, webSQL, service workers, cache storage, plugin data, and web app
58 // data (on Android). 59 // data (on Android).
59 REMOVE_SITE_DATA = REMOVE_APPCACHE | REMOVE_COOKIES | REMOVE_INDEXEDDB | 60 REMOVE_SITE_DATA = REMOVE_APPCACHE | REMOVE_COOKIES | REMOVE_INDEXEDDB |
60 REMOVE_LOCAL_STORAGE | 61 REMOVE_LOCAL_STORAGE |
61 REMOVE_CACHE_STORAGE | 62 REMOVE_CACHE_STORAGE |
62 REMOVE_WEBSQL | 63 REMOVE_WEBSQL |
63 REMOVE_CHANNEL_IDS, 64 REMOVE_CHANNEL_IDS |
65 REMOVE_VISITED_LINKS,
64 66
65 // Includes all the available remove options. Meant to be used by clients 67 // Includes all the available remove options. Meant to be used by clients
66 // that wish to wipe as much data as possible from a ChromeBrowserState, to 68 // that wish to wipe as much data as possible from a ChromeBrowserState, to
67 // make it look like a new ChromeBrowserState. 69 // make it look like a new ChromeBrowserState.
68 REMOVE_ALL = REMOVE_SITE_DATA | REMOVE_CACHE | REMOVE_DOWNLOADS | 70 REMOVE_ALL = REMOVE_SITE_DATA | REMOVE_CACHE | REMOVE_DOWNLOADS |
69 REMOVE_FORM_DATA | 71 REMOVE_FORM_DATA |
70 REMOVE_HISTORY | 72 REMOVE_HISTORY |
71 REMOVE_PASSWORDS, 73 REMOVE_PASSWORDS,
72 }; 74 };
73 75
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 scoped_ptr<TemplateURLService::Subscription> template_url_sub_; 267 scoped_ptr<TemplateURLService::Subscription> template_url_sub_;
266 268
267 // Object that supports legacy functionality and functionality that has not 269 // Object that supports legacy functionality and functionality that has not
268 // yet been ported to //ios/chrome. 270 // yet been ported to //ios/chrome.
269 scoped_ptr<ios::IOSChromeBrowsingDataRemoverProvider> provider_; 271 scoped_ptr<ios::IOSChromeBrowsingDataRemoverProvider> provider_;
270 272
271 DISALLOW_COPY_AND_ASSIGN(IOSChromeBrowsingDataRemover); 273 DISALLOW_COPY_AND_ASSIGN(IOSChromeBrowsingDataRemover);
272 }; 274 };
273 275
274 #endif // IOS_CHROME_BROWSER_BROWSING_DATA_IOS_CHROME_BROWSING_DATA_REMOVER_H_ 276 #endif // IOS_CHROME_BROWSER_BROWSING_DATA_IOS_CHROME_BROWSING_DATA_REMOVER_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698