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

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

Issue 2390753004: Revert of [Reland] Refactor WebappRegistry into a singleton instance. (Closed)
Patch Set: Created 4 years, 2 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 <queue> 10 #include <queue>
(...skipping 445 matching lines...) Expand 10 before | Expand all | Expand 10 after
456 456
457 #if defined(ENABLE_WEBRTC) 457 #if defined(ENABLE_WEBRTC)
458 // Callback on UI thread when the WebRTC logs have been deleted. 458 // Callback on UI thread when the WebRTC logs have been deleted.
459 void OnClearedWebRtcLogs(); 459 void OnClearedWebRtcLogs();
460 #endif 460 #endif
461 461
462 #if BUILDFLAG(ANDROID_JAVA_UI) 462 #if BUILDFLAG(ANDROID_JAVA_UI)
463 // Callback on UI thread when the precache history has been cleared. 463 // Callback on UI thread when the precache history has been cleared.
464 void OnClearedPrecacheHistory(); 464 void OnClearedPrecacheHistory();
465 465
466 // Callback on UI thread when the webapp data has been cleared.
467 void OnClearedWebappData();
468
469 // Callback on UI thread when the webapp history has been cleared.
470 void OnClearedWebappHistory();
471
466 // Callback on UI thread when the offline page data has been cleared. 472 // Callback on UI thread when the offline page data has been cleared.
467 void OnClearedOfflinePageData( 473 void OnClearedOfflinePageData(
468 offline_pages::OfflinePageModel::DeletePageResult result); 474 offline_pages::OfflinePageModel::DeletePageResult result);
469 #endif 475 #endif
470 476
471 void OnClearedDomainReliabilityMonitor(); 477 void OnClearedDomainReliabilityMonitor();
472 478
473 // Returns true if we're all done. 479 // Returns true if we're all done.
474 bool AllDone(); 480 bool AllDone();
475 481
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
532 bool waiting_for_clear_keyword_data_ = false; 538 bool waiting_for_clear_keyword_data_ = false;
533 bool waiting_for_clear_nacl_cache_ = false; 539 bool waiting_for_clear_nacl_cache_ = false;
534 bool waiting_for_clear_network_predictor_ = false; 540 bool waiting_for_clear_network_predictor_ = false;
535 bool waiting_for_clear_networking_history_ = false; 541 bool waiting_for_clear_networking_history_ = false;
536 bool waiting_for_clear_passwords_ = false; 542 bool waiting_for_clear_passwords_ = false;
537 bool waiting_for_clear_passwords_stats_ = false; 543 bool waiting_for_clear_passwords_stats_ = false;
538 bool waiting_for_clear_platform_keys_ = false; 544 bool waiting_for_clear_platform_keys_ = false;
539 bool waiting_for_clear_pnacl_cache_ = false; 545 bool waiting_for_clear_pnacl_cache_ = false;
540 #if BUILDFLAG(ANDROID_JAVA_UI) 546 #if BUILDFLAG(ANDROID_JAVA_UI)
541 bool waiting_for_clear_precache_history_ = false; 547 bool waiting_for_clear_precache_history_ = false;
548 bool waiting_for_clear_webapp_data_ = false;
549 bool waiting_for_clear_webapp_history_ = false;
542 bool waiting_for_clear_offline_page_data_ = false; 550 bool waiting_for_clear_offline_page_data_ = false;
543 #endif 551 #endif
544 bool waiting_for_clear_storage_partition_data_ = false; 552 bool waiting_for_clear_storage_partition_data_ = false;
545 #if defined(ENABLE_WEBRTC) 553 #if defined(ENABLE_WEBRTC)
546 bool waiting_for_clear_webrtc_logs_ = false; 554 bool waiting_for_clear_webrtc_logs_ = false;
547 #endif 555 #endif
548 bool waiting_for_clear_auto_sign_in_ = false; 556 bool waiting_for_clear_auto_sign_in_ = false;
549 557
550 // Observers of the global state and individual tasks. 558 // Observers of the global state and individual tasks.
551 base::ObserverList<Observer, true> observer_list_; 559 base::ObserverList<Observer, true> observer_list_;
(...skipping 11 matching lines...) Expand all
563 // not initialised, so the registry must be mocked out. 571 // not initialised, so the registry must be mocked out.
564 std::unique_ptr<WebappRegistry> webapp_registry_; 572 std::unique_ptr<WebappRegistry> webapp_registry_;
565 #endif 573 #endif
566 574
567 base::WeakPtrFactory<BrowsingDataRemover> weak_ptr_factory_; 575 base::WeakPtrFactory<BrowsingDataRemover> weak_ptr_factory_;
568 576
569 DISALLOW_COPY_AND_ASSIGN(BrowsingDataRemover); 577 DISALLOW_COPY_AND_ASSIGN(BrowsingDataRemover);
570 }; 578 };
571 579
572 #endif // CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_REMOVER_H_ 580 #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