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

Side by Side Diff: Source/WebKit/chromium/src/WorkerAsyncFileSystemChromium.cpp

Issue 14488003: Absolutify paths to platform/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: scripts, iwyu Created 7 years, 8 months 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 | Annotate | Revision Log
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 13 matching lines...) Expand all
24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
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 "WorkerAsyncFileSystemChromium.h" 32 #include "WorkerAsyncFileSystemChromium.h"
33 33
34 #include "AsyncFileSystemCallbacks.h"
35 #include "BlobURL.h" 34 #include "BlobURL.h"
36 #include "FileMetadata.h"
37 #include "FileSystem.h"
38 #include "NotImplemented.h"
39 #include "WebFileSystemCallbacksImpl.h" 35 #include "WebFileSystemCallbacksImpl.h"
40 #include "WebFileWriter.h" 36 #include "WebFileWriter.h"
41 #include "WorkerAsyncFileWriterChromium.h" 37 #include "WorkerAsyncFileWriterChromium.h"
42 #include "WorkerContext.h" 38 #include "WorkerContext.h"
43 #include "WorkerFileSystemCallbacksBridge.h" 39 #include "WorkerFileSystemCallbacksBridge.h"
44 #include "WorkerScriptController.h" 40 #include "WorkerScriptController.h"
45 #include "WorkerThread.h" 41 #include "WorkerThread.h"
42 #include "core/platform/AsyncFileSystemCallbacks.h"
43 #include "core/platform/FileMetadata.h"
44 #include "core/platform/FileSystem.h"
45 #include "core/platform/NotImplemented.h"
46 #include <public/WebFileSystem.h> 46 #include <public/WebFileSystem.h>
47 #include <wtf/text/CString.h> 47 #include <wtf/text/CString.h>
48 48
49 using namespace WebKit; 49 using namespace WebKit;
50 50
51 namespace WebCore { 51 namespace WebCore {
52 52
53 static const char fileSystemOperationsMode[] = "fileSystemOperationsMode"; 53 static const char fileSystemOperationsMode[] = "fileSystemOperationsMode";
54 54
55 WorkerAsyncFileSystemChromium::WorkerAsyncFileSystemChromium(ScriptExecutionCont ext* context, FileSystemSynchronousType synchronousType) 55 WorkerAsyncFileSystemChromium::WorkerAsyncFileSystemChromium(ScriptExecutionCont ext* context, FileSystemSynchronousType synchronousType)
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 ASSERT_UNUSED(m_synchronousType, m_synchronousType == AsynchronousFileSystem || !m_bridgeForCurrentOperation); 185 ASSERT_UNUSED(m_synchronousType, m_synchronousType == AsynchronousFileSystem || !m_bridgeForCurrentOperation);
186 186
187 m_modeForCurrentOperation = fileSystemOperationsMode; 187 m_modeForCurrentOperation = fileSystemOperationsMode;
188 m_modeForCurrentOperation.append(String::number(m_workerContext->thread()->r unLoop().createUniqueId())); 188 m_modeForCurrentOperation.append(String::number(m_workerContext->thread()->r unLoop().createUniqueId()));
189 189
190 m_bridgeForCurrentOperation = WorkerFileSystemCallbacksBridge::create(m_work erLoaderProxy, m_scriptExecutionContext, new WebKit::WebFileSystemCallbacksImpl( callbacks)); 190 m_bridgeForCurrentOperation = WorkerFileSystemCallbacksBridge::create(m_work erLoaderProxy, m_scriptExecutionContext, new WebKit::WebFileSystemCallbacksImpl( callbacks));
191 return m_bridgeForCurrentOperation; 191 return m_bridgeForCurrentOperation;
192 } 192 }
193 193
194 } // namespace WebCore 194 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/WebKit/chromium/src/WebViewImpl.cpp ('k') | Source/WebKit/chromium/src/WorkerAsyncFileWriterChromium.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698