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

Side by Side Diff: chrome/browser/chromeos/file_system_provider/provided_file_system_interface.h

Issue 239993002: [fsp] Create a RequestManager per a ProvidedFileSystem instance. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed and rebased. Created 6 years, 8 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 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_INTERF ACE_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_INTERF ACE_H_
6 #define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_INTERF ACE_H_ 6 #define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_INTERF ACE_H_
7 7
8 #include "webkit/browser/fileapi/async_file_util.h" 8 #include "webkit/browser/fileapi/async_file_util.h"
9 9
10 class EventRouter; 10 class EventRouter;
(...skipping 12 matching lines...) Expand all
23 virtual ~ProvidedFileSystemInterface() {} 23 virtual ~ProvidedFileSystemInterface() {}
24 24
25 // Requests unmounting of the file system. The callback is called when the 25 // Requests unmounting of the file system. The callback is called when the
26 // request is accepted or rejected, with an error code. Returns false if the 26 // request is accepted or rejected, with an error code. Returns false if the
27 // request could not been created, true otherwise. 27 // request could not been created, true otherwise.
28 virtual bool RequestUnmount( 28 virtual bool RequestUnmount(
29 const fileapi::AsyncFileUtil::StatusCallback& callback) = 0; 29 const fileapi::AsyncFileUtil::StatusCallback& callback) = 0;
30 30
31 // Returns a provided file system info for this file system. 31 // Returns a provided file system info for this file system.
32 virtual const ProvidedFileSystemInfo& GetFileSystemInfo() const = 0; 32 virtual const ProvidedFileSystemInfo& GetFileSystemInfo() const = 0;
33
34 // Returns a request manager for the file system.
35 virtual RequestManager* GetRequestManager() = 0;
33 }; 36 };
34 37
35 } // namespace file_system_provider 38 } // namespace file_system_provider
36 } // namespace chromeos 39 } // namespace chromeos
37 40
38 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_INT ERFACE_H_ 41 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_INT ERFACE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698