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 #ifndef COMPONENTS_DRIVE_SERVICE_DRIVE_API_SERVICE_H_ | 5 #ifndef COMPONENTS_DRIVE_SERVICE_DRIVE_API_SERVICE_H_ |
6 #define COMPONENTS_DRIVE_SERVICE_DRIVE_API_SERVICE_H_ | 6 #define COMPONENTS_DRIVE_SERVICE_DRIVE_API_SERVICE_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
11 #include <string> | 11 #include <string> |
12 | 12 |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
15 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
16 #include "base/observer_list.h" | 16 #include "base/observer_list.h" |
| 17 #include "base/threading/non_thread_safe.h" |
17 #include "base/threading/thread_checker.h" | 18 #include "base/threading/thread_checker.h" |
18 #include "components/drive/service/drive_service_interface.h" | 19 #include "components/drive/service/drive_service_interface.h" |
19 #include "google_apis/drive/auth_service_interface.h" | 20 #include "google_apis/drive/auth_service_interface.h" |
20 #include "google_apis/drive/auth_service_observer.h" | 21 #include "google_apis/drive/auth_service_observer.h" |
21 #include "google_apis/drive/drive_api_url_generator.h" | 22 #include "google_apis/drive/drive_api_url_generator.h" |
22 #include "net/traffic_annotation/network_traffic_annotation.h" | 23 #include "net/traffic_annotation/network_traffic_annotation.h" |
23 | 24 |
24 class GURL; | 25 class GURL; |
25 class OAuth2TokenService; | 26 class OAuth2TokenService; |
26 | 27 |
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
274 google_apis::DriveApiUrlGenerator url_generator_; | 275 google_apis::DriveApiUrlGenerator url_generator_; |
275 const std::string custom_user_agent_; | 276 const std::string custom_user_agent_; |
276 const net::NetworkTrafficAnnotationTag traffic_annotation_; | 277 const net::NetworkTrafficAnnotationTag traffic_annotation_; |
277 | 278 |
278 DISALLOW_COPY_AND_ASSIGN(DriveAPIService); | 279 DISALLOW_COPY_AND_ASSIGN(DriveAPIService); |
279 }; | 280 }; |
280 | 281 |
281 } // namespace drive | 282 } // namespace drive |
282 | 283 |
283 #endif // COMPONENTS_DRIVE_SERVICE_DRIVE_API_SERVICE_H_ | 284 #endif // COMPONENTS_DRIVE_SERVICE_DRIVE_API_SERVICE_H_ |
OLD | NEW |