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 22 matching lines...) Expand all Loading... |
33 | 33 |
34 #include "bindings/core/v8/ExceptionState.h" | 34 #include "bindings/core/v8/ExceptionState.h" |
35 #include "core/dom/ExceptionCode.h" | 35 #include "core/dom/ExceptionCode.h" |
36 #include "modules/filesystem/DirectoryEntry.h" | 36 #include "modules/filesystem/DirectoryEntry.h" |
37 #include "modules/filesystem/DirectoryEntrySync.h" | 37 #include "modules/filesystem/DirectoryEntrySync.h" |
38 #include "modules/filesystem/EntriesCallback.h" | 38 #include "modules/filesystem/EntriesCallback.h" |
39 #include "modules/filesystem/EntrySync.h" | 39 #include "modules/filesystem/EntrySync.h" |
40 #include "modules/filesystem/ErrorCallback.h" | 40 #include "modules/filesystem/ErrorCallback.h" |
41 #include "modules/filesystem/FileEntrySync.h" | 41 #include "modules/filesystem/FileEntrySync.h" |
42 | 42 |
43 namespace WebCore { | 43 namespace blink { |
44 | 44 |
45 class DirectoryReaderSync::EntriesCallbackHelper : public EntriesCallback { | 45 class DirectoryReaderSync::EntriesCallbackHelper : public EntriesCallback { |
46 public: | 46 public: |
47 explicit EntriesCallbackHelper(DirectoryReaderSync* reader) | 47 explicit EntriesCallbackHelper(DirectoryReaderSync* reader) |
48 : m_reader(reader) | 48 : m_reader(reader) |
49 { | 49 { |
50 } | 50 } |
51 | 51 |
52 virtual void handleEvent(const EntryHeapVector& entries) OVERRIDE | 52 virtual void handleEvent(const EntryHeapVector& entries) OVERRIDE |
53 { | 53 { |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 return result; | 109 return result; |
110 } | 110 } |
111 | 111 |
112 void DirectoryReaderSync::trace(Visitor* visitor) | 112 void DirectoryReaderSync::trace(Visitor* visitor) |
113 { | 113 { |
114 visitor->trace(m_entries); | 114 visitor->trace(m_entries); |
115 DirectoryReaderBase::trace(visitor); | 115 DirectoryReaderBase::trace(visitor); |
116 } | 116 } |
117 | 117 |
118 } // namespace | 118 } // namespace |
OLD | NEW |