OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_SYNC_FILE_SYSTEM_DRIVE_API_UTIL_H_ | 5 #ifndef CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_API_UTIL_H_ |
6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_API_UTIL_H_ | 6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_API_UTIL_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
| 12 #include "base/threading/non_thread_safe.h" |
12 #include "chrome/browser/drive/drive_service_interface.h" | 13 #include "chrome/browser/drive/drive_service_interface.h" |
13 #include "chrome/browser/google_apis/drive_api_url_generator.h" | 14 #include "chrome/browser/google_apis/drive_api_url_generator.h" |
14 #include "chrome/browser/google_apis/gdata_wapi_url_generator.h" | 15 #include "chrome/browser/google_apis/gdata_wapi_url_generator.h" |
15 #include "chrome/browser/sync_file_system/drive/api_util_interface.h" | 16 #include "chrome/browser/sync_file_system/drive/api_util_interface.h" |
16 #include "net/base/network_change_notifier.h" | 17 #include "net/base/network_change_notifier.h" |
17 | 18 |
18 class GURL; | 19 class GURL; |
19 class Profile; | 20 class Profile; |
20 | 21 |
21 namespace drive { class DriveUploaderInterface; } | 22 namespace drive { class DriveUploaderInterface; } |
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
246 | 247 |
247 ObserverList<APIUtilObserver> observers_; | 248 ObserverList<APIUtilObserver> observers_; |
248 | 249 |
249 DISALLOW_COPY_AND_ASSIGN(APIUtil); | 250 DISALLOW_COPY_AND_ASSIGN(APIUtil); |
250 }; | 251 }; |
251 | 252 |
252 } // namespace drive | 253 } // namespace drive |
253 } // namespace sync_file_system | 254 } // namespace sync_file_system |
254 | 255 |
255 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_API_UTIL_H_ | 256 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_API_UTIL_H_ |
OLD | NEW |