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

Side by Side Diff: content/renderer/push_messaging_dispatcher.h

Issue 658783002: Split PushMessagingStatus enum according to use case (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update comment Created 6 years, 2 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_RENDERER_PUSH_MESSAGING_DISPATCHER_H_ 5 #ifndef CONTENT_RENDERER_PUSH_MESSAGING_DISPATCHER_H_
6 #define CONTENT_RENDERER_PUSH_MESSAGING_DISPATCHER_H_ 6 #define CONTENT_RENDERER_PUSH_MESSAGING_DISPATCHER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/id_map.h" 10 #include "base/id_map.h"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 45
46 void DoRegister(const std::string& sender_id, 46 void DoRegister(const std::string& sender_id,
47 blink::WebPushRegistrationCallbacks* callbacks, 47 blink::WebPushRegistrationCallbacks* callbacks,
48 blink::WebServiceWorkerProvider* service_worker_provider, 48 blink::WebServiceWorkerProvider* service_worker_provider,
49 const Manifest& manifest); 49 const Manifest& manifest);
50 50
51 void OnRegisterSuccess(int32 callbacks_id, 51 void OnRegisterSuccess(int32 callbacks_id,
52 const GURL& endpoint, 52 const GURL& endpoint,
53 const std::string& registration_id); 53 const std::string& registration_id);
54 54
55 void OnRegisterError(int32 callbacks_id, PushMessagingStatus status); 55 void OnRegisterError(int32 callbacks_id, PushRegistrationStatus status);
56 56
57 IDMap<blink::WebPushRegistrationCallbacks, IDMapOwnPointer> 57 IDMap<blink::WebPushRegistrationCallbacks, IDMapOwnPointer>
58 registration_callbacks_; 58 registration_callbacks_;
59 59
60 DISALLOW_COPY_AND_ASSIGN(PushMessagingDispatcher); 60 DISALLOW_COPY_AND_ASSIGN(PushMessagingDispatcher);
61 }; 61 };
62 62
63 } // namespace content 63 } // namespace content
64 64
65 #endif // CONTENT_RENDERER_PUSH_MESSAGING_DISPATCHER_H_ 65 #endif // CONTENT_RENDERER_PUSH_MESSAGING_DISPATCHER_H_
OLDNEW
« no previous file with comments | « content/public/common/push_messaging_status.cc ('k') | content/renderer/push_messaging_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698