| 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 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 262 | 262 |
| 263 bool NotificationUIManagerAndroid::CancelAllByProfile(ProfileID profile_id) { | 263 bool NotificationUIManagerAndroid::CancelAllByProfile(ProfileID profile_id) { |
| 264 NOTREACHED(); | 264 NOTREACHED(); |
| 265 return false; | 265 return false; |
| 266 } | 266 } |
| 267 | 267 |
| 268 void NotificationUIManagerAndroid::CancelAll() { | 268 void NotificationUIManagerAndroid::CancelAll() { |
| 269 NOTREACHED(); | 269 NOTREACHED(); |
| 270 } | 270 } |
| 271 | 271 |
| 272 // TODO(miguelg) Notifications in Android are actually native |
| 273 // need to generalize this. |
| 274 bool NotificationUIManagerAndroid::AcceptNativeNotifications() { |
| 275 return false; |
| 276 } |
| 277 |
| 272 bool NotificationUIManagerAndroid::RegisterNotificationUIManager(JNIEnv* env) { | 278 bool NotificationUIManagerAndroid::RegisterNotificationUIManager(JNIEnv* env) { |
| 273 return RegisterNativesImpl(env); | 279 return RegisterNativesImpl(env); |
| 274 } | 280 } |
| OLD | NEW |