OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 WebFileSystemCallbacks& operator=(const WebFileSystemCallbacks& c) | 57 WebFileSystemCallbacks& operator=(const WebFileSystemCallbacks& c) |
58 { | 58 { |
59 assign(c); | 59 assign(c); |
60 return *this; | 60 return *this; |
61 } | 61 } |
62 | 62 |
63 BLINK_PLATFORM_EXPORT void reset(); | 63 BLINK_PLATFORM_EXPORT void reset(); |
64 BLINK_PLATFORM_EXPORT void assign(const WebFileSystemCallbacks&); | 64 BLINK_PLATFORM_EXPORT void assign(const WebFileSystemCallbacks&); |
65 | 65 |
66 #if INSIDE_BLINK | 66 #if INSIDE_BLINK |
67 BLINK_PLATFORM_EXPORT WebFileSystemCallbacks(const WTF::PassOwnPtr<AsyncFile
SystemCallbacks>&); | 67 BLINK_PLATFORM_EXPORT WebFileSystemCallbacks(WTF::PassOwnPtr<AsyncFileSystem
Callbacks>&&); |
68 #endif | 68 #endif |
69 | 69 |
70 // Callback for WebFileSystem's various operations that don't require | 70 // Callback for WebFileSystem's various operations that don't require |
71 // return values. | 71 // return values. |
72 BLINK_PLATFORM_EXPORT void didSucceed(); | 72 BLINK_PLATFORM_EXPORT void didSucceed(); |
73 | 73 |
74 // Callback for WebFileSystem::readMetadata. Called with the file metadata | 74 // Callback for WebFileSystem::readMetadata. Called with the file metadata |
75 // for the requested path. | 75 // for the requested path. |
76 BLINK_PLATFORM_EXPORT void didReadMetadata(const WebFileInfo&); | 76 BLINK_PLATFORM_EXPORT void didReadMetadata(const WebFileInfo&); |
77 | 77 |
(...skipping 29 matching lines...) Expand all Loading... |
107 // is fullfilled. | 107 // is fullfilled. |
108 BLINK_PLATFORM_EXPORT bool shouldBlockUntilCompletion() const; | 108 BLINK_PLATFORM_EXPORT bool shouldBlockUntilCompletion() const; |
109 | 109 |
110 private: | 110 private: |
111 WebPrivatePtr<WebFileSystemCallbacksPrivate> m_private; | 111 WebPrivatePtr<WebFileSystemCallbacksPrivate> m_private; |
112 }; | 112 }; |
113 | 113 |
114 } // namespace blink | 114 } // namespace blink |
115 | 115 |
116 #endif | 116 #endif |
OLD | NEW |