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

Side by Side Diff: ppapi/proxy/isolated_file_system_private_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/host_resolver_resource.h ('k') | ppapi/proxy/media_stream_audio_track_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 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 // CRX filesystem is a filesystem that allows an extension to read its own 5 // CRX filesystem is a filesystem that allows an extension to read its own
6 // package directory tree. See ppapi/examples/crxfs for example. 6 // package directory tree. See ppapi/examples/crxfs for example.
7 // 7 //
8 // IMPLEMENTATION 8 // IMPLEMENTATION
9 // 9 //
10 // The implementation involves both browser and renderer. In order to provide 10 // The implementation involves both browser and renderer. In order to provide
(...skipping 23 matching lines...) Expand all
34 namespace proxy { 34 namespace proxy {
35 35
36 class ResourceMessageReplyParams; 36 class ResourceMessageReplyParams;
37 37
38 class PPAPI_PROXY_EXPORT IsolatedFileSystemPrivateResource 38 class PPAPI_PROXY_EXPORT IsolatedFileSystemPrivateResource
39 : public PluginResource, 39 : public PluginResource,
40 public thunk::PPB_IsolatedFileSystem_Private_API { 40 public thunk::PPB_IsolatedFileSystem_Private_API {
41 public: 41 public:
42 IsolatedFileSystemPrivateResource( 42 IsolatedFileSystemPrivateResource(
43 Connection connection, PP_Instance instance); 43 Connection connection, PP_Instance instance);
44 virtual ~IsolatedFileSystemPrivateResource(); 44 ~IsolatedFileSystemPrivateResource() override;
45 45
46 // Resource overrides. 46 // Resource overrides.
47 virtual thunk::PPB_IsolatedFileSystem_Private_API* 47 thunk::PPB_IsolatedFileSystem_Private_API*
48 AsPPB_IsolatedFileSystem_Private_API() override; 48 AsPPB_IsolatedFileSystem_Private_API() override;
49 49
50 // PPB_IsolatedFileSystem_Private_API implementation. 50 // PPB_IsolatedFileSystem_Private_API implementation.
51 virtual int32_t Open(PP_Instance instance, 51 int32_t Open(PP_Instance instance,
52 PP_IsolatedFileSystemType_Private type, 52 PP_IsolatedFileSystemType_Private type,
53 PP_Resource* file_system_resource, 53 PP_Resource* file_system_resource,
54 scoped_refptr<TrackedCallback> callback) override; 54 scoped_refptr<TrackedCallback> callback) override;
55 55
56 private: 56 private:
57 void OnBrowserOpenComplete(PP_IsolatedFileSystemType_Private type, 57 void OnBrowserOpenComplete(PP_IsolatedFileSystemType_Private type,
58 PP_Resource* file_system_resource, 58 PP_Resource* file_system_resource,
59 scoped_refptr<TrackedCallback> callback, 59 scoped_refptr<TrackedCallback> callback,
60 const ResourceMessageReplyParams& params, 60 const ResourceMessageReplyParams& params,
61 const std::string& fsid); 61 const std::string& fsid);
62 62
63 DISALLOW_COPY_AND_ASSIGN(IsolatedFileSystemPrivateResource); 63 DISALLOW_COPY_AND_ASSIGN(IsolatedFileSystemPrivateResource);
64 }; 64 };
65 65
66 } // namespace proxy 66 } // namespace proxy
67 } // namespace ppapi 67 } // namespace ppapi
68 68
69 #endif // PPAPI_PROXY_ISOLATED_FILE_SYSTEM_PRIVATE_RESOURCE_H_ 69 #endif // PPAPI_PROXY_ISOLATED_FILE_SYSTEM_PRIVATE_RESOURCE_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/host_resolver_resource.h ('k') | ppapi/proxy/media_stream_audio_track_resource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698