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

Side by Side Diff: chrome/browser/chromeos/file_system_provider/request_manager.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_REQUEST_MANAGER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_REQUEST_MANAGER_H_
6 #define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_REQUEST_MANAGER_H_ 6 #define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_REQUEST_MANAGER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 10 matching lines...) Expand all
21 21
22 class Profile; 22 class Profile;
23 23
24 namespace chromeos { 24 namespace chromeos {
25 namespace file_system_provider { 25 namespace file_system_provider {
26 26
27 // Request type, passed to RequestManager::CreateRequest. For logging purposes. 27 // Request type, passed to RequestManager::CreateRequest. For logging purposes.
28 enum RequestType { 28 enum RequestType {
29 REQUEST_UNMOUNT, 29 REQUEST_UNMOUNT,
30 GET_METADATA, 30 GET_METADATA,
31 GET_ACTIONS,
31 READ_DIRECTORY, 32 READ_DIRECTORY,
32 OPEN_FILE, 33 OPEN_FILE,
33 CLOSE_FILE, 34 CLOSE_FILE,
34 READ_FILE, 35 READ_FILE,
35 CREATE_DIRECTORY, 36 CREATE_DIRECTORY,
36 DELETE_ENTRY, 37 DELETE_ENTRY,
37 CREATE_FILE, 38 CREATE_FILE,
38 COPY_ENTRY, 39 COPY_ENTRY,
39 MOVE_ENTRY, 40 MOVE_ENTRY,
40 TRUNCATE, 41 TRUNCATE,
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 base::ObserverList<Observer> observers_; 190 base::ObserverList<Observer> observers_;
190 base::WeakPtrFactory<RequestManager> weak_ptr_factory_; 191 base::WeakPtrFactory<RequestManager> weak_ptr_factory_;
191 192
192 DISALLOW_COPY_AND_ASSIGN(RequestManager); 193 DISALLOW_COPY_AND_ASSIGN(RequestManager);
193 }; 194 };
194 195
195 } // namespace file_system_provider 196 } // namespace file_system_provider
196 } // namespace chromeos 197 } // namespace chromeos
197 198
198 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_REQUEST_MANAGER_H_ 199 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_REQUEST_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698