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

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

Issue 1088883002: Add events for configuring and adding new providers to FSP API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed. Created 5 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
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 23 matching lines...) Expand all
34 CREATE_DIRECTORY, 34 CREATE_DIRECTORY,
35 DELETE_ENTRY, 35 DELETE_ENTRY,
36 CREATE_FILE, 36 CREATE_FILE,
37 COPY_ENTRY, 37 COPY_ENTRY,
38 MOVE_ENTRY, 38 MOVE_ENTRY,
39 TRUNCATE, 39 TRUNCATE,
40 WRITE_FILE, 40 WRITE_FILE,
41 ABORT, 41 ABORT,
42 ADD_WATCHER, 42 ADD_WATCHER,
43 REMOVE_WATCHER, 43 REMOVE_WATCHER,
44 CONFIGURE,
44 TESTING 45 TESTING
45 }; 46 };
46 47
47 // Converts a request type to human-readable format. 48 // Converts a request type to human-readable format.
48 std::string RequestTypeToString(RequestType type); 49 std::string RequestTypeToString(RequestType type);
49 50
50 // Manages requests between the service, async utils and the providing 51 // Manages requests between the service, async utils and the providing
51 // extensions. 52 // extensions.
52 class RequestManager { 53 class RequestManager {
53 public: 54 public:
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 ObserverList<Observer> observers_; 178 ObserverList<Observer> observers_;
178 base::WeakPtrFactory<RequestManager> weak_ptr_factory_; 179 base::WeakPtrFactory<RequestManager> weak_ptr_factory_;
179 180
180 DISALLOW_COPY_AND_ASSIGN(RequestManager); 181 DISALLOW_COPY_AND_ASSIGN(RequestManager);
181 }; 182 };
182 183
183 } // namespace file_system_provider 184 } // namespace file_system_provider
184 } // namespace chromeos 185 } // namespace chromeos
185 186
186 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_REQUEST_MANAGER_H_ 187 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_REQUEST_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698