blob: 4b4ee23ef2212433958d855b9836247e459d6c46 [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_CHROMEOS_GDATA_DRIVE_PROTOCOL_HANDLER_H_
#define CHROME_BROWSER_CHROMEOS_GDATA_DRIVE_PROTOCOL_HANDLER_H_
#include "net/url_request/url_request_job_factory.h"
namespace gdata {
class DriveProtocolHandler : public net::URLRequestJobFactory::ProtocolHandler {
public:
DriveProtocolHandler();
virtual ~DriveProtocolHandler();
// Creates URLRequestJobs for drive:// URLs.
virtual net::URLRequestJob* MaybeCreateJob(
net::URLRequest* request,
net::NetworkDelegate* network_delegate) const OVERRIDE;
};
} // namespace gdata
#endif // CHROME_BROWSER_CHROMEOS_GDATA_DRIVE_PROTOCOL_HANDLER_H_