OLD | NEW |
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 #include "chrome/browser/chromeos/file_system_provider/request_manager.h" | 5 #include "chrome/browser/chromeos/file_system_provider/request_manager.h" |
6 | 6 |
7 #include "base/files/file.h" | 7 #include "base/files/file.h" |
8 #include "base/stl_util.h" | 8 #include "base/stl_util.h" |
9 #include "base/trace_event/trace_event.h" | 9 #include "base/trace_event/trace_event.h" |
10 | 10 |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 case TRUNCATE: | 45 case TRUNCATE: |
46 return "TRUNCATE"; | 46 return "TRUNCATE"; |
47 case WRITE_FILE: | 47 case WRITE_FILE: |
48 return "WRITE_FILE"; | 48 return "WRITE_FILE"; |
49 case ABORT: | 49 case ABORT: |
50 return "ABORT"; | 50 return "ABORT"; |
51 case ADD_WATCHER: | 51 case ADD_WATCHER: |
52 return "ADD_WATCHER"; | 52 return "ADD_WATCHER"; |
53 case REMOVE_WATCHER: | 53 case REMOVE_WATCHER: |
54 return "REMOVE_WATCHER"; | 54 return "REMOVE_WATCHER"; |
| 55 case CONFIGURE: |
| 56 return "CONFIGURE"; |
55 case TESTING: | 57 case TESTING: |
56 return "TESTING"; | 58 return "TESTING"; |
57 } | 59 } |
58 NOTREACHED(); | 60 NOTREACHED(); |
59 return ""; | 61 return ""; |
60 } | 62 } |
61 | 63 |
62 RequestManager::RequestManager( | 64 RequestManager::RequestManager( |
63 NotificationManagerInterface* notification_manager) | 65 NotificationManagerInterface* notification_manager) |
64 : notification_manager_(notification_manager), | 66 : notification_manager_(notification_manager), |
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
252 notification_manager_->HideUnresponsiveNotification(request_id); | 254 notification_manager_->HideUnresponsiveNotification(request_id); |
253 | 255 |
254 FOR_EACH_OBSERVER(Observer, observers_, OnRequestDestroyed(request_id)); | 256 FOR_EACH_OBSERVER(Observer, observers_, OnRequestDestroyed(request_id)); |
255 | 257 |
256 TRACE_EVENT_ASYNC_END0( | 258 TRACE_EVENT_ASYNC_END0( |
257 "file_system_provider", "RequestManager::Request", request_id); | 259 "file_system_provider", "RequestManager::Request", request_id); |
258 } | 260 } |
259 | 261 |
260 } // namespace file_system_provider | 262 } // namespace file_system_provider |
261 } // namespace chromeos | 263 } // namespace chromeos |
OLD | NEW |