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

Side by Side Diff: Source/core/platform/chromium/FileSystemChromium.cpp

Issue 19762007: core/platform: Include wtf files using "wtf/foo.h" form. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 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) 2008, 2009, Google Inc. All rights reserved. 2 * Copyright (c) 2008, 2009, 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 19 matching lines...) Expand all
30 30
31 #include "config.h" 31 #include "config.h"
32 #include "core/platform/FileSystem.h" 32 #include "core/platform/FileSystem.h"
33 33
34 #include "core/platform/FileMetadata.h" 34 #include "core/platform/FileMetadata.h"
35 #include "core/platform/NotImplemented.h" 35 #include "core/platform/NotImplemented.h"
36 36
37 #include "public/platform/Platform.h" 37 #include "public/platform/Platform.h"
38 #include "public/platform/WebFileInfo.h" 38 #include "public/platform/WebFileInfo.h"
39 #include "public/platform/WebFileUtilities.h" 39 #include "public/platform/WebFileUtilities.h"
40 #include <wtf/text/WTFString.h> 40 #include "wtf/text/WTFString.h"
41 41
42 namespace WebCore { 42 namespace WebCore {
43 43
44 bool deleteFile(const String& path) 44 bool deleteFile(const String& path)
45 { 45 {
46 return WebKit::Platform::current()->fileUtilities()->deleteFile(path); 46 return WebKit::Platform::current()->fileUtilities()->deleteFile(path);
47 } 47 }
48 48
49 bool deleteEmptyDirectory(const String& path) 49 bool deleteEmptyDirectory(const String& path)
50 { 50 {
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 { 124 {
125 return WebKit::Platform::current()->fileUtilities()->readFromFile(handle, da ta, length); 125 return WebKit::Platform::current()->fileUtilities()->readFromFile(handle, da ta, length);
126 } 126 }
127 127
128 int writeToFile(PlatformFileHandle handle, const char* data, int length) 128 int writeToFile(PlatformFileHandle handle, const char* data, int length)
129 { 129 {
130 return WebKit::Platform::current()->fileUtilities()->writeToFile(handle, dat a, length); 130 return WebKit::Platform::current()->fileUtilities()->writeToFile(handle, dat a, length);
131 } 131 }
132 132
133 } // namespace WebCore 133 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/platform/chromium/ClipboardUtilitiesChromium.h ('k') | Source/core/platform/chromium/LanguageChromium.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698