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

Side by Side Diff: content/browser/push_messaging_message_filter.h

Issue 637183002: Replace FINAL and OVERRIDE with their C++11 counterparts in content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased the patch 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/profiler_message_filter.h ('k') | content/browser/quota_dispatcher_host.h » ('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 10 matching lines...) Expand all
21 class PushMessagingMessageFilter : public BrowserMessageFilter { 21 class PushMessagingMessageFilter : public BrowserMessageFilter {
22 public: 22 public:
23 PushMessagingMessageFilter( 23 PushMessagingMessageFilter(
24 int render_process_id, 24 int render_process_id,
25 ServiceWorkerContextWrapper* service_worker_context); 25 ServiceWorkerContextWrapper* service_worker_context);
26 26
27 private: 27 private:
28 virtual ~PushMessagingMessageFilter(); 28 virtual ~PushMessagingMessageFilter();
29 29
30 // BrowserMessageFilter implementation. 30 // BrowserMessageFilter implementation.
31 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 31 virtual bool OnMessageReceived(const IPC::Message& message) override;
32 32
33 void OnRegister(int render_frame_id, 33 void OnRegister(int render_frame_id,
34 int callbacks_id, 34 int callbacks_id,
35 const std::string& sender_id, 35 const std::string& sender_id,
36 bool user_gesture, 36 bool user_gesture,
37 int service_worker_provider_id); 37 int service_worker_provider_id);
38 38
39 void DoRegister(int render_frame_id, 39 void DoRegister(int render_frame_id,
40 int callbacks_id, 40 int callbacks_id,
41 const std::string& sender_id, 41 const std::string& sender_id,
(...skipping 16 matching lines...) Expand all
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/profiler_message_filter.h ('k') | content/browser/quota_dispatcher_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698