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

Side by Side Diff: ppapi/shared_impl/ppb_device_ref_shared.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/shared_impl/ppb_audio_config_shared.h ('k') | ppapi/shared_impl/ppb_graphics_3d_shared.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_SHARED_IMPL_PPB_DEVICE_REF_SHARED_H_ 5 #ifndef PPAPI_SHARED_IMPL_PPB_DEVICE_REF_SHARED_H_
6 #define PPAPI_SHARED_IMPL_PPB_DEVICE_REF_SHARED_H_ 6 #define PPAPI_SHARED_IMPL_PPB_DEVICE_REF_SHARED_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 20 matching lines...) Expand all
31 31
32 class PPAPI_SHARED_EXPORT PPB_DeviceRef_Shared 32 class PPAPI_SHARED_EXPORT PPB_DeviceRef_Shared
33 : public Resource, 33 : public Resource,
34 public thunk::PPB_DeviceRef_API { 34 public thunk::PPB_DeviceRef_API {
35 public: 35 public:
36 PPB_DeviceRef_Shared(ResourceObjectType type, 36 PPB_DeviceRef_Shared(ResourceObjectType type,
37 PP_Instance instance, 37 PP_Instance instance,
38 const DeviceRefData& data); 38 const DeviceRefData& data);
39 39
40 // Resource overrides. 40 // Resource overrides.
41 virtual PPB_DeviceRef_API* AsPPB_DeviceRef_API() override; 41 PPB_DeviceRef_API* AsPPB_DeviceRef_API() override;
42 42
43 // PPB_DeviceRef_API implementation. 43 // PPB_DeviceRef_API implementation.
44 virtual const DeviceRefData& GetDeviceRefData() const override; 44 const DeviceRefData& GetDeviceRefData() const override;
45 virtual PP_DeviceType_Dev GetType() override; 45 PP_DeviceType_Dev GetType() override;
46 virtual PP_Var GetName() override; 46 PP_Var GetName() override;
47 47
48 private: 48 private:
49 DeviceRefData data_; 49 DeviceRefData data_;
50 50
51 DISALLOW_IMPLICIT_CONSTRUCTORS(PPB_DeviceRef_Shared); 51 DISALLOW_IMPLICIT_CONSTRUCTORS(PPB_DeviceRef_Shared);
52 }; 52 };
53 53
54 } // namespace ppapi 54 } // namespace ppapi
55 55
56 #endif // PPAPI_SHARED_IMPL_PPB_DEVICE_REF_SHARED_H_ 56 #endif // PPAPI_SHARED_IMPL_PPB_DEVICE_REF_SHARED_H_
OLDNEW
« no previous file with comments | « ppapi/shared_impl/ppb_audio_config_shared.h ('k') | ppapi/shared_impl/ppb_graphics_3d_shared.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698