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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 | 70 |
71 DirectoryEntrySync* DOMFileSystemSync::root() | 71 DirectoryEntrySync* DOMFileSystemSync::root() |
72 { | 72 { |
73 return m_rootEntry.get(); | 73 return m_rootEntry.get(); |
74 } | 74 } |
75 | 75 |
76 namespace { | 76 namespace { |
77 | 77 |
78 class CreateFileHelper final : public AsyncFileSystemCallbacks { | 78 class CreateFileHelper final : public AsyncFileSystemCallbacks { |
79 public: | 79 public: |
80 class CreateFileResult : public GarbageCollectedFinalized<CreateFileResult>
{ | 80 class CreateFileResult : public GarbageCollected<CreateFileResult> { |
81 public: | 81 public: |
82 static CreateFileResult* create() | 82 static CreateFileResult* create() |
83 { | 83 { |
84 return new CreateFileResult(); | 84 return new CreateFileResult(); |
85 } | 85 } |
86 | 86 |
87 bool m_failed; | 87 bool m_failed; |
88 int m_code; | 88 int m_code; |
89 Member<File> m_file; | 89 Member<File> m_file; |
90 | 90 |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
223 return fileWriter; | 223 return fileWriter; |
224 } | 224 } |
225 | 225 |
226 DEFINE_TRACE(DOMFileSystemSync) | 226 DEFINE_TRACE(DOMFileSystemSync) |
227 { | 227 { |
228 DOMFileSystemBase::trace(visitor); | 228 DOMFileSystemBase::trace(visitor); |
229 visitor->trace(m_rootEntry); | 229 visitor->trace(m_rootEntry); |
230 } | 230 } |
231 | 231 |
232 } // namespace blink | 232 } // namespace blink |
OLD | NEW |