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

Unified Diff: chrome/browser/ui/webui/print_preview/print_preview_handler.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/feedback_ui.cc ('k') | chrome/browser/ui/webui/screenshot_source.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/print_preview/print_preview_handler.cc
diff --git a/chrome/browser/ui/webui/print_preview/print_preview_handler.cc b/chrome/browser/ui/webui/print_preview/print_preview_handler.cc
index 7d1008f8dabed31247450e19e54c5468605d6d20..ab769bc9e1697aab32567de4f4e0a198ec8a787d 100644
--- a/chrome/browser/ui/webui/print_preview/print_preview_handler.cc
+++ b/chrome/browser/ui/webui/print_preview/print_preview_handler.cc
@@ -221,9 +221,9 @@ void PrintToPdfCallback(Metafile* metafile, const FilePath& path) {
#ifdef OS_CHROMEOS
void PrintToPdfCallbackWithCheck(Metafile* metafile,
- gdata::GDataFileError error,
+ gdata::DriveFileError error,
const FilePath& path) {
- if (error != gdata::GDATA_FILE_OK) {
+ if (error != gdata::DRIVE_FILE_OK) {
LOG(ERROR) << "Save to pdf failed to write: " << error;
} else {
metafile->SaveTo(path);
« no previous file with comments | « chrome/browser/ui/webui/feedback_ui.cc ('k') | chrome/browser/ui/webui/screenshot_source.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698