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

Side by Side Diff: content/browser/push_messaging_message_filter.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
« no previous file with comments | « content/browser/browser_context.cc ('k') | content/browser/push_messaging_message_filter.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_BROWSER_PUSH_MESSAGING_MESSAGE_FILTER_H_ 5 #ifndef CONTENT_BROWSER_PUSH_MESSAGING_MESSAGE_FILTER_H_
6 #define CONTENT_BROWSER_PUSH_MESSAGING_MESSAGE_FILTER_H_ 6 #define CONTENT_BROWSER_PUSH_MESSAGING_MESSAGE_FILTER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 29 matching lines...) Expand all
40 int callbacks_id, 40 int callbacks_id,
41 const std::string& sender_id, 41 const std::string& sender_id,
42 bool user_gesture, 42 bool user_gesture,
43 const GURL& origin, 43 const GURL& origin,
44 int64 service_worker_registration_id); 44 int64 service_worker_registration_id);
45 45
46 void DidRegister(int render_frame_id, 46 void DidRegister(int render_frame_id,
47 int callbacks_id, 47 int callbacks_id,
48 const GURL& push_endpoint, 48 const GURL& push_endpoint,
49 const std::string& push_registration_id, 49 const std::string& push_registration_id,
50 PushMessagingStatus status); 50 PushRegistrationStatus status);
51 51
52 PushMessagingService* service(); 52 PushMessagingService* service();
53 53
54 int render_process_id_; 54 int render_process_id_;
55 scoped_refptr<ServiceWorkerContextWrapper> service_worker_context_; 55 scoped_refptr<ServiceWorkerContextWrapper> service_worker_context_;
56 56
57 // Owned by the content embedder's browsing context. 57 // Owned by the content embedder's browsing context.
58 PushMessagingService* service_; 58 PushMessagingService* service_;
59 59
60 base::WeakPtrFactory<PushMessagingMessageFilter> weak_factory_; 60 base::WeakPtrFactory<PushMessagingMessageFilter> weak_factory_;
61 61
62 DISALLOW_COPY_AND_ASSIGN(PushMessagingMessageFilter); 62 DISALLOW_COPY_AND_ASSIGN(PushMessagingMessageFilter);
63 }; 63 };
64 64
65 } // namespace content 65 } // namespace content
66 66
67 #endif // CONTENT_BROWSER_PUSH_MESSAGING_MESSAGE_FILTER_H_ 67 #endif // CONTENT_BROWSER_PUSH_MESSAGING_MESSAGE_FILTER_H_
OLDNEW
« no previous file with comments | « content/browser/browser_context.cc ('k') | content/browser/push_messaging_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698