Title: [103016] trunk/Source/WebCore
- Revision
- 103016
- Author
- [email protected]
- Date
- 2011-12-15 20:03:47 -0800 (Thu, 15 Dec 2011)
Log Message
Upstream FileSystemBlackBerry.cpp into WebCore/platform/blackberry
https://bugs.webkit.org/show_bug.cgi?id=74491
Patch by Mary Wu <[email protected]> on 2011-12-15
Reviewed by Rob Buis.
We are using POSIX porting of FileSystem, so here only implement other
necessary functions.
Initial upstream, no new tests.
* platform/blackberry/FileSystemBlackBerry.cpp: Added.
(WebCore::homeDirectoryPath):
(WebCore::fileSystemRepresentation):
(WebCore::unloadModule):
(WebCore::openTemporaryFile):
Modified Paths
Added Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (103015 => 103016)
--- trunk/Source/WebCore/ChangeLog 2011-12-16 03:43:40 UTC (rev 103015)
+++ trunk/Source/WebCore/ChangeLog 2011-12-16 04:03:47 UTC (rev 103016)
@@ -1,3 +1,21 @@
+2011-12-15 Mary Wu <[email protected]>
+
+ Upstream FileSystemBlackBerry.cpp into WebCore/platform/blackberry
+ https://bugs.webkit.org/show_bug.cgi?id=74491
+
+ Reviewed by Rob Buis.
+
+ We are using POSIX porting of FileSystem, so here only implement other
+ necessary functions.
+
+ Initial upstream, no new tests.
+
+ * platform/blackberry/FileSystemBlackBerry.cpp: Added.
+ (WebCore::homeDirectoryPath):
+ (WebCore::fileSystemRepresentation):
+ (WebCore::unloadModule):
+ (WebCore::openTemporaryFile):
+
2011-12-15 Adrienne Walker <[email protected]>
[chromium] Clean up unnecessary leaf functions in GraphicsLayerChromium
Added: trunk/Source/WebCore/platform/blackberry/FileSystemBlackBerry.cpp (0 => 103016)
--- trunk/Source/WebCore/platform/blackberry/FileSystemBlackBerry.cpp (rev 0)
+++ trunk/Source/WebCore/platform/blackberry/FileSystemBlackBerry.cpp 2011-12-16 04:03:47 UTC (rev 103016)
@@ -0,0 +1,47 @@
+/*
+ * Copyright (C) 2009, 2010, 2011 Research In Motion Limited. All rights reserved.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+#include "config.h"
+#include "FileSystem.h"
+
+#include <BlackBerryPlatformClient.h>
+#include <wtf/text/CString.h>
+
+namespace WebCore {
+
+String homeDirectoryPath()
+{
+ return BlackBerry::Platform::Client::get()->getApplicationDataDirectory().c_str();
+}
+
+CString fileSystemRepresentation(const String& path)
+{
+ return path.utf8();
+}
+
+bool unloadModule(PlatformModule)
+{
+ return false;
+}
+
+String openTemporaryFile(const String&, PlatformFileHandle&)
+{
+ return "";
+}
+
+} // namespace WebCore
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes