blob: 46bbe6f2b071f2f4cb4953857b3c6ae263b98a7a [file] [log] [blame]
// 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.
#ifndef CHROME_BROWSER_NET_ABOUT_PROTOCOL_HANDLER_H_
#define CHROME_BROWSER_NET_ABOUT_PROTOCOL_HANDLER_H_
#include "base/basictypes.h"
#include "base/compiler_specific.h"
#include "net/url_request/url_request_job_factory.h"
namespace net {
class URLRequestJob;
// Implements a ProtocolHandler for About jobs.
class AboutProtocolHandler : public URLRequestJobFactory::ProtocolHandler {
public:
AboutProtocolHandler();
virtual URLRequestJob* MaybeCreateJob(
URLRequest* request, NetworkDelegate* network_delegate) const OVERRIDE;
private:
DISALLOW_COPY_AND_ASSIGN(AboutProtocolHandler);
};
} // namespace net
#endif // CHROME_BROWSER_NET_ABOUT_PROTOCOL_HANDLER_H_