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

Unified Diff: content/shell/browser/layout_test/layout_test_notification_manager.h

Issue 1634933006: Use NotificationResources instead of a bare SkBitmap. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix unit tests. Created 4 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: content/shell/browser/layout_test/layout_test_notification_manager.h
diff --git a/content/shell/browser/layout_test/layout_test_notification_manager.h b/content/shell/browser/layout_test/layout_test_notification_manager.h
index 143138495185a17f5c252214620915fb9537423d..8856a4b754bdeb012206529c8b4ebba0a40a2ed6 100644
--- a/content/shell/browser/layout_test/layout_test_notification_manager.h
+++ b/content/shell/browser/layout_test/layout_test_notification_manager.h
@@ -19,6 +19,7 @@
namespace content {
class DesktopNotificationDelegate;
+struct NotificationResources;
struct PlatformNotificationData;
// Responsible for tracking active notifications and allowed origins for the
@@ -44,16 +45,16 @@ class LayoutTestNotificationManager : public PlatformNotificationService {
int render_process_id) override;
void DisplayNotification(BrowserContext* browser_context,
const GURL& origin,
- const SkBitmap& icon,
const PlatformNotificationData& notification_data,
+ const NotificationResources& notification_resources,
scoped_ptr<DesktopNotificationDelegate> delegate,
base::Closure* cancel_callback) override;
void DisplayPersistentNotification(
BrowserContext* browser_context,
int64_t persistent_notification_id,
const GURL& origin,
- const SkBitmap& icon,
- const PlatformNotificationData& notification_data) override;
+ const PlatformNotificationData& notification_data,
+ const NotificationResources& notification_resources) override;
void ClosePersistentNotification(
BrowserContext* browser_context,
int64_t persistent_notification_id) override;
« no previous file with comments | « content/public/common/notification_resources.h ('k') | content/shell/browser/layout_test/layout_test_notification_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698