summaryrefslogtreecommitdiffstats
path: root/chrome/browser/net/about_protocol_handler.cc
blob: 13f0c3b14cd20b2198205d54bd15e9fcbfdffe08 (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 (c) 2012 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 "chrome/browser/net/about_protocol_handler.h"

#include "net/url_request/url_request_about_job.h"

namespace chrome_browser_net {

AboutProtocolHandler::AboutProtocolHandler() {
}

net::URLRequestJob* AboutProtocolHandler::MaybeCreateJob(
    net::URLRequest* request, net::NetworkDelegate* network_delegate) const {
  return new net::URLRequestAboutJob(request, network_delegate);
}

bool AboutProtocolHandler::IsSafeRedirectTarget(const GURL& location) const {
  return false;
}

}  // namespace chrome_browser_net