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

Unified Diff: chrome/browser/ui/webui/screenshot_source.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
« no previous file with comments | « chrome/browser/ui/webui/screenshot_source.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/screenshot_source.cc
diff --git a/chrome/browser/ui/webui/screenshot_source.cc b/chrome/browser/ui/webui/screenshot_source.cc
index aee6978eebf8fdcbcafbed3ea3de755071454402..a4dd83477a0755a79228de9cb35a88b9ea1b2f70 100644
--- a/chrome/browser/ui/webui/screenshot_source.cc
+++ b/chrome/browser/ui/webui/screenshot_source.cc
@@ -142,11 +142,11 @@ void ScreenshotSource::SendSavedScreenshot(
void ScreenshotSource::GetSavedScreenshotCallback(
const std::string& screenshot_path,
int request_id,
- gdata::GDataFileError error,
+ gdata::DriveFileError error,
const FilePath& file,
const std::string& unused_mime_type,
gdata::DriveFileType file_type) {
- if (error != gdata::GDATA_FILE_OK || file_type != gdata::REGULAR_FILE) {
+ if (error != gdata::DRIVE_FILE_OK || file_type != gdata::REGULAR_FILE) {
ScreenshotDataPtr read_bytes(new ScreenshotData);
CacheAndSendScreenshot(screenshot_path, request_id, read_bytes);
return;
« no previous file with comments | « chrome/browser/ui/webui/screenshot_source.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698