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

Side by Side Diff: ppapi/proxy/plugin_resource_callback.h

Issue 630883002: replace OVERRIDE and FINAL with override and final in ppapi/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « ppapi/proxy/plugin_resource.h ('k') | ppapi/proxy/plugin_resource_tracker.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 PPAPI_PROXY_PLUGIN_RESOURCE_CALLBACK_H_ 5 #ifndef PPAPI_PROXY_PLUGIN_RESOURCE_CALLBACK_H_
6 #define PPAPI_PROXY_PLUGIN_RESOURCE_CALLBACK_H_ 6 #define PPAPI_PROXY_PLUGIN_RESOURCE_CALLBACK_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "ipc/ipc_message.h" 9 #include "ipc/ipc_message.h"
10 #include "ppapi/proxy/dispatch_reply_message.h" 10 #include "ppapi/proxy/dispatch_reply_message.h"
(...skipping 17 matching lines...) Expand all
28 }; 28 };
29 29
30 template<typename MsgClass, typename CallbackType> 30 template<typename MsgClass, typename CallbackType>
31 class PluginResourceCallback : public PluginResourceCallbackBase { 31 class PluginResourceCallback : public PluginResourceCallbackBase {
32 public: 32 public:
33 explicit PluginResourceCallback(const CallbackType& callback) 33 explicit PluginResourceCallback(const CallbackType& callback)
34 : callback_(callback) {} 34 : callback_(callback) {}
35 35
36 virtual void Run( 36 virtual void Run(
37 const ResourceMessageReplyParams& reply_params, 37 const ResourceMessageReplyParams& reply_params,
38 const IPC::Message& msg) OVERRIDE { 38 const IPC::Message& msg) override {
39 DispatchResourceReplyOrDefaultParams<MsgClass>( 39 DispatchResourceReplyOrDefaultParams<MsgClass>(
40 &callback_, &CallbackType::Run, reply_params, msg); 40 &callback_, &CallbackType::Run, reply_params, msg);
41 } 41 }
42 42
43 private: 43 private:
44 virtual ~PluginResourceCallback() {} 44 virtual ~PluginResourceCallback() {}
45 45
46 CallbackType callback_; 46 CallbackType callback_;
47 }; 47 };
48 48
49 } // namespace proxy 49 } // namespace proxy
50 } // namespace ppapi 50 } // namespace ppapi
51 51
52 #endif // PPAPI_PROXY_PLUGIN_RESOURCE_CALLBACK_H_ 52 #endif // PPAPI_PROXY_PLUGIN_RESOURCE_CALLBACK_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/plugin_resource.h ('k') | ppapi/proxy/plugin_resource_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698