| 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_CONTACTS_REQUESTS_H_ | 5 #ifndef GOOGLE_APIS_DRIVE_GDATA_CONTACTS_REQUESTS_H_ |
| 6 #define CHROME_BROWSER_GOOGLE_APIS_GDATA_CONTACTS_REQUESTS_H_ | 6 #define GOOGLE_APIS_DRIVE_GDATA_CONTACTS_REQUESTS_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/time/time.h" | 10 #include "base/time/time.h" |
| 11 #include "chrome/browser/google_apis/base_requests.h" | 11 #include "google_apis/drive/base_requests.h" |
| 12 | 12 |
| 13 namespace google_apis { | 13 namespace google_apis { |
| 14 | 14 |
| 15 //========================== GetContactGroupsRequest ========================= | 15 //========================== GetContactGroupsRequest ========================= |
| 16 | 16 |
| 17 // This class fetches a JSON feed containing a user's contact groups. | 17 // This class fetches a JSON feed containing a user's contact groups. |
| 18 class GetContactGroupsRequest : public GetDataRequest { | 18 class GetContactGroupsRequest : public GetDataRequest { |
| 19 public: | 19 public: |
| 20 GetContactGroupsRequest(RequestSender* runner, | 20 GetContactGroupsRequest(RequestSender* runner, |
| 21 const GetDataCallback& callback); | 21 const GetDataCallback& callback); |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 GURL photo_url_; | 92 GURL photo_url_; |
| 93 | 93 |
| 94 // Callback to which the photo data is passed. | 94 // Callback to which the photo data is passed. |
| 95 GetContentCallback callback_; | 95 GetContentCallback callback_; |
| 96 | 96 |
| 97 DISALLOW_COPY_AND_ASSIGN(GetContactPhotoRequest); | 97 DISALLOW_COPY_AND_ASSIGN(GetContactPhotoRequest); |
| 98 }; | 98 }; |
| 99 | 99 |
| 100 } // namespace google_apis | 100 } // namespace google_apis |
| 101 | 101 |
| 102 #endif // CHROME_BROWSER_GOOGLE_APIS_GDATA_CONTACTS_REQUESTS_H_ | 102 #endif // GOOGLE_APIS_DRIVE_GDATA_CONTACTS_REQUESTS_H_ |
| OLD | NEW |