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

Side by Side Diff: chrome/browser/notifications/notification_ui_manager_android.cc

Issue 1127013008: Beginnings of synchronizing notifications in the notification database. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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 #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/jni_array.h" 9 #include "base/android/jni_array.h"
10 #include "base/android/jni_string.h" 10 #include "base/android/jni_string.h"
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 } 198 }
199 199
200 std::set<std::string> 200 std::set<std::string>
201 NotificationUIManagerAndroid::GetAllIdsByProfileAndSourceOrigin( 201 NotificationUIManagerAndroid::GetAllIdsByProfileAndSourceOrigin(
202 Profile* profile, 202 Profile* profile,
203 const GURL& source) { 203 const GURL& source) {
204 NOTREACHED(); 204 NOTREACHED();
205 return std::set<std::string>(); 205 return std::set<std::string>();
206 } 206 }
207 207
208 std::set<std::string> NotificationUIManagerAndroid::GetAllIdsByProfile(
209 Profile* profile) {
210 NOTREACHED();
211 return std::set<std::string>();
212 }
213
208 bool NotificationUIManagerAndroid::CancelAllBySourceOrigin( 214 bool NotificationUIManagerAndroid::CancelAllBySourceOrigin(
209 const GURL& source_origin) { 215 const GURL& source_origin) {
210 NOTREACHED(); 216 NOTREACHED();
211 return false; 217 return false;
212 } 218 }
213 219
214 bool NotificationUIManagerAndroid::CancelAllByProfile(ProfileID profile_id) { 220 bool NotificationUIManagerAndroid::CancelAllByProfile(ProfileID profile_id) {
215 NOTREACHED(); 221 NOTREACHED();
216 return false; 222 return false;
217 } 223 }
218 224
219 void NotificationUIManagerAndroid::CancelAll() { 225 void NotificationUIManagerAndroid::CancelAll() {
220 NOTREACHED(); 226 NOTREACHED();
221 } 227 }
222 228
223 bool NotificationUIManagerAndroid::RegisterNotificationUIManager(JNIEnv* env) { 229 bool NotificationUIManagerAndroid::RegisterNotificationUIManager(JNIEnv* env) {
224 return RegisterNativesImpl(env); 230 return RegisterNativesImpl(env);
225 } 231 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698