Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(506)

Side by Side Diff: shell/application_manager/network_fetcher.h

Issue 1394303004: Move //mojo/services/X/public/... to //mojo/services/X/... (part 3). (Closed) Base URL: https://github.com/domokit/mojo.git@no_public_2-x-no_public_1
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « shell/application_manager/application_manager.h ('k') | shell/context.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef SHELL_APPLICATION_MANAGER_NETWORK_FETCHER_H_ 5 #ifndef SHELL_APPLICATION_MANAGER_NETWORK_FETCHER_H_
6 #define SHELL_APPLICATION_MANAGER_NETWORK_FETCHER_H_ 6 #define SHELL_APPLICATION_MANAGER_NETWORK_FETCHER_H_
7 7
8 #include "shell/application_manager/fetcher.h" 8 #include "shell/application_manager/fetcher.h"
9 9
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
11 #include "base/memory/weak_ptr.h" 11 #include "base/memory/weak_ptr.h"
12 #include "mojo/services/network/public/interfaces/network_service.mojom.h" 12 #include "mojo/services/network/public/interfaces/network_service.mojom.h"
13 #include "mojo/services/network/public/interfaces/url_loader.mojom.h" 13 #include "mojo/services/network/public/interfaces/url_loader.mojom.h"
14 #include "mojo/services/url_response_disk_cache/public/interfaces/url_response_d isk_cache.mojom.h" 14 #include "mojo/services/url_response_disk_cache/interfaces/url_response_disk_cac he.mojom.h"
15 #include "url/gurl.h" 15 #include "url/gurl.h"
16 16
17 namespace shell { 17 namespace shell {
18 18
19 // Implements Fetcher for http[s] files. 19 // Implements Fetcher for http[s] files.
20 class NetworkFetcher : public Fetcher { 20 class NetworkFetcher : public Fetcher {
21 public: 21 public:
22 NetworkFetcher(bool disable_cache, 22 NetworkFetcher(bool disable_cache,
23 bool force_offline_by_default, 23 bool force_offline_by_default,
24 const GURL& url, 24 const GURL& url,
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 mojo::URLResponsePtr response_; 82 mojo::URLResponsePtr response_;
83 base::FilePath path_; 83 base::FilePath path_;
84 base::WeakPtrFactory<NetworkFetcher> weak_ptr_factory_; 84 base::WeakPtrFactory<NetworkFetcher> weak_ptr_factory_;
85 85
86 DISALLOW_COPY_AND_ASSIGN(NetworkFetcher); 86 DISALLOW_COPY_AND_ASSIGN(NetworkFetcher);
87 }; 87 };
88 88
89 } // namespace shell 89 } // namespace shell
90 90
91 #endif // SHELL_APPLICATION_MANAGER_NETWORK_FETCHER_H_ 91 #endif // SHELL_APPLICATION_MANAGER_NETWORK_FETCHER_H_
OLDNEW
« no previous file with comments | « shell/application_manager/application_manager.h ('k') | shell/context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698