• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
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_
25