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

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

Issue 1151763007: Add the boilerplate for actions to File System Provider API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed. Created 5 years, 6 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
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 <string> 8 #include <string>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 // Used by unit tests. 88 // Used by unit tests.
89 void SetNotificationManagerForTesting( 89 void SetNotificationManagerForTesting(
90 scoped_ptr<NotificationManagerInterface> notification_manager); 90 scoped_ptr<NotificationManagerInterface> notification_manager);
91 91
92 // ProvidedFileSystemInterface overrides. 92 // ProvidedFileSystemInterface overrides.
93 AbortCallback RequestUnmount( 93 AbortCallback RequestUnmount(
94 const storage::AsyncFileUtil::StatusCallback& callback) override; 94 const storage::AsyncFileUtil::StatusCallback& callback) override;
95 AbortCallback GetMetadata(const base::FilePath& entry_path, 95 AbortCallback GetMetadata(const base::FilePath& entry_path,
96 MetadataFieldMask fields, 96 MetadataFieldMask fields,
97 const GetMetadataCallback& callback) override; 97 const GetMetadataCallback& callback) override;
98 AbortCallback GetActions(const base::FilePath& entry_path,
99 const GetActionsCallback& callback) override;
98 AbortCallback ReadDirectory( 100 AbortCallback ReadDirectory(
99 const base::FilePath& directory_path, 101 const base::FilePath& directory_path,
100 const storage::AsyncFileUtil::ReadDirectoryCallback& callback) override; 102 const storage::AsyncFileUtil::ReadDirectoryCallback& callback) override;
101 AbortCallback OpenFile(const base::FilePath& file_path, 103 AbortCallback OpenFile(const base::FilePath& file_path,
102 OpenFileMode mode, 104 OpenFileMode mode,
103 const OpenFileCallback& callback) override; 105 const OpenFileCallback& callback) override;
104 AbortCallback CloseFile( 106 AbortCallback CloseFile(
105 int file_handle, 107 int file_handle,
106 const storage::AsyncFileUtil::StatusCallback& callback) override; 108 const storage::AsyncFileUtil::StatusCallback& callback) override;
107 AbortCallback ReadFile(int file_handle, 109 AbortCallback ReadFile(int file_handle,
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 base::ObserverList<ProvidedFileSystemObserver> observers_; 245 base::ObserverList<ProvidedFileSystemObserver> observers_;
244 246
245 base::WeakPtrFactory<ProvidedFileSystem> weak_ptr_factory_; 247 base::WeakPtrFactory<ProvidedFileSystem> weak_ptr_factory_;
246 DISALLOW_COPY_AND_ASSIGN(ProvidedFileSystem); 248 DISALLOW_COPY_AND_ASSIGN(ProvidedFileSystem);
247 }; 249 };
248 250
249 } // namespace file_system_provider 251 } // namespace file_system_provider
250 } // namespace chromeos 252 } // namespace chromeos
251 253
252 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_H_ 254 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698