| 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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 | 132 |
| 133 // DriveServiceObserver Overrides | 133 // DriveServiceObserver Overrides |
| 134 virtual void OnProgressUpdate( | 134 virtual void OnProgressUpdate( |
| 135 const OperationProgressStatusList& list) OVERRIDE; | 135 const OperationProgressStatusList& list) OVERRIDE; |
| 136 | 136 |
| 137 net::URLRequestContextGetter* url_request_context_getter_; // Not owned. | 137 net::URLRequestContextGetter* url_request_context_getter_; // Not owned. |
| 138 scoped_ptr<OperationRunner> runner_; | 138 scoped_ptr<OperationRunner> runner_; |
| 139 ObserverList<DriveServiceObserver> observers_; | 139 ObserverList<DriveServiceObserver> observers_; |
| 140 // Operation objects should hold a copy of this, rather than a const | 140 // Operation objects should hold a copy of this, rather than a const |
| 141 // reference, as they may outlive this object. | 141 // reference, as they may outlive this object. |
| 142 GDataWapiUrlGenerator url_generator_; | 142 const GDataWapiUrlGenerator url_generator_; |
| 143 const std::string custom_user_agent_; | 143 const std::string custom_user_agent_; |
| 144 | 144 |
| 145 DISALLOW_COPY_AND_ASSIGN(GDataWapiService); | 145 DISALLOW_COPY_AND_ASSIGN(GDataWapiService); |
| 146 }; | 146 }; |
| 147 | 147 |
| 148 } // namespace google_apis | 148 } // namespace google_apis |
| 149 | 149 |
| 150 #endif // CHROME_BROWSER_GOOGLE_APIS_GDATA_WAPI_SERVICE_H_ | 150 #endif // CHROME_BROWSER_GOOGLE_APIS_GDATA_WAPI_SERVICE_H_ |
| OLD | NEW |