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

Side by Side Diff: mojo/services/catalog/catalog.h

Issue 1873463003: Remove mojo network service. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 | « mojo/services/BUILD.gn ('k') | mojo/services/catalog/catalog.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_SERVICES_CATALOG_CATALOG_H_ 5 #ifndef MOJO_SERVICES_CATALOG_CATALOG_H_
6 #define MOJO_SERVICES_CATALOG_CATALOG_H_ 6 #define MOJO_SERVICES_CATALOG_CATALOG_H_
7 7
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "base/path_service.h" 10 #include "base/path_service.h"
(...skipping 29 matching lines...) Expand all
40 40
41 void BindResolver(mojom::ResolverRequest request); 41 void BindResolver(mojom::ResolverRequest request);
42 void BindShellResolver(mojo::shell::mojom::ShellResolverRequest request); 42 void BindShellResolver(mojo::shell::mojom::ShellResolverRequest request);
43 void BindCatalog(mojom::CatalogRequest request); 43 void BindCatalog(mojom::CatalogRequest request);
44 44
45 private: 45 private:
46 using MojoNameAliasMap = 46 using MojoNameAliasMap =
47 std::map<std::string, std::pair<std::string, std::string>>; 47 std::map<std::string, std::pair<std::string, std::string>>;
48 48
49 // mojom::Resolver: 49 // mojom::Resolver:
50 void ResolveResponse(
51 mojo::URLResponsePtr response,
52 const ResolveResponseCallback& callback) override;
53 void ResolveInterfaces(mojo::Array<mojo::String> interfaces, 50 void ResolveInterfaces(mojo::Array<mojo::String> interfaces,
54 const ResolveInterfacesCallback& callback) override; 51 const ResolveInterfacesCallback& callback) override;
55 void ResolveMIMEType(const mojo::String& mime_type, 52 void ResolveMIMEType(const mojo::String& mime_type,
56 const ResolveMIMETypeCallback& callback) override; 53 const ResolveMIMETypeCallback& callback) override;
57 void ResolveProtocolScheme( 54 void ResolveProtocolScheme(
58 const mojo::String& scheme, 55 const mojo::String& scheme,
59 const ResolveProtocolSchemeCallback& callback) override; 56 const ResolveProtocolSchemeCallback& callback) override;
60 57
61 // mojo::shell::mojom::ShellResolver: 58 // mojo::shell::mojom::ShellResolver:
62 void ResolveMojoName(const mojo::String& mojo_name, 59 void ResolveMojoName(const mojo::String& mojo_name,
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 EntryCache* system_catalog_; 100 EntryCache* system_catalog_;
104 101
105 base::WeakPtrFactory<Catalog> weak_factory_; 102 base::WeakPtrFactory<Catalog> weak_factory_;
106 103
107 DISALLOW_COPY_AND_ASSIGN(Catalog); 104 DISALLOW_COPY_AND_ASSIGN(Catalog);
108 }; 105 };
109 106
110 } // namespace catalog 107 } // namespace catalog
111 108
112 #endif // MOJO_SERVICES_CATALOG_CATALOG_H_ 109 #endif // MOJO_SERVICES_CATALOG_CATALOG_H_
OLDNEW
« no previous file with comments | « mojo/services/BUILD.gn ('k') | mojo/services/catalog/catalog.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698