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

Side by Side Diff: ppapi/shared_impl/file_system_util.h

Issue 424213006: Extract PepperFileSystemTypeToFileSystemType() from ppapi. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: looks like CONTENT_EXPORT is not needed? Created 6 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « ppapi/shared_impl/DEPS ('k') | ppapi/shared_impl/file_system_util.cc » ('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 #ifndef PPAPI_SHARED_IMPL_FILE_SYSTEM_UTIL_H_ 5 #ifndef PPAPI_SHARED_IMPL_FILE_SYSTEM_UTIL_H_
6 #define PPAPI_SHARED_IMPL_FILE_SYSTEM_UTIL_H_ 6 #define PPAPI_SHARED_IMPL_FILE_SYSTEM_UTIL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "ppapi/c/pp_file_info.h" 10 #include "ppapi/c/pp_file_info.h"
11 #include "ppapi/c/private/ppb_isolated_file_system_private.h" 11 #include "ppapi/c/private/ppb_isolated_file_system_private.h"
12 #include "ppapi/shared_impl/ppapi_shared_export.h" 12 #include "ppapi/shared_impl/ppapi_shared_export.h"
13 #include "webkit/common/fileapi/file_system_types.h"
14 13
15 namespace ppapi { 14 namespace ppapi {
16 15
17 PPAPI_SHARED_EXPORT
18 fileapi::FileSystemType PepperFileSystemTypeToFileSystemType(
19 PP_FileSystemType type);
20
21 PPAPI_SHARED_EXPORT bool FileSystemTypeIsValid(PP_FileSystemType type); 16 PPAPI_SHARED_EXPORT bool FileSystemTypeIsValid(PP_FileSystemType type);
22 17
23 PPAPI_SHARED_EXPORT bool FileSystemTypeHasQuota(PP_FileSystemType type); 18 PPAPI_SHARED_EXPORT bool FileSystemTypeHasQuota(PP_FileSystemType type);
24 19
25 PPAPI_SHARED_EXPORT std::string IsolatedFileSystemTypeToRootName( 20 PPAPI_SHARED_EXPORT std::string IsolatedFileSystemTypeToRootName(
26 PP_IsolatedFileSystemType_Private type); 21 PP_IsolatedFileSystemType_Private type);
27 22
28 } // namespace ppapi 23 } // namespace ppapi
29 24
30 #endif // PPAPI_SHARED_IMPL_FILE_SYSTEM_UTIL_H_ 25 #endif // PPAPI_SHARED_IMPL_FILE_SYSTEM_UTIL_H_
OLDNEW
« no previous file with comments | « ppapi/shared_impl/DEPS ('k') | ppapi/shared_impl/file_system_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698