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> |
11 | 11 |
12 #include "base/files/file_util.h" | 12 #include "base/files/file_util.h" |
13 #include "base/json/json_string_value_serializer.h" | 13 #include "base/json/json_string_value_serializer.h" |
14 #include "base/logging.h" | 14 #include "base/logging.h" |
15 #include "base/md5.h" | 15 #include "base/md5.h" |
16 #include "base/memory/ptr_util.h" | 16 #include "base/memory/ptr_util.h" |
17 #include "base/strings/string_number_conversions.h" | 17 #include "base/strings/string_number_conversions.h" |
18 #include "base/strings/string_split.h" | 18 #include "base/strings/string_split.h" |
19 #include "base/strings/string_tokenizer.h" | 19 #include "base/strings/string_tokenizer.h" |
20 #include "base/strings/string_util.h" | 20 #include "base/strings/string_util.h" |
21 #include "base/strings/stringprintf.h" | 21 #include "base/strings/stringprintf.h" |
22 #include "base/strings/utf_string_conversions.h" | 22 #include "base/strings/utf_string_conversions.h" |
23 #include "base/thread_task_runner_handle.h" | 23 #include "base/threading/thread_task_runner_handle.h" |
24 #include "base/values.h" | 24 #include "base/values.h" |
25 #include "components/drive/drive_api_util.h" | 25 #include "components/drive/drive_api_util.h" |
26 #include "google_apis/drive/drive_api_parser.h" | 26 #include "google_apis/drive/drive_api_parser.h" |
27 #include "google_apis/drive/test_util.h" | 27 #include "google_apis/drive/test_util.h" |
28 #include "net/base/escape.h" | 28 #include "net/base/escape.h" |
29 #include "net/base/url_util.h" | 29 #include "net/base/url_util.h" |
30 | 30 |
31 using google_apis::AboutResource; | 31 using google_apis::AboutResource; |
32 using google_apis::AboutResourceCallback; | 32 using google_apis::AboutResourceCallback; |
33 using google_apis::AppList; | 33 using google_apis::AppList; |
(...skipping 1766 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1800 | 1800 |
1801 NOTREACHED(); | 1801 NOTREACHED(); |
1802 return std::unique_ptr<BatchRequestConfiguratorInterface>(); | 1802 return std::unique_ptr<BatchRequestConfiguratorInterface>(); |
1803 } | 1803 } |
1804 | 1804 |
1805 void FakeDriveService::NotifyObservers() { | 1805 void FakeDriveService::NotifyObservers() { |
1806 FOR_EACH_OBSERVER(ChangeObserver, change_observers_, OnNewChangeAvailable()); | 1806 FOR_EACH_OBSERVER(ChangeObserver, change_observers_, OnNewChangeAvailable()); |
1807 } | 1807 } |
1808 | 1808 |
1809 } // namespace drive | 1809 } // namespace drive |
OLD | NEW |