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

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

Issue 1097393007: Update {virtual,override} to follow C++11 style in ppapi. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Split off one file into separate review. Created 5 years, 8 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/broker_dispatcher.h ('k') | ppapi/proxy/browser_font_singleton_resource.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_BROKER_RESOURCE_H_ 5 #ifndef PPAPI_PROXY_BROKER_RESOURCE_H_
6 #define PPAPI_PROXY_BROKER_RESOURCE_H_ 6 #define PPAPI_PROXY_BROKER_RESOURCE_H_
7 7
8 #include "ppapi/proxy/connection.h" 8 #include "ppapi/proxy/connection.h"
9 #include "ppapi/proxy/plugin_resource.h" 9 #include "ppapi/proxy/plugin_resource.h"
10 #include "ppapi/thunk/ppb_broker_api.h" 10 #include "ppapi/thunk/ppb_broker_api.h"
11 11
12 namespace ppapi { 12 namespace ppapi {
13 namespace proxy { 13 namespace proxy {
14 14
15 class BrokerResource 15 class BrokerResource
16 : public PluginResource, 16 : public PluginResource,
17 public thunk::PPB_Broker_Instance_API { 17 public thunk::PPB_Broker_Instance_API {
18 public: 18 public:
19 BrokerResource(Connection connection, PP_Instance instance); 19 BrokerResource(Connection connection, PP_Instance instance);
20 virtual ~BrokerResource(); 20 ~BrokerResource() override;
21 21
22 // Resource override. 22 // Resource override.
23 virtual thunk::PPB_Broker_Instance_API* AsPPB_Broker_Instance_API() override; 23 thunk::PPB_Broker_Instance_API* AsPPB_Broker_Instance_API() override;
24 24
25 // thunk::PPB_Broker_Instance_API implementation. 25 // thunk::PPB_Broker_Instance_API implementation.
26 virtual PP_Bool IsAllowed() override; 26 PP_Bool IsAllowed() override;
27 27
28 private: 28 private:
29 DISALLOW_COPY_AND_ASSIGN(BrokerResource); 29 DISALLOW_COPY_AND_ASSIGN(BrokerResource);
30 }; 30 };
31 31
32 } // namespace proxy 32 } // namespace proxy
33 } // namespace ppapi 33 } // namespace ppapi
34 34
35 #endif // PPAPI_PROXY_BROKER_RESOURCE_H_ 35 #endif // PPAPI_PROXY_BROKER_RESOURCE_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/broker_dispatcher.h ('k') | ppapi/proxy/browser_font_singleton_resource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698