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

Side by Side Diff: mojo/tools/package_manager/package_fetcher.h

Issue 789243002: Restructure public side of network service. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Rebase Created 6 years 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 | « mojo/tools/package_manager/BUILD.gn ('k') | mojo/tools/package_manager/package_fetcher.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 MOJO_TOOLS_PACKAGE_MANAGER_FETCHER_H_ 5 #ifndef MOJO_TOOLS_PACKAGE_MANAGER_FETCHER_H_
6 #define MOJO_TOOLS_PACKAGE_MANAGER_FETCHER_H_ 6 #define MOJO_TOOLS_PACKAGE_MANAGER_FETCHER_H_
7 7
8 #include "base/files/file.h" 8 #include "base/files/file.h"
9 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
10 #include "mojo/common/handle_watcher.h" 10 #include "mojo/common/handle_watcher.h"
11 #include "mojo/public/cpp/system/macros.h" 11 #include "mojo/public/cpp/system/macros.h"
12 #include "mojo/services/public/interfaces/network/network_service.mojom.h" 12 #include "mojo/services/network/public/interfaces/network_service.mojom.h"
13 #include "mojo/services/public/interfaces/network/url_loader.mojom.h" 13 #include "mojo/services/network/public/interfaces/url_loader.mojom.h"
14 #include "url/gurl.h" 14 #include "url/gurl.h"
15 15
16 namespace base { 16 namespace base {
17 class FilePath; 17 class FilePath;
18 } // namespace base 18 } // namespace base
19 19
20 namespace mojo { 20 namespace mojo {
21 21
22 class PackageFetcherDelegate; 22 class PackageFetcherDelegate;
23 23
(...skipping 30 matching lines...) Expand all
54 class PackageFetcherDelegate { 54 class PackageFetcherDelegate {
55 public: 55 public:
56 virtual void FetchSucceeded(const GURL& url, const base::FilePath& name) = 0; 56 virtual void FetchSucceeded(const GURL& url, const base::FilePath& name) = 0;
57 57
58 virtual void FetchFailed(const GURL& url) = 0; 58 virtual void FetchFailed(const GURL& url) = 0;
59 }; 59 };
60 60
61 } // namespace mojo 61 } // namespace mojo
62 62
63 #endif // MOJO_TOOLS_PACKAGE_MANAGER_FETCHER_H_ 63 #endif // MOJO_TOOLS_PACKAGE_MANAGER_FETCHER_H_
OLDNEW
« no previous file with comments | « mojo/tools/package_manager/BUILD.gn ('k') | mojo/tools/package_manager/package_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698