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

Side by Side Diff: content/shell/browser/layout_test/layout_test_push_messaging_service.h

Issue 1851423003: Make Web Push use InstanceID tokens instead of GCM registrations (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@iid4default
Patch Set: Address review comments, and rewrite following rebase (e.g. no longer depends on NestedMessagePumpA… Created 4 years, 8 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_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_PUSH_MESSAGING_SERVICE_H_ 5 #ifndef CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_PUSH_MESSAGING_SERVICE_H_
6 #define CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_PUSH_MESSAGING_SERVICE_H_ 6 #define CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_PUSH_MESSAGING_SERVICE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 30 matching lines...) Expand all
41 void GetEncryptionInfo( 41 void GetEncryptionInfo(
42 const GURL& origin, 42 const GURL& origin,
43 int64_t service_worker_registration_id, 43 int64_t service_worker_registration_id,
44 const PushMessagingService::EncryptionInfoCallback& callback) override; 44 const PushMessagingService::EncryptionInfoCallback& callback) override;
45 blink::WebPushPermissionStatus GetPermissionStatus(const GURL& origin, 45 blink::WebPushPermissionStatus GetPermissionStatus(const GURL& origin,
46 bool user_visible) 46 bool user_visible)
47 override; 47 override;
48 bool SupportNonVisibleMessages() override; 48 bool SupportNonVisibleMessages() override;
49 void Unsubscribe(const GURL& requesting_origin, 49 void Unsubscribe(const GURL& requesting_origin,
50 int64_t service_worker_registration_id, 50 int64_t service_worker_registration_id,
51 const std::string& sender_id,
52 const UnregisterCallback& callback) override; 51 const UnregisterCallback& callback) override;
53 52
54 private: 53 private:
55 DISALLOW_COPY_AND_ASSIGN(LayoutTestPushMessagingService); 54 DISALLOW_COPY_AND_ASSIGN(LayoutTestPushMessagingService);
56 }; 55 };
57 56
58 } // namespace content 57 } // namespace content
59 58
60 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_PUSH_MESSAGING_SERVICE_ H_ 59 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_PUSH_MESSAGING_SERVICE_ H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698