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

Unified Diff: chrome/browser/chromeos/gdata/gdata_contacts_service.cc

Issue 10877006: Rename GDataErrorCode to DriveErrorCode, GDataFileError to DriveFileError (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase. Created 8 years, 4 months 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/gdata/gdata_contacts_service.cc
diff --git a/chrome/browser/chromeos/gdata/gdata_contacts_service.cc b/chrome/browser/chromeos/gdata/gdata_contacts_service.cc
index b1bca7343a7f9b562aa2635ecf4d46930a6073fd..88fd3f5e259bea7e3f307c709cd93cd732e21499 100644
--- a/chrome/browser/chromeos/gdata/gdata_contacts_service.cc
+++ b/chrome/browser/chromeos/gdata/gdata_contacts_service.cc
@@ -19,6 +19,7 @@
#include "base/timer.h"
#include "base/values.h"
#include "chrome/browser/chromeos/contacts/contact.pb.h"
+#include "chrome/browser/chromeos/gdata/drive_errorcode.h"
#include "chrome/browser/chromeos/gdata/gdata_operations.h"
#include "chrome/browser/chromeos/gdata/gdata_util.h"
#include "chrome/browser/chromeos/gdata/operation_registry.h"
@@ -479,7 +480,7 @@ class GDataContactsService::DownloadContactsRequest {
// Callback for GetContactGroupsOperation calls. Starts downloading the
// actual contacts after finding the "My Contacts" group ID.
- void HandleGroupsFeedData(GDataErrorCode error,
+ void HandleGroupsFeedData(DriveErrorCode error,
satorux1 2012/08/22 20:12:21 Hmm... This does not look correct. Contacts is no
Daniel Erat 2012/08/22 20:18:41 Yeah, I think so too. :-(
scoped_ptr<base::Value> feed_data) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
if (error != HTTP_SUCCESS) {
@@ -526,7 +527,7 @@ class GDataContactsService::DownloadContactsRequest {
}
// Callback for GetContactsOperation calls.
- void HandleContactsFeedData(GDataErrorCode error,
+ void HandleContactsFeedData(DriveErrorCode error,
scoped_ptr<base::Value> feed_data) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
if (error != HTTP_SUCCESS) {
@@ -680,7 +681,7 @@ class GDataContactsService::DownloadContactsRequest {
// Callback for GetContactPhotoOperation calls. Updates the associated
// Contact and checks for completion.
void HandlePhotoData(contacts::Contact* contact,
- GDataErrorCode error,
+ DriveErrorCode error,
scoped_ptr<std::string> download_data) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
VLOG(1) << "Got photo data for " << contact->contact_id()
« no previous file with comments | « chrome/browser/chromeos/gdata/gdata_contacts_service.h ('k') | chrome/browser/chromeos/gdata/gdata_download_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698