| Index: mojo/shell/fetcher/data_fetcher.h
|
| diff --git a/mojo/fetcher/data_fetcher.h b/mojo/shell/fetcher/data_fetcher.h
|
| similarity index 83%
|
| rename from mojo/fetcher/data_fetcher.h
|
| rename to mojo/shell/fetcher/data_fetcher.h
|
| index bbf1f427b1a5c0558789b80b25b48fb469a9d65a..31737ca1c35aac3c0c651db58aa0a07951f8879a 100644
|
| --- a/mojo/fetcher/data_fetcher.h
|
| +++ b/mojo/shell/fetcher/data_fetcher.h
|
| @@ -2,8 +2,8 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef MOJO_FETCHER_DATA_FETCHER_H_
|
| -#define MOJO_FETCHER_DATA_FETCHER_H_
|
| +#ifndef MOJO_SHELL_FETCHER_DATA_FETCHER_H_
|
| +#define MOJO_SHELL_FETCHER_DATA_FETCHER_H_
|
|
|
| #include "mojo/shell/fetcher.h"
|
|
|
| @@ -14,10 +14,10 @@
|
| #include "url/gurl.h"
|
|
|
| namespace mojo {
|
| -namespace fetcher {
|
| +namespace shell {
|
|
|
| // Implements Fetcher for data: URLs.
|
| -class DataFetcher : public shell::Fetcher {
|
| +class DataFetcher : public Fetcher {
|
| public:
|
| static void Start(const GURL& url, const FetchCallback& loader_callback);
|
|
|
| @@ -27,7 +27,7 @@ class DataFetcher : public shell::Fetcher {
|
|
|
| void BuildAndDispatchResponse();
|
|
|
| - // shell::Fetcher implementation.
|
| + // Fetcher implementation.
|
| const GURL& GetURL() const override;
|
| GURL GetRedirectURL() const override;
|
| GURL GetRedirectReferer() const override;
|
| @@ -46,7 +46,7 @@ class DataFetcher : public shell::Fetcher {
|
| DISALLOW_COPY_AND_ASSIGN(DataFetcher);
|
| };
|
|
|
| -} // namespace fetcher
|
| +} // namespace shell
|
| } // namespace mojo
|
|
|
| -#endif // MOJO_FETCHER_DATA_FETCHER_H_
|
| +#endif // MOJO_SHELL_FETCHER_DATA_FETCHER_H_
|
|
|