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

Side by Side Diff: remoting/client/plugin/pepper_plugin_thread_delegate.h

Issue 667123002: Standardize usage of virtual/override/final in remoting/ (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 REMOTING_CLIENT_PLUGIN_PEPPER_PLUGIN_THREAD_DELEGATE_H_ 5 #ifndef REMOTING_CLIENT_PLUGIN_PEPPER_PLUGIN_THREAD_DELEGATE_H_
6 #define REMOTING_CLIENT_PLUGIN_PEPPER_PLUGIN_THREAD_DELEGATE_H_ 6 #define REMOTING_CLIENT_PLUGIN_PEPPER_PLUGIN_THREAD_DELEGATE_H_
7 7
8 #include "remoting/base/plugin_thread_task_runner.h" 8 #include "remoting/base/plugin_thread_task_runner.h"
9 9
10 namespace pp { 10 namespace pp {
11 class Core; 11 class Core;
12 } // namespace pp 12 } // namespace pp
13 13
14 namespace remoting { 14 namespace remoting {
15 15
16 class PepperPluginThreadDelegate : public PluginThreadTaskRunner::Delegate { 16 class PepperPluginThreadDelegate : public PluginThreadTaskRunner::Delegate {
17 public: 17 public:
18 PepperPluginThreadDelegate(); 18 PepperPluginThreadDelegate();
19 virtual ~PepperPluginThreadDelegate(); 19 ~PepperPluginThreadDelegate() override;
20 20
21 virtual bool RunOnPluginThread( 21 bool RunOnPluginThread(base::TimeDelta delay,
22 base::TimeDelta delay, void(CDECL function)(void*), void* data) override; 22 void(CDECL function)(void*),
23 void* data) override;
23 24
24 private: 25 private:
25 pp::Core* core_; 26 pp::Core* core_;
26 }; 27 };
27 28
28 } // namespace remoting 29 } // namespace remoting
29 30
30 #endif // REMOTING_CLIENT_PLUGIN_PEPPER_PLUGIN_THREAD_DELEGATE_H_ 31 #endif // REMOTING_CLIENT_PLUGIN_PEPPER_PLUGIN_THREAD_DELEGATE_H_
OLDNEW
« no previous file with comments | « remoting/client/plugin/pepper_packet_socket_factory.cc ('k') | remoting/client/plugin/pepper_port_allocator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698