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

Unified Diff: webkit/common/fileapi/file_system_util.cc

Issue 61553006: Rename WebKit namespace to blink (part 5) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/common/fileapi/file_system_util.h ('k') | webkit/common/gpu/context_provider_in_process.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/common/fileapi/file_system_util.cc
diff --git a/webkit/common/fileapi/file_system_util.cc b/webkit/common/fileapi/file_system_util.cc
index 9670dd763aa9741056a1318b9bb074d4b6ee3f59..4d5c352bf3722659d62e0ceac97b426078a4c7a1 100644
--- a/webkit/common/fileapi/file_system_util.cc
+++ b/webkit/common/fileapi/file_system_util.cc
@@ -282,53 +282,53 @@ base::FilePath StringToFilePath(const std::string& file_path_string) {
#endif
}
-WebKit::WebFileError PlatformFileErrorToWebFileError(
+blink::WebFileError PlatformFileErrorToWebFileError(
base::PlatformFileError error_code) {
switch (error_code) {
case base::PLATFORM_FILE_ERROR_NOT_FOUND:
- return WebKit::WebFileErrorNotFound;
+ return blink::WebFileErrorNotFound;
case base::PLATFORM_FILE_ERROR_INVALID_OPERATION:
case base::PLATFORM_FILE_ERROR_EXISTS:
case base::PLATFORM_FILE_ERROR_NOT_EMPTY:
- return WebKit::WebFileErrorInvalidModification;
+ return blink::WebFileErrorInvalidModification;
case base::PLATFORM_FILE_ERROR_NOT_A_DIRECTORY:
case base::PLATFORM_FILE_ERROR_NOT_A_FILE:
- return WebKit::WebFileErrorTypeMismatch;
+ return blink::WebFileErrorTypeMismatch;
case base::PLATFORM_FILE_ERROR_ACCESS_DENIED:
- return WebKit::WebFileErrorNoModificationAllowed;
+ return blink::WebFileErrorNoModificationAllowed;
case base::PLATFORM_FILE_ERROR_FAILED:
- return WebKit::WebFileErrorInvalidState;
+ return blink::WebFileErrorInvalidState;
case base::PLATFORM_FILE_ERROR_ABORT:
- return WebKit::WebFileErrorAbort;
+ return blink::WebFileErrorAbort;
case base::PLATFORM_FILE_ERROR_SECURITY:
- return WebKit::WebFileErrorSecurity;
+ return blink::WebFileErrorSecurity;
case base::PLATFORM_FILE_ERROR_NO_SPACE:
- return WebKit::WebFileErrorQuotaExceeded;
+ return blink::WebFileErrorQuotaExceeded;
case base::PLATFORM_FILE_ERROR_INVALID_URL:
- return WebKit::WebFileErrorEncoding;
+ return blink::WebFileErrorEncoding;
default:
- return WebKit::WebFileErrorInvalidModification;
+ return blink::WebFileErrorInvalidModification;
}
}
bool GetFileSystemPublicType(
const std::string type_string,
- WebKit::WebFileSystemType* type) {
+ blink::WebFileSystemType* type) {
DCHECK(type);
if (type_string == "Temporary") {
- *type = WebKit::WebFileSystemTypeTemporary;
+ *type = blink::WebFileSystemTypeTemporary;
return true;
}
if (type_string == "Persistent") {
- *type = WebKit::WebFileSystemTypePersistent;
+ *type = blink::WebFileSystemTypePersistent;
return true;
}
if (type_string == "Isolated") {
- *type = WebKit::WebFileSystemTypeIsolated;
+ *type = blink::WebFileSystemTypeIsolated;
return true;
}
if (type_string == "External") {
- *type = WebKit::WebFileSystemTypeExternal;
+ *type = blink::WebFileSystemTypeExternal;
return true;
}
NOTREACHED();
« no previous file with comments | « webkit/common/fileapi/file_system_util.h ('k') | webkit/common/gpu/context_provider_in_process.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698