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

Side by Side Diff: content/ppapi_plugin/broker_process_dispatcher.h

Issue 636493002: Replace OVERRIDE and FINAL with override and final in content/ppapi_plugin/[a-s]* (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 | « no previous file | content/ppapi_plugin/ppapi_thread.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 CONTENT_PPAPI_PLUGIN_BROKER_PROCESS_DISPATCHER_H_ 5 #ifndef CONTENT_PPAPI_PLUGIN_BROKER_PROCESS_DISPATCHER_H_
6 #define CONTENT_PPAPI_PLUGIN_BROKER_PROCESS_DISPATCHER_H_ 6 #define CONTENT_PPAPI_PLUGIN_BROKER_PROCESS_DISPATCHER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "content/child/scoped_child_process_reference.h" 10 #include "content/child/scoped_child_process_reference.h"
11 #include "ppapi/c/ppp.h" 11 #include "ppapi/c/ppp.h"
12 #include "ppapi/proxy/broker_dispatcher.h" 12 #include "ppapi/proxy/broker_dispatcher.h"
13 #include "ppapi/shared_impl/ppp_flash_browser_operations_shared.h" 13 #include "ppapi/shared_impl/ppp_flash_browser_operations_shared.h"
14 14
15 namespace content { 15 namespace content {
16 16
17 // Wrapper around a BrokerDispatcher that provides the necessary integration 17 // Wrapper around a BrokerDispatcher that provides the necessary integration
18 // for plugin process management. This class is to avoid direct dependencies 18 // for plugin process management. This class is to avoid direct dependencies
19 // from the PPAPI proxy on the Chrome multiprocess infrastructure. 19 // from the PPAPI proxy on the Chrome multiprocess infrastructure.
20 class BrokerProcessDispatcher 20 class BrokerProcessDispatcher
21 : public ppapi::proxy::BrokerSideDispatcher, 21 : public ppapi::proxy::BrokerSideDispatcher,
22 public base::SupportsWeakPtr<BrokerProcessDispatcher> { 22 public base::SupportsWeakPtr<BrokerProcessDispatcher> {
23 public: 23 public:
24 BrokerProcessDispatcher(PP_GetInterface_Func get_plugin_interface, 24 BrokerProcessDispatcher(PP_GetInterface_Func get_plugin_interface,
25 PP_ConnectInstance_Func connect_instance); 25 PP_ConnectInstance_Func connect_instance);
26 virtual ~BrokerProcessDispatcher(); 26 virtual ~BrokerProcessDispatcher();
27 27
28 // IPC::Listener overrides. 28 // IPC::Listener overrides.
29 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; 29 virtual bool OnMessageReceived(const IPC::Message& msg) override;
30 30
31 void OnGetPermissionSettingsCompleted( 31 void OnGetPermissionSettingsCompleted(
32 uint32 request_id, 32 uint32 request_id,
33 bool success, 33 bool success,
34 PP_Flash_BrowserOperations_Permission default_permission, 34 PP_Flash_BrowserOperations_Permission default_permission,
35 const ppapi::FlashSiteSettings& sites); 35 const ppapi::FlashSiteSettings& sites);
36 36
37 private: 37 private:
38 void OnGetSitesWithData(uint32 request_id, 38 void OnGetSitesWithData(uint32 request_id,
39 const base::FilePath& plugin_data_path); 39 const base::FilePath& plugin_data_path);
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 const PPP_Flash_BrowserOperations_1_3* flash_browser_operations_1_3_; 86 const PPP_Flash_BrowserOperations_1_3* flash_browser_operations_1_3_;
87 const PPP_Flash_BrowserOperations_1_2* flash_browser_operations_1_2_; 87 const PPP_Flash_BrowserOperations_1_2* flash_browser_operations_1_2_;
88 const PPP_Flash_BrowserOperations_1_0* flash_browser_operations_1_0_; 88 const PPP_Flash_BrowserOperations_1_0* flash_browser_operations_1_0_;
89 89
90 DISALLOW_COPY_AND_ASSIGN(BrokerProcessDispatcher); 90 DISALLOW_COPY_AND_ASSIGN(BrokerProcessDispatcher);
91 }; 91 };
92 92
93 } // namespace content 93 } // namespace content
94 94
95 #endif // CONTENT_PPAPI_PLUGIN_BROKER_PROCESS_DISPATCHER_H_ 95 #endif // CONTENT_PPAPI_PLUGIN_BROKER_PROCESS_DISPATCHER_H_
OLDNEW
« no previous file with comments | « no previous file | content/ppapi_plugin/ppapi_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698