| 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/service/fake_drive_service.h" | 5 #include "components/drive/service/fake_drive_service.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <utility> | 10 #include <utility> |
| (...skipping 1775 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1786 | 1786 |
| 1787 std::unique_ptr<BatchRequestConfiguratorInterface> | 1787 std::unique_ptr<BatchRequestConfiguratorInterface> |
| 1788 FakeDriveService::StartBatchRequest() { | 1788 FakeDriveService::StartBatchRequest() { |
| 1789 DCHECK(thread_checker_.CalledOnValidThread()); | 1789 DCHECK(thread_checker_.CalledOnValidThread()); |
| 1790 | 1790 |
| 1791 NOTREACHED(); | 1791 NOTREACHED(); |
| 1792 return std::unique_ptr<BatchRequestConfiguratorInterface>(); | 1792 return std::unique_ptr<BatchRequestConfiguratorInterface>(); |
| 1793 } | 1793 } |
| 1794 | 1794 |
| 1795 void FakeDriveService::NotifyObservers() { | 1795 void FakeDriveService::NotifyObservers() { |
| 1796 FOR_EACH_OBSERVER(ChangeObserver, change_observers_, OnNewChangeAvailable()); | 1796 for (auto& observer : change_observers_) |
| 1797 observer.OnNewChangeAvailable(); |
| 1797 } | 1798 } |
| 1798 | 1799 |
| 1799 } // namespace drive | 1800 } // namespace drive |
| OLD | NEW |