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

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

Issue 10905142: Rename GData to Drive in drive_file_system_util (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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/browser.cc ('k') | chrome/browser/ui/webui/screenshot_source.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/feedback_ui.cc
diff --git a/chrome/browser/ui/webui/feedback_ui.cc b/chrome/browser/ui/webui/feedback_ui.cc
index 7ea14f77081b85e0932b6753a6a70a280722705c..be93619f6a55359394ba3198241d3395dacb2980 100644
--- a/chrome/browser/ui/webui/feedback_ui.cc
+++ b/chrome/browser/ui/webui/feedback_ui.cc
@@ -561,7 +561,7 @@ void FeedbackHandler::HandleRefreshSavedScreenshots(const ListValue*) {
base::Closure refresh_callback = base::Bind(
&FeedbackHandler::RefreshSavedScreenshotsCallback,
AsWeakPtr(), base::Owned(saved_screenshots));
- if (gdata::util::IsUnderGDataMountPoint(filepath)) {
+ if (gdata::util::IsUnderDriveMountPoint(filepath)) {
GetMostRecentScreenshotsGData(
filepath, saved_screenshots, kMaxSavedScreenshots, refresh_callback);
} else {
@@ -588,7 +588,7 @@ void FeedbackHandler::GetMostRecentScreenshotsGData(
gdata::DriveSystemServiceFactory::GetForProfile(
Profile::FromWebUI(web_ui()))->file_system();
file_system->ReadDirectoryByPath(
- gdata::util::ExtractGDataPath(filepath),
+ gdata::util::ExtractDrivePath(filepath),
base::Bind(&ReadDirectoryCallback, max_saved, saved_screenshots,
callback));
}
« no previous file with comments | « chrome/browser/ui/browser.cc ('k') | chrome/browser/ui/webui/screenshot_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698