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

Unified Diff: content/shell/shell_network_delegate.cc

Issue 10068021: Fix file access on Chrome for ChromeOS on Linux (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review changes Created 8 years, 8 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
Index: content/shell/shell_network_delegate.cc
diff --git a/content/shell/shell_network_delegate.cc b/content/shell/shell_network_delegate.cc
index 91bd3496974043504d1dea4765883c881239df6c..89797f341b868a0743cf0e14c9525135e24d79f4 100644
--- a/content/shell/shell_network_delegate.cc
+++ b/content/shell/shell_network_delegate.cc
@@ -70,16 +70,20 @@ ShellNetworkDelegate::AuthRequiredResponse ShellNetworkDelegate::OnAuthRequired(
return AUTH_REQUIRED_RESPONSE_NO_ACTION;
}
-bool ShellNetworkDelegate::CanGetCookies(
- const net::URLRequest* request,
- const net::CookieList& cookie_list) {
+bool ShellNetworkDelegate::CanGetCookies(const net::URLRequest& request,
+ const net::CookieList& cookie_list) {
return true;
}
-bool ShellNetworkDelegate::CanSetCookie(const net::URLRequest* request,
+bool ShellNetworkDelegate::CanSetCookie(const net::URLRequest& request,
const std::string& cookie_line,
net::CookieOptions* options) {
return true;
}
+bool ShellNetworkDelegate::CanAccessFile(const net::URLRequest& request,
+ const FilePath& path) const {
+ return true;
+}
+
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698