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/drive/fake_drive_service.h" | 5 #include "components/drive/service/fake_drive_service.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "base/files/file_util.h" | 9 #include "base/files/file_util.h" |
10 #include "base/json/json_string_value_serializer.h" | 10 #include "base/json/json_string_value_serializer.h" |
11 #include "base/logging.h" | 11 #include "base/logging.h" |
12 #include "base/md5.h" | 12 #include "base/md5.h" |
13 #include "base/strings/string_number_conversions.h" | 13 #include "base/strings/string_number_conversions.h" |
14 #include "base/strings/string_split.h" | 14 #include "base/strings/string_split.h" |
15 #include "base/strings/string_tokenizer.h" | 15 #include "base/strings/string_tokenizer.h" |
16 #include "base/strings/string_util.h" | 16 #include "base/strings/string_util.h" |
17 #include "base/strings/stringprintf.h" | 17 #include "base/strings/stringprintf.h" |
18 #include "base/strings/utf_string_conversions.h" | 18 #include "base/strings/utf_string_conversions.h" |
19 #include "base/thread_task_runner_handle.h" | 19 #include "base/thread_task_runner_handle.h" |
20 #include "base/values.h" | 20 #include "base/values.h" |
21 #include "chrome/browser/drive/drive_api_util.h" | 21 #include "components/drive/drive_api_util.h" |
22 #include "google_apis/drive/drive_api_parser.h" | 22 #include "google_apis/drive/drive_api_parser.h" |
23 #include "google_apis/drive/test_util.h" | 23 #include "google_apis/drive/test_util.h" |
24 #include "net/base/escape.h" | 24 #include "net/base/escape.h" |
25 #include "net/base/url_util.h" | 25 #include "net/base/url_util.h" |
26 | 26 |
27 using google_apis::AboutResource; | 27 using google_apis::AboutResource; |
28 using google_apis::AboutResourceCallback; | 28 using google_apis::AboutResourceCallback; |
29 using google_apis::AppList; | 29 using google_apis::AppList; |
30 using google_apis::AppListCallback; | 30 using google_apis::AppListCallback; |
31 using google_apis::AuthStatusCallback; | 31 using google_apis::AuthStatusCallback; |
(...skipping 1746 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1778 | 1778 |
1779 NOTREACHED(); | 1779 NOTREACHED(); |
1780 return scoped_ptr<BatchRequestConfiguratorInterface>(); | 1780 return scoped_ptr<BatchRequestConfiguratorInterface>(); |
1781 } | 1781 } |
1782 | 1782 |
1783 void FakeDriveService::NotifyObservers() { | 1783 void FakeDriveService::NotifyObservers() { |
1784 FOR_EACH_OBSERVER(ChangeObserver, change_observers_, OnNewChangeAvailable()); | 1784 FOR_EACH_OBSERVER(ChangeObserver, change_observers_, OnNewChangeAvailable()); |
1785 } | 1785 } |
1786 | 1786 |
1787 } // namespace drive | 1787 } // namespace drive |
OLD | NEW |