Add a quiet notification permission request for android

This CL does the following:
Adds the ability to display a permission request via a notification
on android.
Uses this ability to show notification permission requests (gated by
feature flag).

This will enable experimenting with this particular UI, and represents
the reparo "Mobile Experimental Candidate 3": go/reparo-candidates


[email protected]

Bug: 986737
Change-Id: I32f1567814b5938edf7211d7fd1d2522af778c62
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1742168
Reviewed-by: Andy Paicu <[email protected]>
Reviewed-by: Peter Beverloo <[email protected]>
Reviewed-by: Balazs Engedy <[email protected]>
Commit-Queue: Andy Paicu <[email protected]>
Cr-Commit-Position: refs/heads/master@{#689637}
diff --git a/chrome/browser/permissions/permission_request.h b/chrome/browser/permissions/permission_request.h
index 6daa247..f996ac1 100644
--- a/chrome/browser/permissions/permission_request.h
+++ b/chrome/browser/permissions/permission_request.h
@@ -92,6 +92,16 @@
   // Returns the full prompt text for this permission. This is currently only
   // used on Android.
   virtual base::string16 GetMessageText() const = 0;
+
+  // Returns the title of this permission as text when the permission request is
+  // displayed as a quiet prompt. Only used on Android. By default it returns
+  // the same value as |GetTitleText| unless overridden.
+  virtual base::string16 GetQuietTitleText() const;
+
+  // Returns the full prompt text for this permission as text when the
+  // permission request is displayed as a quiet prompt. Only used on Android. By
+  // default it returns the same value as |GetMessageText| unless overridden.
+  virtual base::string16 GetQuietMessageText() const;
 #endif
 
   // Returns the shortened prompt text for this permission. The permission