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

Side by Side Diff: components/favicon/core/favicon_driver.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_FAVICON_CORE_FAVICON_DRIVER_H_ 5 #ifndef COMPONENTS_FAVICON_CORE_FAVICON_DRIVER_H_
6 #define COMPONENTS_FAVICON_CORE_FAVICON_DRIVER_H_ 6 #define COMPONENTS_FAVICON_CORE_FAVICON_DRIVER_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/observer_list.h" 9 #include "base/observer_list.h"
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 // Informs FaviconDriverObservers that favicon |image| has been retrieved from 108 // Informs FaviconDriverObservers that favicon |image| has been retrieved from
109 // either website or cached storage. 109 // either website or cached storage.
110 void NotifyFaviconAvailable(const gfx::Image& image); 110 void NotifyFaviconAvailable(const gfx::Image& image);
111 111
112 // Informs FaviconDriverObservers that favicon has changed for the current 112 // Informs FaviconDriverObservers that favicon has changed for the current
113 // page. |icon_url_changed| is true if the favicon URL has also changed since 113 // page. |icon_url_changed| is true if the favicon URL has also changed since
114 // the last call. 114 // the last call.
115 virtual void NotifyFaviconUpdated(bool icon_url_changed); 115 virtual void NotifyFaviconUpdated(bool icon_url_changed);
116 116
117 private: 117 private:
118 ObserverList<FaviconDriverObserver> observer_list_; 118 base::ObserverList<FaviconDriverObserver> observer_list_;
119 119
120 DISALLOW_COPY_AND_ASSIGN(FaviconDriver); 120 DISALLOW_COPY_AND_ASSIGN(FaviconDriver);
121 }; 121 };
122 122
123 } // namespace favicon 123 } // namespace favicon
124 124
125 #endif // COMPONENTS_FAVICON_CORE_FAVICON_DRIVER_H_ 125 #endif // COMPONENTS_FAVICON_CORE_FAVICON_DRIVER_H_
OLDNEW
« no previous file with comments | « components/enhanced_bookmarks/enhanced_bookmark_model.h ('k') | components/gcm_driver/gcm_driver_desktop.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698