OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_DRIVE_DRIVE_API_SERVICE_H_ | 5 #ifndef COMPONENTS_DRIVE_SERVICE_DRIVE_API_SERVICE_H_ |
6 #define CHROME_BROWSER_DRIVE_DRIVE_API_SERVICE_H_ | 6 #define COMPONENTS_DRIVE_SERVICE_DRIVE_API_SERVICE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
13 #include "base/observer_list.h" | 13 #include "base/observer_list.h" |
14 #include "base/threading/thread_checker.h" | 14 #include "base/threading/thread_checker.h" |
15 #include "chrome/browser/drive/drive_service_interface.h" | 15 #include "components/drive/service/drive_service_interface.h" |
16 #include "google_apis/drive/auth_service_interface.h" | 16 #include "google_apis/drive/auth_service_interface.h" |
17 #include "google_apis/drive/auth_service_observer.h" | 17 #include "google_apis/drive/auth_service_observer.h" |
18 #include "google_apis/drive/drive_api_url_generator.h" | 18 #include "google_apis/drive/drive_api_url_generator.h" |
19 | 19 |
20 class GURL; | 20 class GURL; |
21 class OAuth2TokenService; | 21 class OAuth2TokenService; |
22 | 22 |
23 namespace base { | 23 namespace base { |
24 class FilePath; | 24 class FilePath; |
25 class SequencedTaskRunner; | 25 class SequencedTaskRunner; |
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
253 scoped_ptr<google_apis::RequestSender> sender_; | 253 scoped_ptr<google_apis::RequestSender> sender_; |
254 base::ObserverList<DriveServiceObserver> observers_; | 254 base::ObserverList<DriveServiceObserver> observers_; |
255 google_apis::DriveApiUrlGenerator url_generator_; | 255 google_apis::DriveApiUrlGenerator url_generator_; |
256 const std::string custom_user_agent_; | 256 const std::string custom_user_agent_; |
257 | 257 |
258 DISALLOW_COPY_AND_ASSIGN(DriveAPIService); | 258 DISALLOW_COPY_AND_ASSIGN(DriveAPIService); |
259 }; | 259 }; |
260 | 260 |
261 } // namespace drive | 261 } // namespace drive |
262 | 262 |
263 #endif // CHROME_BROWSER_DRIVE_DRIVE_API_SERVICE_H_ | 263 #endif // COMPONENTS_DRIVE_SERVICE_DRIVE_API_SERVICE_H_ |
OLD | NEW |