| 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 CHROME_BROWSER_GOOGLE_APIS_GDATA_WAPI_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_GOOGLE_APIS_GDATA_WAPI_SERVICE_H_ |
| 6 #define CHROME_BROWSER_GOOGLE_APIS_GDATA_WAPI_SERVICE_H_ | 6 #define CHROME_BROWSER_GOOGLE_APIS_GDATA_WAPI_SERVICE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 virtual void OnOAuth2RefreshTokenChanged() OVERRIDE; | 111 virtual void OnOAuth2RefreshTokenChanged() OVERRIDE; |
| 112 | 112 |
| 113 // DriveServiceObserver Overrides | 113 // DriveServiceObserver Overrides |
| 114 virtual void OnProgressUpdate( | 114 virtual void OnProgressUpdate( |
| 115 const OperationProgressStatusList& list) OVERRIDE; | 115 const OperationProgressStatusList& list) OVERRIDE; |
| 116 virtual void OnAuthenticationFailed( | 116 virtual void OnAuthenticationFailed( |
| 117 GDataErrorCode error) OVERRIDE; | 117 GDataErrorCode error) OVERRIDE; |
| 118 | 118 |
| 119 scoped_ptr<OperationRunner> runner_; | 119 scoped_ptr<OperationRunner> runner_; |
| 120 ObserverList<DriveServiceObserver> observers_; | 120 ObserverList<DriveServiceObserver> observers_; |
| 121 // TODO(satorux): This should be injected from the |
| 122 // constructor. crbug.com/161718 |
| 123 GDataWapiUrlGenerator url_generator_; |
| 121 | 124 |
| 122 DISALLOW_COPY_AND_ASSIGN(GDataWapiService); | 125 DISALLOW_COPY_AND_ASSIGN(GDataWapiService); |
| 123 }; | 126 }; |
| 124 | 127 |
| 125 } // namespace google_apis | 128 } // namespace google_apis |
| 126 | 129 |
| 127 #endif // CHROME_BROWSER_GOOGLE_APIS_GDATA_WAPI_SERVICE_H_ | 130 #endif // CHROME_BROWSER_GOOGLE_APIS_GDATA_WAPI_SERVICE_H_ |
| OLD | NEW |