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

Side by Side Diff: chrome/browser/push_messaging/push_messaging_service_impl.h

Issue 1921553003: Move permission.mojom from WebKit/public/platform/ to components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 CHROME_BROWSER_PUSH_MESSAGING_PUSH_MESSAGING_SERVICE_IMPL_H_ 5 #ifndef CHROME_BROWSER_PUSH_MESSAGING_PUSH_MESSAGING_SERVICE_IMPL_H_
6 #define CHROME_BROWSER_PUSH_MESSAGING_PUSH_MESSAGING_SERVICE_IMPL_H_ 6 #define CHROME_BROWSER_PUSH_MESSAGING_PUSH_MESSAGING_SERVICE_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 const PushMessagingAppIdentifier& app_identifier, 161 const PushMessagingAppIdentifier& app_identifier,
162 const content::PushMessagingService::RegisterCallback& callback, 162 const content::PushMessagingService::RegisterCallback& callback,
163 const std::string& subscription_id, 163 const std::string& subscription_id,
164 const std::string& p256dh, 164 const std::string& p256dh,
165 const std::string& auth_secret); 165 const std::string& auth_secret);
166 166
167 void DidRequestPermission( 167 void DidRequestPermission(
168 const PushMessagingAppIdentifier& app_identifier, 168 const PushMessagingAppIdentifier& app_identifier,
169 const content::PushSubscriptionOptions& options, 169 const content::PushSubscriptionOptions& options,
170 const content::PushMessagingService::RegisterCallback& callback, 170 const content::PushMessagingService::RegisterCallback& callback,
171 blink::mojom::PermissionStatus permission_status); 171 permission::mojom::PermissionStatus permission_status);
172 172
173 // GetEncryptionInfo method -------------------------------------------------- 173 // GetEncryptionInfo method --------------------------------------------------
174 174
175 void DidGetEncryptionInfo( 175 void DidGetEncryptionInfo(
176 const PushMessagingService::EncryptionInfoCallback& callback, 176 const PushMessagingService::EncryptionInfoCallback& callback,
177 const std::string& p256dh, 177 const std::string& p256dh,
178 const std::string& auth_secret) const; 178 const std::string& auth_secret) const;
179 179
180 // Unsubscribe methods ------------------------------------------------------- 180 // Unsubscribe methods -------------------------------------------------------
181 181
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 243
244 std::unique_ptr<PushMessagingServiceObserver> 244 std::unique_ptr<PushMessagingServiceObserver>
245 push_messaging_service_observer_; 245 push_messaging_service_observer_;
246 246
247 base::WeakPtrFactory<PushMessagingServiceImpl> weak_factory_; 247 base::WeakPtrFactory<PushMessagingServiceImpl> weak_factory_;
248 248
249 DISALLOW_COPY_AND_ASSIGN(PushMessagingServiceImpl); 249 DISALLOW_COPY_AND_ASSIGN(PushMessagingServiceImpl);
250 }; 250 };
251 251
252 #endif // CHROME_BROWSER_PUSH_MESSAGING_PUSH_MESSAGING_SERVICE_IMPL_H_ 252 #endif // CHROME_BROWSER_PUSH_MESSAGING_PUSH_MESSAGING_SERVICE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698