Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(203)

Side by Side Diff: chrome/browser/google_apis/gdata_wapi_service.h

Issue 11418084: google_apis: Introduce GDataWapiUrlGenerator class (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: polish Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698