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

Unified Diff: web_apks/minting_example/libs/client/org/chromium/minting/lib/client/NotificationBuilderDelegate.java

Issue 1945303005: Change webapk packages and directory structure (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 side-by-side diff with in-line comments
Download patch
Index: web_apks/minting_example/libs/client/org/chromium/minting/lib/client/NotificationBuilderDelegate.java
diff --git a/web_apks/minting_example/libs/client/org/chromium/minting/lib/client/NotificationBuilderDelegate.java b/web_apks/minting_example/libs/client/org/chromium/minting/lib/client/NotificationBuilderDelegate.java
deleted file mode 100644
index fdfe7181d7721038ea0d0380fe5e526453f8de2e..0000000000000000000000000000000000000000
--- a/web_apks/minting_example/libs/client/org/chromium/minting/lib/client/NotificationBuilderDelegate.java
+++ /dev/null
@@ -1,43 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-package org.chromium.minting.lib.client;
-
-import android.app.Notification;
-import android.app.PendingIntent;
-import android.graphics.Bitmap;
-
-/**
- * An interface for setting PendingIntents when building a notification.
- */
-public interface NotificationBuilderDelegate {
- /**
- * Sets the PendingIntent to send when the notification is clicked.
- */
- NotificationBuilderDelegate setContentIntent(PendingIntent intent);
-
- /**
- * Sets the PendingIntent to send when the notification is cleared by the user directly from
- * the notification panel.
- */
- NotificationBuilderDelegate setDeleteIntent(PendingIntent intent);
-
- /**
- * Adds an action to the notification. Actions are typically displayed as a button adjacent to
- * the notification content.
- */
- NotificationBuilderDelegate addAction(Bitmap iconBitmap, CharSequence title,
- PendingIntent intent);
-
- /**
- * Sets small icon id for displaying a notification.
- */
- NotificationBuilderDelegate setSmallIcon(int icon);
-
- /**
- * Combines all of the options that have been set and returns a new Notification object.
- */
- Notification build();
-
-}

Powered by Google App Engine
This is Rietveld 408576698