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

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

Issue 631733002: Replacing the OVERRIDE with override and FINAL with 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
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_HOST_DISPATCHER_H_ 5 #ifndef PPAPI_PROXY_HOST_DISPATCHER_H_
6 #define PPAPI_PROXY_HOST_DISPATCHER_H_ 6 #define PPAPI_PROXY_HOST_DISPATCHER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 // 78 //
79 // Use this value instead of a value from the plugin whenever talking to the 79 // Use this value instead of a value from the plugin whenever talking to the
80 // host. 80 // host.
81 PP_Module pp_module() const { return pp_module_; } 81 PP_Module pp_module() const { return pp_module_; }
82 82
83 // Dispatcher overrides. 83 // Dispatcher overrides.
84 virtual bool IsPlugin() const; 84 virtual bool IsPlugin() const;
85 virtual bool Send(IPC::Message* msg); 85 virtual bool Send(IPC::Message* msg);
86 86
87 // IPC::Listener. 87 // IPC::Listener.
88 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; 88 virtual bool OnMessageReceived(const IPC::Message& msg) override;
89 virtual void OnChannelError() OVERRIDE; 89 virtual void OnChannelError() override;
90 90
91 // Proxied version of calling GetInterface on the plugin. This will check 91 // Proxied version of calling GetInterface on the plugin. This will check
92 // if the plugin supports the given interface (with caching) and returns the 92 // if the plugin supports the given interface (with caching) and returns the
93 // pointer to the proxied interface if it is supported. Returns NULL if the 93 // pointer to the proxied interface if it is supported. Returns NULL if the
94 // given interface isn't supported by the plugin or the proxy. 94 // given interface isn't supported by the plugin or the proxy.
95 const void* GetProxiedInterface(const std::string& iface_name); 95 const void* GetProxiedInterface(const std::string& iface_name);
96 96
97 // See the value below. Call this when processing a scripting message from 97 // See the value below. Call this when processing a scripting message from
98 // the plugin that can be reentered. This is set to false at the beginning 98 // the plugin that can be reentered. This is set to false at the beginning
99 // of processing of each message from the plugin. 99 // of processing of each message from the plugin.
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 private: 164 private:
165 HostDispatcher* dispatcher_; 165 HostDispatcher* dispatcher_;
166 166
167 DISALLOW_COPY_AND_ASSIGN(ScopedModuleReference); 167 DISALLOW_COPY_AND_ASSIGN(ScopedModuleReference);
168 }; 168 };
169 169
170 } // namespace proxy 170 } // namespace proxy
171 } // namespace ppapi 171 } // namespace ppapi
172 172
173 #endif // PPAPI_PROXY_HOST_DISPATCHER_H_ 173 #endif // PPAPI_PROXY_HOST_DISPATCHER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698