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

Side by Side Diff: content/public/browser/push_messaging_service.h

Issue 894683002: Mechanical change for updating the paths to Push-related Blink API files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase again Created 5 years, 10 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 #ifndef CONTENT_PUBLIC_BROWSER_PUSH_MESSAGING_SERVICE_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_PUSH_MESSAGING_SERVICE_H_
6 #define CONTENT_PUBLIC_BROWSER_PUSH_MESSAGING_SERVICE_H_ 6 #define CONTENT_PUBLIC_BROWSER_PUSH_MESSAGING_SERVICE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "content/common/content_export.h" 11 #include "content/common/content_export.h"
12 #include "content/public/common/push_messaging_status.h" 12 #include "content/public/common/push_messaging_status.h"
13 #include "third_party/WebKit/public/platform/WebPushPermissionStatus.h" 13 #include "third_party/WebKit/public/platform/modules/push_messaging/WebPushPermi ssionStatus.h"
14 #include "url/gurl.h" 14 #include "url/gurl.h"
15 15
16 namespace content { 16 namespace content {
17 17
18 class ServiceWorkerContext; 18 class ServiceWorkerContext;
19 19
20 // A push service-agnostic interface that the Push API uses for talking to 20 // A push service-agnostic interface that the Push API uses for talking to
21 // push messaging services like GCM. Must only be used on the UI thread. 21 // push messaging services like GCM. Must only be used on the UI thread.
22 class CONTENT_EXPORT PushMessagingService { 22 class CONTENT_EXPORT PushMessagingService {
23 public: 23 public:
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 // ever granted when the requesting origin matches the top level embedding 83 // ever granted when the requesting origin matches the top level embedding
84 // origin. 84 // origin.
85 virtual blink::WebPushPermissionStatus GetPermissionStatus( 85 virtual blink::WebPushPermissionStatus GetPermissionStatus(
86 const GURL& requesting_origin, 86 const GURL& requesting_origin,
87 const GURL& embedding_origin) = 0; 87 const GURL& embedding_origin) = 0;
88 }; 88 };
89 89
90 } // namespace content 90 } // namespace content
91 91
92 #endif // CONTENT_PUBLIC_BROWSER_PUSH_MESSAGING_SERVICE_H_ 92 #endif // CONTENT_PUBLIC_BROWSER_PUSH_MESSAGING_SERVICE_H_
OLDNEW
« no previous file with comments | « content/common/push_messaging_messages.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