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

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

Issue 10836354: Rename GData* to Drive* in gdata.proto (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_download_observer.cc
diff --git a/chrome/browser/chromeos/gdata/gdata_download_observer.cc b/chrome/browser/chromeos/gdata/gdata_download_observer.cc
index d36ad813263927c5050f2c5a26e37d89b9ee4655..826fc87f3680bb09dfe5cc35beb590ad5a250e33 100644
--- a/chrome/browser/chromeos/gdata/gdata_download_observer.cc
+++ b/chrome/browser/chromeos/gdata/gdata_download_observer.cc
@@ -9,8 +9,8 @@
#include "base/callback.h"
#include "base/file_util.h"
#include "base/supports_user_data.h"
+#include "chrome/browser/chromeos/gdata/drive.pb.h"
#include "chrome/browser/chromeos/gdata/drive_service_interface.h"
-#include "chrome/browser/chromeos/gdata/gdata.pb.h"
#include "chrome/browser/chromeos/gdata/gdata_file_system_interface.h"
#include "chrome/browser/chromeos/gdata/gdata_system_service.h"
#include "chrome/browser/chromeos/gdata/gdata_upload_file_info.h"
@@ -150,7 +150,7 @@ void OnEntryFound(Profile* profile,
const FilePath& gdata_dir_path,
const base::Closure& substitute_callback,
GDataFileError error,
- scoped_ptr<GDataEntryProto> entry_proto) {
+ scoped_ptr<DriveEntryProto> entry_proto) {
if (error == GDATA_FILE_ERROR_NOT_FOUND) {
// Destination gdata directory doesn't exist, so create it.
const bool is_exclusive = false, is_recursive = true;
@@ -506,7 +506,7 @@ void GDataDownloadObserver::CreateUploadFileInfoAfterCheckExistence(
int32 download_id,
scoped_ptr<UploadFileInfo> upload_file_info,
GDataFileError error,
- scoped_ptr<GDataEntryProto> entry_proto) {
+ scoped_ptr<DriveEntryProto> entry_proto) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
DCHECK(upload_file_info.get());
@@ -560,7 +560,7 @@ void GDataDownloadObserver::CreateUploadFileInfoAfterCheckTargetDir(
int32 download_id,
scoped_ptr<UploadFileInfo> upload_file_info,
GDataFileError error,
- scoped_ptr<GDataEntryProto> entry_proto) {
+ scoped_ptr<DriveEntryProto> entry_proto) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
DCHECK(upload_file_info.get());

Powered by Google App Engine
This is Rietveld 408576698