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 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_JOB_SCHEDULER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_JOB_SCHEDULER_H_ |
6 #define CHROME_BROWSER_CHROMEOS_DRIVE_JOB_SCHEDULER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_DRIVE_JOB_SCHEDULER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/id_map.h" | 11 #include "base/id_map.h" |
12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "base/observer_list.h" | 13 #include "base/observer_list.h" |
14 #include "base/threading/thread_checker.h" | 14 #include "base/threading/thread_checker.h" |
15 #include "chrome/browser/chromeos/drive/job_list.h" | 15 #include "chrome/browser/chromeos/drive/job_list.h" |
16 #include "chrome/browser/chromeos/drive/job_queue.h" | 16 #include "chrome/browser/chromeos/drive/job_queue.h" |
17 #include "chrome/browser/drive/drive_service_interface.h" | 17 #include "components/drive/drive_uploader.h" |
18 #include "chrome/browser/drive/drive_uploader.h" | 18 #include "components/drive/service/drive_service_interface.h" |
19 #include "net/base/network_change_notifier.h" | 19 #include "net/base/network_change_notifier.h" |
20 | 20 |
21 class PrefService; | 21 class PrefService; |
22 | 22 |
23 namespace base { | 23 namespace base { |
24 class SeqencedTaskRunner; | 24 class SeqencedTaskRunner; |
25 } | 25 } |
26 | 26 |
27 namespace drive { | 27 namespace drive { |
28 | 28 |
(...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
402 | 402 |
403 // Note: This should remain the last member so it'll be destroyed and | 403 // Note: This should remain the last member so it'll be destroyed and |
404 // invalidate its weak pointers before any other members are destroyed. | 404 // invalidate its weak pointers before any other members are destroyed. |
405 base::WeakPtrFactory<JobScheduler> weak_ptr_factory_; | 405 base::WeakPtrFactory<JobScheduler> weak_ptr_factory_; |
406 DISALLOW_COPY_AND_ASSIGN(JobScheduler); | 406 DISALLOW_COPY_AND_ASSIGN(JobScheduler); |
407 }; | 407 }; |
408 | 408 |
409 } // namespace drive | 409 } // namespace drive |
410 | 410 |
411 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_JOB_SCHEDULER_H_ | 411 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_JOB_SCHEDULER_H_ |
OLD | NEW |