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

Unified Diff: chrome/browser/chromeos/gdata/gdata_util.cc

Issue 10536065: Fix file handler executer setting wrong cache path permissions on drive. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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/chromeos/extensions/file_handler_util.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/gdata/gdata_util.cc
diff --git a/chrome/browser/chromeos/gdata/gdata_util.cc b/chrome/browser/chromeos/gdata/gdata_util.cc
index b69f120bfec7f6e622376223e957d1ceb4811cce..50e470a1a73840b8ab651b62c48a2d86eea9191e 100644
--- a/chrome/browser/chromeos/gdata/gdata_util.cc
+++ b/chrome/browser/chromeos/gdata/gdata_util.cc
@@ -240,7 +240,8 @@ void InsertGDataCachePathsPermissions(
return;
GDataFileProperties file_properties;
- file_system->GetFileInfoByPath(gdata_path, &file_properties);
+ if (!file_system->GetFileInfoByPath(gdata_path, &file_properties))
+ return;
hshi1 2012/06/08 01:24:08 Nit: need 2-spaces indentation before "return;"
std::string resource_id = file_properties.resource_id;
std::string file_md5 = file_properties.file_md5;
« no previous file with comments | « chrome/browser/chromeos/extensions/file_handler_util.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698