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

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

Issue 403013002: Rename WebCore to blink in Modules (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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 28 matching lines...) Expand all
39 #include "modules/filesystem/DirectoryEntrySync.h" 39 #include "modules/filesystem/DirectoryEntrySync.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 #include "modules/filesystem/FileSystemCallbacks.h" 42 #include "modules/filesystem/FileSystemCallbacks.h"
43 #include "modules/filesystem/FileWriterBaseCallback.h" 43 #include "modules/filesystem/FileWriterBaseCallback.h"
44 #include "modules/filesystem/FileWriterSync.h" 44 #include "modules/filesystem/FileWriterSync.h"
45 #include "platform/FileMetadata.h" 45 #include "platform/FileMetadata.h"
46 #include "public/platform/WebFileSystem.h" 46 #include "public/platform/WebFileSystem.h"
47 #include "public/platform/WebFileSystemCallbacks.h" 47 #include "public/platform/WebFileSystemCallbacks.h"
48 48
49 namespace WebCore { 49 namespace blink {
50 50
51 class FileWriterBase; 51 class FileWriterBase;
52 52
53 DOMFileSystemSync* DOMFileSystemSync::create(DOMFileSystemBase* fileSystem) 53 DOMFileSystemSync* DOMFileSystemSync::create(DOMFileSystemBase* fileSystem)
54 { 54 {
55 return new DOMFileSystemSync(fileSystem->m_context, fileSystem->name(), file System->type(), fileSystem->rootURL()); 55 return new DOMFileSystemSync(fileSystem->m_context, fileSystem->name(), file System->type(), fileSystem->rootURL());
56 } 56 }
57 57
58 DOMFileSystemSync::DOMFileSystemSync(ExecutionContext* context, const String& na me, FileSystemType type, const KURL& rootURL) 58 DOMFileSystemSync::DOMFileSystemSync(ExecutionContext* context, const String& na me, FileSystemType type, const KURL& rootURL)
59 : DOMFileSystemBase(context, name, type, rootURL) 59 : DOMFileSystemBase(context, name, type, rootURL)
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 240
241 fileSystem()->createFileWriter(createFileSystemURL(fileEntry), fileWriter, c allbacks.release()); 241 fileSystem()->createFileWriter(createFileSystemURL(fileEntry), fileWriter, c allbacks.release());
242 if (errorCode != FileError::OK) { 242 if (errorCode != FileError::OK) {
243 FileError::throwDOMException(exceptionState, errorCode); 243 FileError::throwDOMException(exceptionState, errorCode);
244 return 0; 244 return 0;
245 } 245 }
246 return fileWriter; 246 return fileWriter;
247 } 247 }
248 248
249 } 249 }
OLDNEW
« no previous file with comments | « Source/modules/filesystem/DOMFileSystemSync.h ('k') | Source/modules/filesystem/DOMWindowFileSystem.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698