| 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 "chrome/browser/chromeos/drive/change_list_loader.h" | 5 #include "components/drive/change_list_loader.h" |
| 6 | 6 |
| 7 #include <set> | 7 #include <set> |
| 8 | 8 |
| 9 #include "base/callback.h" | 9 #include "base/callback.h" |
| 10 #include "base/callback_helpers.h" | 10 #include "base/callback_helpers.h" |
| 11 #include "base/metrics/histogram.h" | 11 #include "base/metrics/histogram.h" |
| 12 #include "base/strings/string_number_conversions.h" | 12 #include "base/strings/string_number_conversions.h" |
| 13 #include "base/synchronization/cancellation_flag.h" | 13 #include "base/synchronization/cancellation_flag.h" |
| 14 #include "base/thread_task_runner_handle.h" | 14 #include "base/thread_task_runner_handle.h" |
| 15 #include "base/time/time.h" | 15 #include "base/time/time.h" |
| 16 #include "chrome/browser/chromeos/drive/change_list_loader_observer.h" | 16 #include "components/drive/change_list_loader_observer.h" |
| 17 #include "chrome/browser/chromeos/drive/change_list_processor.h" | 17 #include "components/drive/change_list_processor.h" |
| 18 #include "components/drive/event_logger.h" | 18 #include "components/drive/event_logger.h" |
| 19 #include "components/drive/file_system_core_util.h" | 19 #include "components/drive/file_system_core_util.h" |
| 20 #include "components/drive/job_scheduler.h" | 20 #include "components/drive/job_scheduler.h" |
| 21 #include "components/drive/resource_metadata.h" | 21 #include "components/drive/resource_metadata.h" |
| 22 #include "google_apis/drive/drive_api_parser.h" | 22 #include "google_apis/drive/drive_api_parser.h" |
| 23 #include "url/gurl.h" | 23 #include "url/gurl.h" |
| 24 | 24 |
| 25 namespace drive { | 25 namespace drive { |
| 26 namespace internal { | 26 namespace internal { |
| 27 | 27 |
| (...skipping 548 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 576 | 576 |
| 577 OnChangeListLoadComplete(error); | 577 OnChangeListLoadComplete(error); |
| 578 | 578 |
| 579 FOR_EACH_OBSERVER(ChangeListLoaderObserver, | 579 FOR_EACH_OBSERVER(ChangeListLoaderObserver, |
| 580 observers_, | 580 observers_, |
| 581 OnLoadFromServerComplete()); | 581 OnLoadFromServerComplete()); |
| 582 } | 582 } |
| 583 | 583 |
| 584 } // namespace internal | 584 } // namespace internal |
| 585 } // namespace drive | 585 } // namespace drive |
| OLD | NEW |