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

Side by Side Diff: components/dom_distiller/core/dom_distiller_store.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_DOM_DISTILLER_CORE_DOM_DISTILLER_STORE_H_ 5 #ifndef COMPONENTS_DOM_DISTILLER_CORE_DOM_DISTILLER_STORE_H_
6 #define COMPONENTS_DOM_DISTILLER_CORE_DOM_DISTILLER_STORE_H_ 6 #define COMPONENTS_DOM_DISTILLER_CORE_DOM_DISTILLER_STORE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 syncer::SyncChangeList* changes_applied, 193 syncer::SyncChangeList* changes_applied,
194 syncer::SyncChangeList* changes_missing); 194 syncer::SyncChangeList* changes_missing);
195 195
196 void NotifyObservers(const syncer::SyncChangeList& changes); 196 void NotifyObservers(const syncer::SyncChangeList& changes);
197 197
198 scoped_ptr<syncer::SyncChangeProcessor> sync_processor_; 198 scoped_ptr<syncer::SyncChangeProcessor> sync_processor_;
199 scoped_ptr<syncer::SyncErrorFactory> error_factory_; 199 scoped_ptr<syncer::SyncErrorFactory> error_factory_;
200 scoped_ptr<leveldb_proto::ProtoDatabase<ArticleEntry> > database_; 200 scoped_ptr<leveldb_proto::ProtoDatabase<ArticleEntry> > database_;
201 bool database_loaded_; 201 bool database_loaded_;
202 scoped_ptr<syncer::AttachmentStore> attachment_store_; 202 scoped_ptr<syncer::AttachmentStore> attachment_store_;
203 ObserverList<DomDistillerObserver> observers_; 203 base::ObserverList<DomDistillerObserver> observers_;
204 204
205 DomDistillerModel model_; 205 DomDistillerModel model_;
206 206
207 base::WeakPtrFactory<DomDistillerStore> weak_ptr_factory_; 207 base::WeakPtrFactory<DomDistillerStore> weak_ptr_factory_;
208 208
209 DISALLOW_COPY_AND_ASSIGN(DomDistillerStore); 209 DISALLOW_COPY_AND_ASSIGN(DomDistillerStore);
210 }; 210 };
211 211
212 } // namespace dom_distiller 212 } // namespace dom_distiller
213 213
214 #endif // COMPONENTS_DOM_DISTILLER_CORE_DOM_DISTILLER_STORE_H_ 214 #endif // COMPONENTS_DOM_DISTILLER_CORE_DOM_DISTILLER_STORE_H_
OLDNEW
« no previous file with comments | « components/dom_distiller/core/distilled_page_prefs.h ('k') | components/enhanced_bookmarks/bookmark_server_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698