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

Side by Side Diff: content/shell/browser/shell_network_delegate.h

Issue 2786583002: chromeos: Check both original and absolute paths for file: scheme (Closed)
Patch Set: remove dcheck Created 3 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_SHELL_BROWSER_SHELL_NETWORK_DELEGATE_H_ 5 #ifndef CONTENT_SHELL_BROWSER_SHELL_NETWORK_DELEGATE_H_
6 #define CONTENT_SHELL_BROWSER_SHELL_NETWORK_DELEGATE_H_ 6 #define CONTENT_SHELL_BROWSER_SHELL_NETWORK_DELEGATE_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "net/base/network_delegate_impl.h" 10 #include "net/base/network_delegate_impl.h"
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 net::URLRequest* request, 47 net::URLRequest* request,
48 const net::AuthChallengeInfo& auth_info, 48 const net::AuthChallengeInfo& auth_info,
49 const AuthCallback& callback, 49 const AuthCallback& callback,
50 net::AuthCredentials* credentials) override; 50 net::AuthCredentials* credentials) override;
51 bool OnCanGetCookies(const net::URLRequest& request, 51 bool OnCanGetCookies(const net::URLRequest& request,
52 const net::CookieList& cookie_list) override; 52 const net::CookieList& cookie_list) override;
53 bool OnCanSetCookie(const net::URLRequest& request, 53 bool OnCanSetCookie(const net::URLRequest& request,
54 const std::string& cookie_line, 54 const std::string& cookie_line,
55 net::CookieOptions* options) override; 55 net::CookieOptions* options) override;
56 bool OnCanAccessFile(const net::URLRequest& request, 56 bool OnCanAccessFile(const net::URLRequest& request,
57 const base::FilePath& path) const override; 57 const base::FilePath& original_path,
58 const base::FilePath& absolute_path) const override;
58 bool OnAreExperimentalCookieFeaturesEnabled() const override; 59 bool OnAreExperimentalCookieFeaturesEnabled() const override;
59 bool OnCancelURLRequestWithPolicyViolatingReferrerHeader( 60 bool OnCancelURLRequestWithPolicyViolatingReferrerHeader(
60 const net::URLRequest& request, 61 const net::URLRequest& request,
61 const GURL& target_url, 62 const GURL& target_url,
62 const GURL& referrer_url) const override; 63 const GURL& referrer_url) const override;
63 64
64 DISALLOW_COPY_AND_ASSIGN(ShellNetworkDelegate); 65 DISALLOW_COPY_AND_ASSIGN(ShellNetworkDelegate);
65 }; 66 };
66 67
67 } // namespace content 68 } // namespace content
68 69
69 #endif // CONTENT_SHELL_BROWSER_SHELL_NETWORK_DELEGATE_H_ 70 #endif // CONTENT_SHELL_BROWSER_SHELL_NETWORK_DELEGATE_H_
OLDNEW
« no previous file with comments | « components/cronet/android/cronet_url_request_context_adapter.cc ('k') | content/shell/browser/shell_network_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698