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

Side by Side Diff: components/history/core/browser/history_backend.h

Issue 2314833002: Remove some uses of stl_util's STLDeleteContainerPointers. (Closed)
Patch Set: cleanup Created 4 years, 3 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 COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_BACKEND_H_ 5 #ifndef COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_BACKEND_H_
6 #define COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_BACKEND_H_ 6 #define COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_BACKEND_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 845 matching lines...) Expand 10 before | Expand all | Expand 10 after
856 base::Closure backend_destroy_task_; 856 base::Closure backend_destroy_task_;
857 857
858 // Tracks page transition types. 858 // Tracks page transition types.
859 VisitTracker tracker_; 859 VisitTracker tracker_;
860 860
861 // A boolean variable to track whether we have already purged obsolete segment 861 // A boolean variable to track whether we have already purged obsolete segment
862 // data. 862 // data.
863 bool segment_queried_; 863 bool segment_queried_;
864 864
865 // List of QueuedHistoryDBTasks to run; 865 // List of QueuedHistoryDBTasks to run;
866 std::list<QueuedHistoryDBTask*> queued_history_db_tasks_; 866 std::list<std::unique_ptr<QueuedHistoryDBTask>> queued_history_db_tasks_;
867 867
868 // Used to determine if a URL is bookmarked; may be null. 868 // Used to determine if a URL is bookmarked; may be null.
869 std::unique_ptr<HistoryBackendClient> backend_client_; 869 std::unique_ptr<HistoryBackendClient> backend_client_;
870 870
871 scoped_refptr<base::SequencedTaskRunner> task_runner_; 871 scoped_refptr<base::SequencedTaskRunner> task_runner_;
872 872
873 // Used to allow embedder code to stash random data by key. Those object will 873 // Used to allow embedder code to stash random data by key. Those object will
874 // be deleted before closing the databases (hence the member variable instead 874 // be deleted before closing the databases (hence the member variable instead
875 // of inheritance from base::SupportsUserData). 875 // of inheritance from base::SupportsUserData).
876 std::unique_ptr<HistoryBackendHelper> supports_user_data_helper_; 876 std::unique_ptr<HistoryBackendHelper> supports_user_data_helper_;
(...skipping 15 matching lines...) Expand all
892 892
893 // List of observers 893 // List of observers
894 base::ObserverList<HistoryBackendObserver> observers_; 894 base::ObserverList<HistoryBackendObserver> observers_;
895 895
896 DISALLOW_COPY_AND_ASSIGN(HistoryBackend); 896 DISALLOW_COPY_AND_ASSIGN(HistoryBackend);
897 }; 897 };
898 898
899 } // namespace history 899 } // namespace history
900 900
901 #endif // COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_BACKEND_H_ 901 #endif // COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_BACKEND_H_
OLDNEW
« no previous file with comments | « components/certificate_transparency/log_proof_fetcher.cc ('k') | components/history/core/browser/history_backend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698