summaryrefslogtreecommitdiffstats
path: root/mojo/shell/network_delegate.cc
blob: 30054d30c0982e4d59ec0c67823ddf8713654e59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "mojo/shell/network_delegate.h"

#include "net/url_request/url_request.h"

namespace mojo {
namespace shell {

NetworkDelegate::NetworkDelegate() {
  DetachFromThread();
}

bool NetworkDelegate::OnCanAccessFile(const net::URLRequest& request,
                                      const base::FilePath& path) const {
  // TODO(davemoore): Implement.
  return true;
}

}  // namespace shell
}  // namespace mojo