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

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

Issue 10068021: Fix file access on Chrome for ChromeOS on Linux (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix net unittests Created 8 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/net/chrome_network_delegate.cc ('k') | content/shell/shell_network_delegate.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_SHELL_NETWORK_DELEGATE_H_ 5 #ifndef CONTENT_SHELL_SHELL_NETWORK_DELEGATE_H_
6 #define CONTENT_SHELL_SHELL_NETWORK_DELEGATE_H_ 6 #define CONTENT_SHELL_SHELL_NETWORK_DELEGATE_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 29 matching lines...) Expand all
40 int bytes_read) OVERRIDE; 40 int bytes_read) OVERRIDE;
41 virtual void OnCompleted(net::URLRequest* request, bool started) OVERRIDE; 41 virtual void OnCompleted(net::URLRequest* request, bool started) OVERRIDE;
42 virtual void OnURLRequestDestroyed(net::URLRequest* request) OVERRIDE; 42 virtual void OnURLRequestDestroyed(net::URLRequest* request) OVERRIDE;
43 virtual void OnPACScriptError(int line_number, 43 virtual void OnPACScriptError(int line_number,
44 const string16& error) OVERRIDE; 44 const string16& error) OVERRIDE;
45 virtual AuthRequiredResponse OnAuthRequired( 45 virtual AuthRequiredResponse OnAuthRequired(
46 net::URLRequest* request, 46 net::URLRequest* request,
47 const net::AuthChallengeInfo& auth_info, 47 const net::AuthChallengeInfo& auth_info,
48 const AuthCallback& callback, 48 const AuthCallback& callback,
49 net::AuthCredentials* credentials) OVERRIDE; 49 net::AuthCredentials* credentials) OVERRIDE;
50 virtual bool CanGetCookies( 50 virtual bool OnCanGetCookies(const net::URLRequest& request,
51 const net::URLRequest* request, 51 const net::CookieList& cookie_list) OVERRIDE;
52 const net::CookieList& cookie_list) OVERRIDE; 52 virtual bool OnCanSetCookie(const net::URLRequest& request,
53 virtual bool CanSetCookie(const net::URLRequest* request, 53 const std::string& cookie_line,
54 const std::string& cookie_line, 54 net::CookieOptions* options) OVERRIDE;
55 net::CookieOptions* options) OVERRIDE; 55 virtual bool OnCanAccessFile(const net::URLRequest& request,
56 const FilePath& path) const OVERRIDE;
56 57
57 DISALLOW_COPY_AND_ASSIGN(ShellNetworkDelegate); 58 DISALLOW_COPY_AND_ASSIGN(ShellNetworkDelegate);
58 }; 59 };
59 60
60 } // namespace content 61 } // namespace content
61 62
62 #endif // CONTENT_SHELL_SHELL_NETWORK_DELEGATE_H_ 63 #endif // CONTENT_SHELL_SHELL_NETWORK_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/net/chrome_network_delegate.cc ('k') | content/shell/shell_network_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698