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

Unified Diff: chrome/browser/dom_ui/filebrowse_ui.cc

Issue 5755004: net: Add namespace net to URLRequestFileJob. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years 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/dom_ui/chrome_url_data_manager.cc ('k') | chrome/browser/extensions/extension_protocols.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/dom_ui/filebrowse_ui.cc
diff --git a/chrome/browser/dom_ui/filebrowse_ui.cc b/chrome/browser/dom_ui/filebrowse_ui.cc
index 764b3103670a37f96dfa7a3415fdce0ca3d7a468..04733f7eca323e338eef34470459112d05d833e9 100644
--- a/chrome/browser/dom_ui/filebrowse_ui.cc
+++ b/chrome/browser/dom_ui/filebrowse_ui.cc
@@ -823,7 +823,7 @@ void FilebrowseHandler::GetChildrenForPath(FilePath& path, bool is_refresh) {
#if defined(OS_CHROMEOS)
// Don't allow listing files in inaccessible dirs.
- if (URLRequestFileJob::AccessDisabled(path))
+ if (net::URLRequestFileJob::AccessDisabled(path))
return;
#endif // OS_CHROMEOS
@@ -971,7 +971,7 @@ void FilebrowseHandler::HandleDeleteFile(const ListValue* args) {
FilePath currentpath(path);
// Don't allow file deletion in inaccessible dirs.
- if (URLRequestFileJob::AccessDisabled(currentpath))
+ if (net::URLRequestFileJob::AccessDisabled(currentpath))
return;
for (unsigned int x = 0; x < active_download_items_.size(); x++) {
@@ -1008,7 +1008,7 @@ void FilebrowseHandler::HandleCopyFile(const ListValue* value) {
FilePath DestPath = FilePath(dest);
// Don't allow file copy to inaccessible dirs.
- if (URLRequestFileJob::AccessDisabled(DestPath))
+ if (net::URLRequestFileJob::AccessDisabled(DestPath))
return;
TaskProxy* task = new TaskProxy(AsWeakPtr(), SrcPath, DestPath);
« no previous file with comments | « chrome/browser/dom_ui/chrome_url_data_manager.cc ('k') | chrome/browser/extensions/extension_protocols.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698