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

Side by Side Diff: Source/modules/filesystem/DirectoryEntrySync.cpp

Issue 68093002: Remove duplicated headers from modules/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 1 month 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
OLDNEW
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 17 matching lines...) Expand all
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 30
31 #include "config.h" 31 #include "config.h"
32 #include "modules/filesystem/DirectoryEntrySync.h" 32 #include "modules/filesystem/DirectoryEntrySync.h"
33 33
34 #include "bindings/v8/ExceptionMessages.h" 34 #include "bindings/v8/ExceptionMessages.h"
35 #include "bindings/v8/ExceptionState.h" 35 #include "bindings/v8/ExceptionState.h"
36 #include "core/dom/ExceptionCode.h" 36 #include "core/dom/ExceptionCode.h"
37 #include "modules/filesystem/DirectoryReaderSync.h" 37 #include "modules/filesystem/DirectoryReaderSync.h"
38 #include "modules/filesystem/EntrySync.h"
39 #include "modules/filesystem/FileEntrySync.h" 38 #include "modules/filesystem/FileEntrySync.h"
40 #include "modules/filesystem/SyncCallbackHelper.h" 39 #include "modules/filesystem/SyncCallbackHelper.h"
41 40
42 namespace WebCore { 41 namespace WebCore {
43 42
44 DirectoryEntrySync::DirectoryEntrySync(PassRefPtr<DOMFileSystemBase> fileSystem, const String& fullPath) 43 DirectoryEntrySync::DirectoryEntrySync(PassRefPtr<DOMFileSystemBase> fileSystem, const String& fullPath)
45 : EntrySync(fileSystem, fullPath) 44 : EntrySync(fileSystem, fullPath)
46 { 45 {
47 ScriptWrappable::init(this); 46 ScriptWrappable::init(this);
48 } 47 }
(...skipping 29 matching lines...) Expand all
78 { 77 {
79 VoidSyncCallbackHelper helper; 78 VoidSyncCallbackHelper helper;
80 if (!m_fileSystem->removeRecursively(this, helper.successCallback(), helper. errorCallback(), DOMFileSystemBase::Synchronous)) { 79 if (!m_fileSystem->removeRecursively(this, helper.successCallback(), helper. errorCallback(), DOMFileSystemBase::Synchronous)) {
81 es.throwDOMException(InvalidModificationError, ExceptionMessages::failed ToExecute("removeRecursively", "DirectoryEntrySync")); 80 es.throwDOMException(InvalidModificationError, ExceptionMessages::failed ToExecute("removeRecursively", "DirectoryEntrySync"));
82 return; 81 return;
83 } 82 }
84 helper.getResult(es); 83 helper.getResult(es);
85 } 84 }
86 85
87 } 86 }
OLDNEW
« no previous file with comments | « Source/modules/filesystem/DOMFileSystemBase.cpp ('k') | Source/modules/filesystem/EntryBase.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698