Index: chrome/browser/chromeos/extensions/file_system_provider/file_system_provider_api.cc |
diff --git a/chrome/browser/chromeos/extensions/file_system_provider/file_system_provider_api.cc b/chrome/browser/chromeos/extensions/file_system_provider/file_system_provider_api.cc |
index 8e378db97f95733671b9818194b3262df62e8774..d37f23c9b5b968c918040eb9ee7409ea0f22fe76 100644 |
--- a/chrome/browser/chromeos/extensions/file_system_provider/file_system_provider_api.cc |
+++ b/chrome/browser/chromeos/extensions/file_system_provider/file_system_provider_api.cc |
@@ -85,7 +85,7 @@ bool FileSystemProviderUnmountFunction::RunSync() { |
return true; |
} |
-bool FileSystemProviderInternalUnmountRequestedSuccessFunction::RunSync() { |
+bool FileSystemProviderInternalUnmountRequestedSuccessFunction::RunWhenValid() { |
using api::file_system_provider_internal::UnmountRequestedSuccess::Params; |
scoped_ptr<Params> params(Params::Create(*args_)); |
EXTENSION_FUNCTION_VALIDATE(params); |
@@ -95,7 +95,7 @@ bool FileSystemProviderInternalUnmountRequestedSuccessFunction::RunSync() { |
return true; |
} |
-bool FileSystemProviderInternalUnmountRequestedErrorFunction::RunSync() { |
+bool FileSystemProviderInternalUnmountRequestedErrorFunction::RunWhenValid() { |
using api::file_system_provider_internal::UnmountRequestedError::Params; |
const scoped_ptr<Params> params(Params::Create(*args_)); |
EXTENSION_FUNCTION_VALIDATE(params); |
@@ -104,7 +104,8 @@ bool FileSystemProviderInternalUnmountRequestedErrorFunction::RunSync() { |
return true; |
} |
-bool FileSystemProviderInternalGetMetadataRequestedSuccessFunction::RunSync() { |
+bool |
+FileSystemProviderInternalGetMetadataRequestedSuccessFunction::RunWhenValid() { |
using api::file_system_provider_internal::GetMetadataRequestedSuccess::Params; |
scoped_ptr<Params> params(Params::Create(*args_)); |
EXTENSION_FUNCTION_VALIDATE(params); |
@@ -114,7 +115,8 @@ bool FileSystemProviderInternalGetMetadataRequestedSuccessFunction::RunSync() { |
return true; |
} |
-bool FileSystemProviderInternalGetMetadataRequestedErrorFunction::RunSync() { |
+bool |
+FileSystemProviderInternalGetMetadataRequestedErrorFunction::RunWhenValid() { |
using api::file_system_provider_internal::GetMetadataRequestedError::Params; |
const scoped_ptr<Params> params(Params::Create(*args_)); |
EXTENSION_FUNCTION_VALIDATE(params); |