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/debug/trace_event.h" | |
8 #include "base/files/file.h" | 7 #include "base/files/file.h" |
9 #include "base/stl_util.h" | 8 #include "base/stl_util.h" |
| 9 #include "base/trace_event/trace_event.h" |
10 | 10 |
11 namespace chromeos { | 11 namespace chromeos { |
12 namespace file_system_provider { | 12 namespace file_system_provider { |
13 namespace { | 13 namespace { |
14 | 14 |
15 // Timeout in seconds, before a request is considered as stale and hence | 15 // Timeout in seconds, before a request is considered as stale and hence |
16 // aborted. | 16 // aborted. |
17 const int kDefaultTimeout = 10; | 17 const int kDefaultTimeout = 10; |
18 | 18 |
19 } // namespace | 19 } // namespace |
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
252 notification_manager_->HideUnresponsiveNotification(request_id); | 252 notification_manager_->HideUnresponsiveNotification(request_id); |
253 | 253 |
254 FOR_EACH_OBSERVER(Observer, observers_, OnRequestDestroyed(request_id)); | 254 FOR_EACH_OBSERVER(Observer, observers_, OnRequestDestroyed(request_id)); |
255 | 255 |
256 TRACE_EVENT_ASYNC_END0( | 256 TRACE_EVENT_ASYNC_END0( |
257 "file_system_provider", "RequestManager::Request", request_id); | 257 "file_system_provider", "RequestManager::Request", request_id); |
258 } | 258 } |
259 | 259 |
260 } // namespace file_system_provider | 260 } // namespace file_system_provider |
261 } // namespace chromeos | 261 } // namespace chromeos |
OLD | NEW |