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

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

Issue 1162943002: Replace more ObserverList with base::ObserverList. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@observer
Patch Set: Created 5 years, 6 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 <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
(...skipping 804 matching lines...) Expand 10 before | Expand all | Expand 10 after
815 scoped_ptr<HistoryBackendHelper> supports_user_data_helper_; 815 scoped_ptr<HistoryBackendHelper> supports_user_data_helper_;
816 816
817 // Used to manage syncing of the typed urls datatype. This will be null before 817 // Used to manage syncing of the typed urls datatype. This will be null before
818 // Init is called. 818 // Init is called.
819 scoped_ptr<TypedUrlSyncableService> typed_url_syncable_service_; 819 scoped_ptr<TypedUrlSyncableService> typed_url_syncable_service_;
820 820
821 // Listens for the system being under memory pressure. 821 // Listens for the system being under memory pressure.
822 scoped_ptr<base::MemoryPressureListener> memory_pressure_listener_; 822 scoped_ptr<base::MemoryPressureListener> memory_pressure_listener_;
823 823
824 // List of observers 824 // List of observers
825 ObserverList<HistoryBackendObserver> observers_; 825 base::ObserverList<HistoryBackendObserver> observers_;
826 826
827 DISALLOW_COPY_AND_ASSIGN(HistoryBackend); 827 DISALLOW_COPY_AND_ASSIGN(HistoryBackend);
828 }; 828 };
829 829
830 } // namespace history 830 } // namespace history
831 831
832 #endif // COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_BACKEND_H_ 832 #endif // COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_BACKEND_H_
OLDNEW
« no previous file with comments | « components/gcm_driver/gcm_driver_desktop.h ('k') | components/history/core/browser/history_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698