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

Side by Side Diff: mojo/shell/network_delegate.h

Issue 38303002: Enable Mojo to download from file URLs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 1 month 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 | « mojo/shell/loader.cc ('k') | mojo/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
(Empty)
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef MOJO_SHELL_NETWORK_DELEGATE_H_
6 #define MOJO_SHELL_NETWORK_DELEGATE_H_
7
8 #include "base/compiler_specific.h"
9 #include "net/base/network_delegate.h"
10
11 namespace mojo {
12 namespace shell {
13
14 class NetworkDelegate : public net::NetworkDelegate {
15 public:
16 NetworkDelegate();
17 virtual bool OnCanAccessFile(const net::URLRequest& request,
18 const base::FilePath& path) const OVERRIDE;
19 };
20
21 } // namespace shell
22 } // namespace mojo
23
24 #endif // MOJO_SHELL_MOJO_NETWORK_DELEGATE_H_
OLDNEW
« no previous file with comments | « mojo/shell/loader.cc ('k') | mojo/shell/network_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698