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

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

Issue 1749603002: Store URLs in WebappDataStorage, and purge them when history is cleared. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 9 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
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 375 matching lines...) Expand 10 before | Expand all | Expand 10 after
386 void OnClearedWebRtcLogs(); 386 void OnClearedWebRtcLogs();
387 #endif 387 #endif
388 388
389 #if BUILDFLAG(ANDROID_JAVA_UI) 389 #if BUILDFLAG(ANDROID_JAVA_UI)
390 // Callback on UI thread when the precache history has been cleared. 390 // Callback on UI thread when the precache history has been cleared.
391 void OnClearedPrecacheHistory(); 391 void OnClearedPrecacheHistory();
392 392
393 // Callback on UI thread when the webapp data has been cleared. 393 // Callback on UI thread when the webapp data has been cleared.
394 void OnClearedWebappData(); 394 void OnClearedWebappData();
395 395
396 // Callback on UI thread when the webapp history has been cleared.
397 void OnClearedWebappHistory();
398
396 // Callback on UI thread when the offline page data has been cleared. 399 // Callback on UI thread when the offline page data has been cleared.
397 void OnClearedOfflinePageData(); 400 void OnClearedOfflinePageData();
398 #endif 401 #endif
399 402
400 void OnClearedDomainReliabilityMonitor(); 403 void OnClearedDomainReliabilityMonitor();
401 404
402 // Returns true if we're all done. 405 // Returns true if we're all done.
403 bool AllDone(); 406 bool AllDone();
404 407
405 // Profile we're to remove from. 408 // Profile we're to remove from.
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
450 bool waiting_for_clear_network_predictor_ = false; 453 bool waiting_for_clear_network_predictor_ = false;
451 bool waiting_for_clear_networking_history_ = false; 454 bool waiting_for_clear_networking_history_ = false;
452 bool waiting_for_clear_passwords_ = false; 455 bool waiting_for_clear_passwords_ = false;
453 bool waiting_for_clear_passwords_stats_ = false; 456 bool waiting_for_clear_passwords_stats_ = false;
454 bool waiting_for_clear_platform_keys_ = false; 457 bool waiting_for_clear_platform_keys_ = false;
455 bool waiting_for_clear_plugin_data_ = false; 458 bool waiting_for_clear_plugin_data_ = false;
456 bool waiting_for_clear_pnacl_cache_ = false; 459 bool waiting_for_clear_pnacl_cache_ = false;
457 #if BUILDFLAG(ANDROID_JAVA_UI) 460 #if BUILDFLAG(ANDROID_JAVA_UI)
458 bool waiting_for_clear_precache_history_ = false; 461 bool waiting_for_clear_precache_history_ = false;
459 bool waiting_for_clear_webapp_data_ = false; 462 bool waiting_for_clear_webapp_data_ = false;
463 bool waiting_for_clear_webapp_history_ = false;
460 bool waiting_for_clear_offline_page_data_ = false; 464 bool waiting_for_clear_offline_page_data_ = false;
461 #endif 465 #endif
462 bool waiting_for_clear_storage_partition_data_ = false; 466 bool waiting_for_clear_storage_partition_data_ = false;
463 #if defined(ENABLE_WEBRTC) 467 #if defined(ENABLE_WEBRTC)
464 bool waiting_for_clear_webrtc_logs_ = false; 468 bool waiting_for_clear_webrtc_logs_ = false;
465 #endif 469 #endif
466 bool waiting_for_clear_auto_sign_in_ = false; 470 bool waiting_for_clear_auto_sign_in_ = false;
467 471
468 // The removal mask for the current removal operation. 472 // The removal mask for the current removal operation.
469 int remove_mask_ = 0; 473 int remove_mask_ = 0;
(...skipping 16 matching lines...) Expand all
486 // not initialised, so the registry must be mocked out. 490 // not initialised, so the registry must be mocked out.
487 scoped_ptr<WebappRegistry> webapp_registry_; 491 scoped_ptr<WebappRegistry> webapp_registry_;
488 #endif 492 #endif
489 493
490 base::WeakPtrFactory<BrowsingDataRemover> weak_ptr_factory_; 494 base::WeakPtrFactory<BrowsingDataRemover> weak_ptr_factory_;
491 495
492 DISALLOW_COPY_AND_ASSIGN(BrowsingDataRemover); 496 DISALLOW_COPY_AND_ASSIGN(BrowsingDataRemover);
493 }; 497 };
494 498
495 #endif // CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_REMOVER_H_ 499 #endif // CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_REMOVER_H_
OLDNEW
« no previous file with comments | « chrome/browser/android/webapps/webapp_registry.cc ('k') | chrome/browser/browsing_data/browsing_data_remover.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698