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

Unified Diff: chrome/browser/ui/webui/screenshot_source.cc

Issue 11106007: drive: Rename 'gdata' namespace to 'drive' in chrome/browser/chromeos/drive (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 2 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 662d0605581578ed71812c2035a7445dcbd2062c..91541e9684e952cdeea86752020c8e683e5f4239 100644
--- a/chrome/browser/ui/webui/screenshot_source.cc
+++ b/chrome/browser/ui/webui/screenshot_source.cc
@@ -188,9 +188,9 @@ void ScreenshotSource::SendScreenshot(const std::string& screenshot_path,
FilePath download_path;
GetScreenshotDirectory(&download_path);
- if (gdata::util::IsUnderDriveMountPoint(download_path)) {
- gdata::DriveFileSystemInterface* file_system =
- gdata::DriveSystemServiceFactory::GetForProfile(
+ if (drive::util::IsUnderDriveMountPoint(download_path)) {
+ drive::DriveFileSystemInterface* file_system =
+ drive::DriveSystemServiceFactory::GetForProfile(
profile_)->file_system();
file_system->GetFileByResourceId(
decoded_filename,
@@ -236,11 +236,11 @@ void ScreenshotSource::SendSavedScreenshot(
void ScreenshotSource::GetSavedScreenshotCallback(
const std::string& screenshot_path,
int request_id,
- gdata::DriveFileError error,
+ drive::DriveFileError error,
const FilePath& file,
const std::string& unused_mime_type,
- gdata::DriveFileType file_type) {
- if (error != gdata::DRIVE_FILE_OK || file_type != gdata::REGULAR_FILE) {
+ drive::DriveFileType file_type) {
+ if (error != drive::DRIVE_FILE_OK || file_type != drive::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