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

Unified Diff: chrome/browser/ui/webui/ntp/ntp_resource_cache_android.cc

Issue 11348165: Remove PrefObserver usages, batch 10. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix android Created 8 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/webui/ntp/ntp_resource_cache_android.cc
diff --git a/chrome/browser/ui/webui/ntp/ntp_resource_cache_android.cc b/chrome/browser/ui/webui/ntp/ntp_resource_cache_android.cc
index 23f9a99a9e6fb2c108cd40644afd3c5d3ef13373..30277f3ebc1c2f7227843c4d56f61f010ca49bb6 100644
--- a/chrome/browser/ui/webui/ntp/ntp_resource_cache_android.cc
+++ b/chrome/browser/ui/webui/ntp/ntp_resource_cache_android.cc
@@ -50,13 +50,12 @@ base::RefCountedMemory* NTPResourceCache::GetNewTabCSS(bool is_incognito) {
}
void NTPResourceCache::Observe(int type,
- const content::NotificationSource& source,
- const content::NotificationDetails& details) {
+ const content::NotificationSource& source,
+ const content::NotificationDetails& details) {
// No notifications necessary in Android.
}
-void NTPResourceCache::OnPreferenceChanged(PrefServiceBase* service,
- const std::string& pref_name) {
+void NTPResourceCache::OnPreferenceChanged() {
// No notifications necessary in Android.
}

Powered by Google App Engine
This is Rietveld 408576698