| OLD | NEW |
| 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 #include "chrome/browser/notifications/notification_ui_manager_android.h" | 5 #include "chrome/browser/notifications/notification_ui_manager_android.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "base/android/context_utils.h" | 9 #include "base/android/context_utils.h" |
| 10 #include "base/android/jni_array.h" | 10 #include "base/android/jni_array.h" |
| (...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 232 | 232 |
| 233 bool NotificationUIManagerAndroid::CancelAllByProfile(ProfileID profile_id) { | 233 bool NotificationUIManagerAndroid::CancelAllByProfile(ProfileID profile_id) { |
| 234 NOTREACHED(); | 234 NOTREACHED(); |
| 235 return false; | 235 return false; |
| 236 } | 236 } |
| 237 | 237 |
| 238 void NotificationUIManagerAndroid::CancelAll() { | 238 void NotificationUIManagerAndroid::CancelAll() { |
| 239 NOTREACHED(); | 239 NOTREACHED(); |
| 240 } | 240 } |
| 241 | 241 |
| 242 // TODO(miguelg) Notifications in Android are actually native |
| 243 // need to generalize this. |
| 244 bool NotificationUIManagerAndroid::AcceptNativeNotifications() { |
| 245 return false; |
| 246 } |
| 247 |
| 242 bool NotificationUIManagerAndroid::RegisterNotificationUIManager(JNIEnv* env) { | 248 bool NotificationUIManagerAndroid::RegisterNotificationUIManager(JNIEnv* env) { |
| 243 return RegisterNativesImpl(env); | 249 return RegisterNativesImpl(env); |
| 244 } | 250 } |
| OLD | NEW |