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

Unified Diff: chrome/browser/chromeos/file_system_provider/provided_file_system.cc

Issue 301873002: [fsp] Show request logs in chrome://provided-file-systems. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. Created 6 years, 7 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 | « no previous file | chrome/browser/chromeos/file_system_provider/request_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/file_system_provider/provided_file_system.cc
diff --git a/chrome/browser/chromeos/file_system_provider/provided_file_system.cc b/chrome/browser/chromeos/file_system_provider/provided_file_system.cc
index 316c87d608c42e1fb3b58b4abc6515f11eca0af7..743abc80eda7687fc52d1f4a072b2cf5acf4a787 100644
--- a/chrome/browser/chromeos/file_system_provider/provided_file_system.cc
+++ b/chrome/browser/chromeos/file_system_provider/provided_file_system.cc
@@ -35,7 +35,7 @@ ProvidedFileSystem::~ProvidedFileSystem() {}
void ProvidedFileSystem::RequestUnmount(
const fileapi::AsyncFileUtil::StatusCallback& callback) {
if (!request_manager_.CreateRequest(
- RequestManager::REQUEST_UNMOUNT,
+ REQUEST_UNMOUNT,
scoped_ptr<RequestManager::HandlerInterface>(new operations::Unmount(
event_router_, file_system_info_, callback)))) {
callback.Run(base::File::FILE_ERROR_SECURITY);
@@ -46,7 +46,7 @@ void ProvidedFileSystem::GetMetadata(
const base::FilePath& entry_path,
const fileapi::AsyncFileUtil::GetFileInfoCallback& callback) {
if (!request_manager_.CreateRequest(
- RequestManager::GET_METADATA,
+ GET_METADATA,
scoped_ptr<RequestManager::HandlerInterface>(
new operations::GetMetadata(
event_router_, file_system_info_, entry_path, callback)))) {
@@ -58,7 +58,7 @@ void ProvidedFileSystem::ReadDirectory(
const base::FilePath& directory_path,
const fileapi::AsyncFileUtil::ReadDirectoryCallback& callback) {
if (!request_manager_.CreateRequest(
- RequestManager::READ_DIRECTORY,
+ READ_DIRECTORY,
scoped_ptr<
RequestManager::HandlerInterface>(new operations::ReadDirectory(
event_router_, file_system_info_, directory_path, callback)))) {
@@ -74,7 +74,7 @@ void ProvidedFileSystem::ReadFile(int file_handle,
int length,
const ReadChunkReceivedCallback& callback) {
if (!request_manager_.CreateRequest(
- RequestManager::READ_FILE,
+ READ_FILE,
make_scoped_ptr<RequestManager::HandlerInterface>(
new operations::ReadFile(event_router_,
file_system_info_,
@@ -101,7 +101,7 @@ void ProvidedFileSystem::OpenFile(const base::FilePath& file_path,
}
if (!request_manager_.CreateRequest(
- RequestManager::OPEN_FILE,
+ OPEN_FILE,
scoped_ptr<RequestManager::HandlerInterface>(
new operations::OpenFile(event_router_,
file_system_info_,
@@ -117,7 +117,7 @@ void ProvidedFileSystem::CloseFile(
int file_handle,
const fileapi::AsyncFileUtil::StatusCallback& callback) {
if (!request_manager_.CreateRequest(
- RequestManager::CLOSE_FILE,
+ CLOSE_FILE,
scoped_ptr<RequestManager::HandlerInterface>(
new operations::CloseFile(
event_router_, file_system_info_, file_handle, callback)))) {
« no previous file with comments | « no previous file | chrome/browser/chromeos/file_system_provider/request_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698