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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 #include "modules/filesystem/FileCallback.h" | 46 #include "modules/filesystem/FileCallback.h" |
47 #include "modules/filesystem/FileEntry.h" | 47 #include "modules/filesystem/FileEntry.h" |
48 #include "modules/filesystem/FileSystemCallback.h" | 48 #include "modules/filesystem/FileSystemCallback.h" |
49 #include "modules/filesystem/FileWriterBase.h" | 49 #include "modules/filesystem/FileWriterBase.h" |
50 #include "modules/filesystem/FileWriterBaseCallback.h" | 50 #include "modules/filesystem/FileWriterBaseCallback.h" |
51 #include "modules/filesystem/Metadata.h" | 51 #include "modules/filesystem/Metadata.h" |
52 #include "modules/filesystem/MetadataCallback.h" | 52 #include "modules/filesystem/MetadataCallback.h" |
53 #include "platform/FileMetadata.h" | 53 #include "platform/FileMetadata.h" |
54 #include "public/platform/WebFileWriter.h" | 54 #include "public/platform/WebFileWriter.h" |
55 | 55 |
56 namespace WebCore { | 56 namespace blink { |
57 | 57 |
58 FileSystemCallbacksBase::FileSystemCallbacksBase(PassOwnPtr<ErrorCallback> error
Callback, DOMFileSystemBase* fileSystem, ExecutionContext* context) | 58 FileSystemCallbacksBase::FileSystemCallbacksBase(PassOwnPtr<ErrorCallback> error
Callback, DOMFileSystemBase* fileSystem, ExecutionContext* context) |
59 : m_errorCallback(errorCallback) | 59 : m_errorCallback(errorCallback) |
60 , m_fileSystem(fileSystem) | 60 , m_fileSystem(fileSystem) |
61 , m_executionContext(context) | 61 , m_executionContext(context) |
62 { | 62 { |
63 if (m_fileSystem) | 63 if (m_fileSystem) |
64 m_fileSystem->addPendingCallbacks(); | 64 m_fileSystem->addPendingCallbacks(); |
65 } | 65 } |
66 | 66 |
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
316 { | 316 { |
317 } | 317 } |
318 | 318 |
319 void VoidCallbacks::didSucceed() | 319 void VoidCallbacks::didSucceed() |
320 { | 320 { |
321 if (m_successCallback) | 321 if (m_successCallback) |
322 handleEventOrScheduleCallback(m_successCallback.release()); | 322 handleEventOrScheduleCallback(m_successCallback.release()); |
323 } | 323 } |
324 | 324 |
325 } // namespace | 325 } // namespace |
OLD | NEW |