| Index: mojo/shell/application_manager/local_fetcher.h
|
| diff --git a/mojo/shell/application_manager/local_fetcher.h b/mojo/shell/application_manager/local_fetcher.h
|
| deleted file mode 100644
|
| index 843108fdcc8858d7e7afa4fd1cb5125b1ce08cb1..0000000000000000000000000000000000000000
|
| --- a/mojo/shell/application_manager/local_fetcher.h
|
| +++ /dev/null
|
| @@ -1,51 +0,0 @@
|
| -// Copyright 2015 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 SHELL_APPLICATION_MANAGER_LOCAL_FETCHER_H_
|
| -#define SHELL_APPLICATION_MANAGER_LOCAL_FETCHER_H_
|
| -
|
| -#include "base/files/file_path.h"
|
| -#include "mojo/services/network/public/interfaces/url_loader.mojom.h"
|
| -#include "mojo/shell/application_manager/fetcher.h"
|
| -#include "url/gurl.h"
|
| -
|
| -namespace mojo {
|
| -namespace shell {
|
| -
|
| -// Implements Fetcher for file:// URLs.
|
| -class LocalFetcher : public Fetcher {
|
| - public:
|
| - LocalFetcher(const GURL& url,
|
| - const GURL& url_without_query,
|
| - const FetchCallback& loader_callback);
|
| -
|
| - private:
|
| - static base::FilePath UrlToFile(const GURL& url);
|
| -
|
| - const GURL& GetURL() const override;
|
| - GURL GetRedirectURL() const override;
|
| -
|
| - URLResponsePtr AsURLResponse(base::TaskRunner* task_runner,
|
| - uint32_t skip) override;
|
| -
|
| - void AsPath(
|
| - base::TaskRunner* task_runner,
|
| - base::Callback<void(const base::FilePath&, bool)> callback) override;
|
| -
|
| - std::string MimeType() override;
|
| -
|
| - bool HasMojoMagic() override;
|
| -
|
| - bool PeekFirstLine(std::string* line) override;
|
| -
|
| - GURL url_;
|
| - base::FilePath path_;
|
| -
|
| - DISALLOW_COPY_AND_ASSIGN(LocalFetcher);
|
| -};
|
| -
|
| -} // namespace shell
|
| -} // namespace mojo
|
| -
|
| -#endif // SHELL_APPLICATION_MANAGER_LOCAL_FETCHER_H_
|
|
|