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

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

Issue 258783006: [fsp] Add the getMetadata operation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed a lot. 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 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_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_H_
6 #define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_H_ 6 #define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_H_
7 7
8 #include "chrome/browser/chromeos/file_system_provider/provided_file_system_info .h" 8 #include "chrome/browser/chromeos/file_system_provider/provided_file_system_info .h"
9 #include "chrome/browser/chromeos/file_system_provider/provided_file_system_inte rface.h" 9 #include "chrome/browser/chromeos/file_system_provider/provided_file_system_inte rface.h"
10 #include "chrome/browser/chromeos/file_system_provider/request_manager.h" 10 #include "chrome/browser/chromeos/file_system_provider/request_manager.h"
(...skipping 14 matching lines...) Expand all
25 // clients. 25 // clients.
26 class ProvidedFileSystem : public ProvidedFileSystemInterface { 26 class ProvidedFileSystem : public ProvidedFileSystemInterface {
27 public: 27 public:
28 ProvidedFileSystem(extensions::EventRouter* event_router, 28 ProvidedFileSystem(extensions::EventRouter* event_router,
29 const ProvidedFileSystemInfo& file_system_info); 29 const ProvidedFileSystemInfo& file_system_info);
30 virtual ~ProvidedFileSystem(); 30 virtual ~ProvidedFileSystem();
31 31
32 // ProvidedFileSystemInterface overrides. 32 // ProvidedFileSystemInterface overrides.
33 virtual void RequestUnmount( 33 virtual void RequestUnmount(
34 const fileapi::AsyncFileUtil::StatusCallback& callback) OVERRIDE; 34 const fileapi::AsyncFileUtil::StatusCallback& callback) OVERRIDE;
35 virtual void GetMetadata(
36 const base::FilePath& entry_path,
37 const fileapi::AsyncFileUtil::GetFileInfoCallback& callback) OVERRIDE;
35 virtual const ProvidedFileSystemInfo& GetFileSystemInfo() const OVERRIDE; 38 virtual const ProvidedFileSystemInfo& GetFileSystemInfo() const OVERRIDE;
36 virtual RequestManager* GetRequestManager() OVERRIDE; 39 virtual RequestManager* GetRequestManager() OVERRIDE;
37 40
38 private: 41 private:
39 extensions::EventRouter* event_router_; 42 extensions::EventRouter* event_router_;
40 RequestManager request_manager_; 43 RequestManager request_manager_;
41 ProvidedFileSystemInfo file_system_info_; 44 ProvidedFileSystemInfo file_system_info_;
42 45
43 DISALLOW_COPY_AND_ASSIGN(ProvidedFileSystem); 46 DISALLOW_COPY_AND_ASSIGN(ProvidedFileSystem);
44 }; 47 };
45 48
46 } // namespace file_system_provider 49 } // namespace file_system_provider
47 } // namespace chromeos 50 } // namespace chromeos
48 51
49 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_H_ 52 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698