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

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

Issue 630883002: replace OVERRIDE and FINAL with override and 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_RESOLVER_RESOURCE_H_ 5 #ifndef PPAPI_PROXY_HOST_RESOLVER_RESOURCE_H_
6 #define PPAPI_PROXY_HOST_RESOLVER_RESOURCE_H_ 6 #define PPAPI_PROXY_HOST_RESOLVER_RESOURCE_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "ppapi/proxy/host_resolver_resource_base.h" 10 #include "ppapi/proxy/host_resolver_resource_base.h"
11 #include "ppapi/proxy/ppapi_proxy_export.h" 11 #include "ppapi/proxy/ppapi_proxy_export.h"
12 #include "ppapi/thunk/ppb_host_resolver_api.h" 12 #include "ppapi/thunk/ppb_host_resolver_api.h"
13 13
14 namespace ppapi { 14 namespace ppapi {
15 namespace proxy { 15 namespace proxy {
16 16
17 class PPAPI_PROXY_EXPORT HostResolverResource 17 class PPAPI_PROXY_EXPORT HostResolverResource
18 : public HostResolverResourceBase, 18 : public HostResolverResourceBase,
19 public thunk::PPB_HostResolver_API { 19 public thunk::PPB_HostResolver_API {
20 public: 20 public:
21 HostResolverResource(Connection connection, PP_Instance instance); 21 HostResolverResource(Connection connection, PP_Instance instance);
22 virtual ~HostResolverResource(); 22 virtual ~HostResolverResource();
23 23
24 // PluginResource overrides. 24 // PluginResource overrides.
25 virtual thunk::PPB_HostResolver_API* AsPPB_HostResolver_API() OVERRIDE; 25 virtual thunk::PPB_HostResolver_API* AsPPB_HostResolver_API() override;
26 26
27 // thunk::PPB_HostResolver_API implementation. 27 // thunk::PPB_HostResolver_API implementation.
28 virtual int32_t Resolve(const char* host, 28 virtual int32_t Resolve(const char* host,
29 uint16_t port, 29 uint16_t port,
30 const PP_HostResolver_Hint* hint, 30 const PP_HostResolver_Hint* hint,
31 scoped_refptr<TrackedCallback> callback) OVERRIDE; 31 scoped_refptr<TrackedCallback> callback) override;
32 virtual PP_Var GetCanonicalName() OVERRIDE; 32 virtual PP_Var GetCanonicalName() override;
33 virtual uint32_t GetNetAddressCount() OVERRIDE; 33 virtual uint32_t GetNetAddressCount() override;
34 virtual PP_Resource GetNetAddress(uint32_t index) OVERRIDE; 34 virtual PP_Resource GetNetAddress(uint32_t index) override;
35 35
36 private: 36 private:
37 DISALLOW_COPY_AND_ASSIGN(HostResolverResource); 37 DISALLOW_COPY_AND_ASSIGN(HostResolverResource);
38 }; 38 };
39 39
40 } // namespace proxy 40 } // namespace proxy
41 } // namespace ppapi 41 } // namespace ppapi
42 42
43 #endif // PPAPI_PROXY_HOST_RESOLVER_RESOURCE_H_ 43 #endif // PPAPI_PROXY_HOST_RESOLVER_RESOURCE_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/host_resolver_private_resource.h ('k') | ppapi/proxy/isolated_file_system_private_resource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698