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

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

Issue 2906883003: Deprecate per notification type delegates. (Closed)
Patch Set: review Created 3 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 #include "chrome/browser/notifications/notification_platform_bridge_android.h" 5 #include "chrome/browser/notifications/notification_platform_bridge_android.h"
6 6
7 #include <utility> 7 #include <utility>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/android/jni_array.h" 10 #include "base/android/jni_array.h"
11 #include "base/android/jni_string.h" 11 #include "base/android/jni_string.h"
12 #include "base/command_line.h" 12 #include "base/command_line.h"
13 #include "base/files/file_path.h" 13 #include "base/files/file_path.h"
14 #include "base/logging.h" 14 #include "base/logging.h"
15 #include "base/strings/nullable_string16.h" 15 #include "base/strings/nullable_string16.h"
16 #include "base/strings/utf_string_conversions.h" 16 #include "base/strings/utf_string_conversions.h"
17 #include "chrome/browser/browser_process.h" 17 #include "chrome/browser/browser_process.h"
18 #include "chrome/browser/notifications/notification.h" 18 #include "chrome/browser/notifications/notification.h"
19 #include "chrome/browser/notifications/notification_common.h" 19 #include "chrome/browser/notifications/notification_common.h"
20 #include "chrome/browser/notifications/notification_display_service.h" 20 #include "chrome/browser/notifications/notification_display_service.h"
21 #include "chrome/browser/notifications/notification_display_service_factory.h" 21 #include "chrome/browser/notifications/notification_display_service_factory.h"
22 #include "chrome/browser/notifications/persistent_notification_delegate.h"
23 #include "chrome/browser/notifications/platform_notification_service_impl.h" 22 #include "chrome/browser/notifications/platform_notification_service_impl.h"
24 #include "chrome/browser/profiles/profile_manager.h" 23 #include "chrome/browser/profiles/profile_manager.h"
25 #include "chrome/common/chrome_switches.h" 24 #include "chrome/common/chrome_switches.h"
26 #include "chrome/common/pref_names.h" 25 #include "chrome/common/pref_names.h"
27 #include "components/pref_registry/pref_registry_syncable.h" 26 #include "components/pref_registry/pref_registry_syncable.h"
28 #include "content/public/browser/browser_thread.h" 27 #include "content/public/browser/browser_thread.h"
29 #include "content/public/common/persistent_notification_status.h" 28 #include "content/public/common/persistent_notification_status.h"
30 #include "content/public/common/platform_notification_data.h" 29 #include "content/public/common/platform_notification_data.h"
31 #include "jni/ActionInfo_jni.h" 30 #include "jni/ActionInfo_jni.h"
32 #include "jni/NotificationPlatformBridge_jni.h" 31 #include "jni/NotificationPlatformBridge_jni.h"
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 RegeneratedNotificationInfo() {} 343 RegeneratedNotificationInfo() {}
345 344
346 NotificationPlatformBridgeAndroid::RegeneratedNotificationInfo:: 345 NotificationPlatformBridgeAndroid::RegeneratedNotificationInfo::
347 RegeneratedNotificationInfo(const std::string& origin, 346 RegeneratedNotificationInfo(const std::string& origin,
348 const std::string& tag, 347 const std::string& tag,
349 const std::string& webapk_package) 348 const std::string& webapk_package)
350 : origin(origin), tag(tag), webapk_package(webapk_package) {} 349 : origin(origin), tag(tag), webapk_package(webapk_package) {}
351 350
352 NotificationPlatformBridgeAndroid::RegeneratedNotificationInfo:: 351 NotificationPlatformBridgeAndroid::RegeneratedNotificationInfo::
353 ~RegeneratedNotificationInfo() {} 352 ~RegeneratedNotificationInfo() {}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698