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

Unified Diff: content/public/common/push_subscription_options.h

Issue 1770763003: Revert of Partial implementation of subscription restrictions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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/public/common/push_subscription_options.h
diff --git a/content/public/common/push_subscription_options.h b/content/public/common/push_subscription_options.h
deleted file mode 100644
index 1a2da0a9e4c668cd503520cdde0373088ca2fca4..0000000000000000000000000000000000000000
--- a/content/public/common/push_subscription_options.h
+++ /dev/null
@@ -1,32 +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.
-
-#ifndef CONTENT_PUBLIC_COMMON_PUSH_SUBSCRIPTION_OPTIONS_H_
-#define CONTENT_PUBLIC_COMMON_PUSH_SUBSCRIPTION_OPTIONS_H_
-
-#include <string>
-
-#include "content/common/content_export.h"
-
-namespace content {
-
-// Structure to hold the options provided from the web app developer as
-// part of asking for a new push subscription.
-struct CONTENT_EXPORT PushSubscriptionOptions {
- PushSubscriptionOptions() {}
- ~PushSubscriptionOptions() {}
-
- // Whether or not the app developer agrees to provide user visible
- // notifications whenever they receive a push message.
- bool user_visible_only = false;
-
- // The unique identifier of the application service which is used to
- // verify the push message before delivery. This could either be an ID
- // assigned by the developer console or the app server's public key.
- std::string sender_info;
-};
-
-} // namespace content
-
-#endif // CONTENT_PUBLIC_COMMON_CONTENT_PUSH_SUBSCRIPTION_OPTIONS_H_
« no previous file with comments | « content/public/browser/push_messaging_service.h ('k') | content/renderer/push_messaging/push_messaging_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698