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

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

Issue 1548813002: Switch to standard integer types in ppapi/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes Created 4 years, 12 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/interface_proxy.h ('k') | ppapi/proxy/locking_resource_releaser.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
11 // readonly access to CRX filesystem (i.e. extension directory), we create an 11 // readonly access to CRX filesystem (i.e. extension directory), we create an
12 // "isolated filesystem" pointing to current extension directory in browser. 12 // "isolated filesystem" pointing to current extension directory in browser.
13 // Then browser grants read permission to renderer, and tells plugin the 13 // Then browser grants read permission to renderer, and tells plugin the
14 // filesystem id, or fsid. 14 // filesystem id, or fsid.
15 // 15 //
16 // Once the plugin receives the fsid, it creates a PPB_FileSystem and forwards 16 // Once the plugin receives the fsid, it creates a PPB_FileSystem and forwards
17 // the fsid to PepperFileSystemHost in order to construct root url. 17 // the fsid to PepperFileSystemHost in order to construct root url.
18 18
19 #ifndef PPAPI_PROXY_ISOLATED_FILE_SYSTEM_PRIVATE_RESOURCE_H_ 19 #ifndef PPAPI_PROXY_ISOLATED_FILE_SYSTEM_PRIVATE_RESOURCE_H_
20 #define PPAPI_PROXY_ISOLATED_FILE_SYSTEM_PRIVATE_RESOURCE_H_ 20 #define PPAPI_PROXY_ISOLATED_FILE_SYSTEM_PRIVATE_RESOURCE_H_
21 21
22 #include <stdint.h>
23
22 #include <string> 24 #include <string>
23 25
26 #include "base/macros.h"
24 #include "base/memory/ref_counted.h" 27 #include "base/memory/ref_counted.h"
25 #include "ppapi/proxy/connection.h" 28 #include "ppapi/proxy/connection.h"
26 #include "ppapi/proxy/plugin_resource.h" 29 #include "ppapi/proxy/plugin_resource.h"
27 #include "ppapi/proxy/ppapi_proxy_export.h" 30 #include "ppapi/proxy/ppapi_proxy_export.h"
28 #include "ppapi/thunk/ppb_isolated_file_system_private_api.h" 31 #include "ppapi/thunk/ppb_isolated_file_system_private_api.h"
29 32
30 namespace ppapi { 33 namespace ppapi {
31 34
32 class TrackedCallback; 35 class TrackedCallback;
33 36
(...skipping 26 matching lines...) Expand all
60 const ResourceMessageReplyParams& params, 63 const ResourceMessageReplyParams& params,
61 const std::string& fsid); 64 const std::string& fsid);
62 65
63 DISALLOW_COPY_AND_ASSIGN(IsolatedFileSystemPrivateResource); 66 DISALLOW_COPY_AND_ASSIGN(IsolatedFileSystemPrivateResource);
64 }; 67 };
65 68
66 } // namespace proxy 69 } // namespace proxy
67 } // namespace ppapi 70 } // namespace ppapi
68 71
69 #endif // PPAPI_PROXY_ISOLATED_FILE_SYSTEM_PRIVATE_RESOURCE_H_ 72 #endif // PPAPI_PROXY_ISOLATED_FILE_SYSTEM_PRIVATE_RESOURCE_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/interface_proxy.h ('k') | ppapi/proxy/locking_resource_releaser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698