OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "components/drive/job_scheduler.h" | 5 #include "components/drive/job_scheduler.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 #include <algorithm> | 8 #include <algorithm> |
9 #include <utility> | 9 #include <utility> |
10 | 10 |
11 #include "base/files/file_util.h" | 11 #include "base/files/file_util.h" |
| 12 #include "base/memory/ptr_util.h" |
12 #include "base/metrics/histogram_macros.h" | 13 #include "base/metrics/histogram_macros.h" |
13 #include "base/rand_util.h" | 14 #include "base/rand_util.h" |
14 #include "base/strings/string_number_conversions.h" | 15 #include "base/strings/string_number_conversions.h" |
15 #include "base/strings/stringprintf.h" | 16 #include "base/strings/stringprintf.h" |
16 #include "base/threading/thread_task_runner_handle.h" | 17 #include "base/threading/thread_task_runner_handle.h" |
17 #include "components/drive/drive_pref_names.h" | 18 #include "components/drive/drive_pref_names.h" |
18 #include "components/drive/event_logger.h" | 19 #include "components/drive/event_logger.h" |
19 #include "components/prefs/pref_service.h" | 20 #include "components/prefs/pref_service.h" |
20 #include "google_apis/drive/drive_api_parser.h" | 21 #include "google_apis/drive/drive_api_parser.h" |
21 | 22 |
(...skipping 1169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1191 case FILE_QUEUE: | 1192 case FILE_QUEUE: |
1192 return "FILE_QUEUE"; | 1193 return "FILE_QUEUE"; |
1193 case NUM_QUEUES: | 1194 case NUM_QUEUES: |
1194 break; // This value is just a sentinel. Should never be used. | 1195 break; // This value is just a sentinel. Should never be used. |
1195 } | 1196 } |
1196 NOTREACHED(); | 1197 NOTREACHED(); |
1197 return ""; | 1198 return ""; |
1198 } | 1199 } |
1199 | 1200 |
1200 } // namespace drive | 1201 } // namespace drive |
OLD | NEW |