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

Unified Diff: chrome/browser/chromeos/extensions/file_manager_util.cc

Issue 10877006: Rename GDataErrorCode to DriveErrorCode, GDataFileError to DriveFileError (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: minor local variable name fix. 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/extensions/file_manager_util.cc
diff --git a/chrome/browser/chromeos/extensions/file_manager_util.cc b/chrome/browser/chromeos/extensions/file_manager_util.cc
index 74a50b2b568da3c7e2b55eb7dc8a5d0cec46f7e6..8899891d54deefb4b1facc70fb42785dab5c3a01 100644
--- a/chrome/browser/chromeos/extensions/file_manager_util.cc
+++ b/chrome/browser/chromeos/extensions/file_manager_util.cc
@@ -233,14 +233,14 @@ void ShowWarningMessageBox(Profile* profile, const FilePath& path) {
void OnGDataFileFound(Profile* profile,
const FilePath& file_path,
gdata::DriveFileType file_type,
- gdata::GDataFileError error,
+ gdata::DriveFileError error,
scoped_ptr<gdata::DriveEntryProto> entry_proto) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
if (entry_proto.get() && !entry_proto->has_file_specific_info())
- error = gdata::GDATA_FILE_ERROR_NOT_FOUND;
+ error = gdata::DRIVE_FILE_ERROR_NOT_FOUND;
- if (error == gdata::GDATA_FILE_OK) {
+ if (error == gdata::DRIVE_FILE_OK) {
GURL page_url;
if (file_type == gdata::REGULAR_FILE) {
page_url = gdata::util::GetFileResourceUrl(
« no previous file with comments | « chrome/browser/chromeos/extensions/file_browser_private_api.cc ('k') | chrome/browser/chromeos/gdata/drive_api_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698