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

Unified Diff: ppapi/proxy/flash_file_resource.cc

Issue 12286020: Replace FilePath with base::FilePath. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/tools/gdig/gdig.cc ('k') | ppapi/shared_impl/file_path.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/flash_file_resource.cc
diff --git a/ppapi/proxy/flash_file_resource.cc b/ppapi/proxy/flash_file_resource.cc
index ac9e555f7831a4e0dc58f5f200137539e6f598ab..cd13a6deb69c859ac7b727e8f92922e0f772505a 100644
--- a/ppapi/proxy/flash_file_resource.cc
+++ b/ppapi/proxy/flash_file_resource.cc
@@ -60,9 +60,9 @@ int32_t FlashFileResource::RenameFile(PP_Instance /*instance*/,
const char* path_from,
const char* path_to) {
PepperFilePath pepper_from(PepperFilePath::DOMAIN_MODULE_LOCAL,
- FilePath::FromUTF8Unsafe(path_from));
+ base::FilePath::FromUTF8Unsafe(path_from));
PepperFilePath pepper_to(PepperFilePath::DOMAIN_MODULE_LOCAL,
- FilePath::FromUTF8Unsafe(path_to));
+ base::FilePath::FromUTF8Unsafe(path_to));
int32_t error = SyncCall<IPC::Message>(
BROWSER, PpapiHostMsg_FlashFile_RenameFile(pepper_from, pepper_to));
@@ -74,7 +74,7 @@ int32_t FlashFileResource::DeleteFileOrDir(PP_Instance /*instance*/,
const char* path,
PP_Bool recursive) {
PepperFilePath pepper_path(PepperFilePath::DOMAIN_MODULE_LOCAL,
- FilePath::FromUTF8Unsafe(path));
+ base::FilePath::FromUTF8Unsafe(path));
int32_t error = SyncCall<IPC::Message>(
BROWSER, PpapiHostMsg_FlashFile_DeleteFileOrDir(pepper_path,
@@ -86,7 +86,7 @@ int32_t FlashFileResource::DeleteFileOrDir(PP_Instance /*instance*/,
int32_t FlashFileResource::CreateDir(PP_Instance /*instance*/,
const char* path) {
PepperFilePath pepper_path(PepperFilePath::DOMAIN_MODULE_LOCAL,
- FilePath::FromUTF8Unsafe(path));
+ base::FilePath::FromUTF8Unsafe(path));
int32_t error = SyncCall<IPC::Message>(BROWSER,
PpapiHostMsg_FlashFile_CreateDir(pepper_path));
@@ -105,7 +105,7 @@ int32_t FlashFileResource::GetDirContents(PP_Instance /*instance*/,
PP_DirContents_Dev** contents) {
ppapi::DirContents entries;
PepperFilePath pepper_path(PepperFilePath::DOMAIN_MODULE_LOCAL,
- FilePath::FromUTF8Unsafe(path));
+ base::FilePath::FromUTF8Unsafe(path));
int32_t error = SyncCall<PpapiPluginMsg_FlashFile_GetDirContentsReply>(
BROWSER, PpapiHostMsg_FlashFile_GetDirContents(pepper_path), &entries);
@@ -182,7 +182,7 @@ int32_t FlashFileResource::OpenFileHelper(const std::string& path,
!file)
return PP_ERROR_BADARGUMENT;
- PepperFilePath pepper_path(domain_type, FilePath::FromUTF8Unsafe(path));
+ PepperFilePath pepper_path(domain_type, base::FilePath::FromUTF8Unsafe(path));
IPC::Message unused;
ResourceMessageReplyParams reply_params;
@@ -207,7 +207,7 @@ int32_t FlashFileResource::QueryFileHelper(const std::string& path,
return PP_ERROR_BADARGUMENT;
base::PlatformFileInfo file_info;
- PepperFilePath pepper_path(domain_type, FilePath::FromUTF8Unsafe(path));
+ PepperFilePath pepper_path(domain_type, base::FilePath::FromUTF8Unsafe(path));
int32_t error = SyncCall<PpapiPluginMsg_FlashFile_QueryFileReply>(BROWSER,
PpapiHostMsg_FlashFile_QueryFile(pepper_path), &file_info);
« no previous file with comments | « net/tools/gdig/gdig.cc ('k') | ppapi/shared_impl/file_path.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698