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

Side by Side Diff: mojo/shell/package_manager/package_manager_impl.h

Issue 1675153002: ApplicationImpl->ShellConnection, mojom::Application->mojom::ShellClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ci2
Patch Set: . Created 4 years, 10 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
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 MOJO_SHELL_PACKAGE_MANAGER_PACKAGE_MANAGER_IMPL_H_ 5 #ifndef MOJO_SHELL_PACKAGE_MANAGER_PACKAGE_MANAGER_IMPL_H_
6 #define MOJO_SHELL_PACKAGE_MANAGER_PACKAGE_MANAGER_IMPL_H_ 6 #define MOJO_SHELL_PACKAGE_MANAGER_PACKAGE_MANAGER_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 // Overridden from PackageManager: 91 // Overridden from PackageManager:
92 void SetApplicationManager(ApplicationManager* manager) override; 92 void SetApplicationManager(ApplicationManager* manager) override;
93 void FetchRequest( 93 void FetchRequest(
94 URLRequestPtr request, 94 URLRequestPtr request,
95 const Fetcher::FetchCallback& loader_callback) override; 95 const Fetcher::FetchCallback& loader_callback) override;
96 uint32_t HandleWithContentHandler( 96 uint32_t HandleWithContentHandler(
97 Fetcher* fetcher, 97 Fetcher* fetcher,
98 const Identity& source, 98 const Identity& source,
99 const GURL& target_url, 99 const GURL& target_url,
100 const CapabilityFilter& target_filter, 100 const CapabilityFilter& target_filter,
101 InterfaceRequest<mojom::Application>* application_request) override; 101 InterfaceRequest<mojom::ShellClient>* request) override;
102 bool IsURLInCatalog(const std::string& url) const override; 102 bool IsURLInCatalog(const std::string& url) const override;
103 std::string GetApplicationName(const std::string& url) const override; 103 std::string GetApplicationName(const std::string& url) const override;
104 104
105 GURL ResolveURL(const GURL& url); 105 GURL ResolveURL(const GURL& url);
106 bool ShouldHandleWithContentHandler( 106 bool ShouldHandleWithContentHandler(
107 Fetcher* fetcher, 107 Fetcher* fetcher,
108 const GURL& target_url, 108 const GURL& target_url,
109 const CapabilityFilter& target_filter, 109 const CapabilityFilter& target_filter,
110 Identity* content_handler_identity, 110 Identity* content_handler_identity,
111 URLResponsePtr* response) const; 111 URLResponsePtr* response) const;
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 ApplicationCatalogStore* catalog_store_; 151 ApplicationCatalogStore* catalog_store_;
152 std::map<std::string, ApplicationInfo> catalog_; 152 std::map<std::string, ApplicationInfo> catalog_;
153 153
154 DISALLOW_COPY_AND_ASSIGN(PackageManagerImpl); 154 DISALLOW_COPY_AND_ASSIGN(PackageManagerImpl);
155 }; 155 };
156 156
157 } // namespace shell 157 } // namespace shell
158 } // namespace mojo 158 } // namespace mojo
159 159
160 #endif // MOJO_SHELL_PACKAGE_MANAGER_PACKAGE_MANAGER_IMPL_H_ 160 #endif // MOJO_SHELL_PACKAGE_MANAGER_PACKAGE_MANAGER_IMPL_H_
OLDNEW
« no previous file with comments | « mojo/shell/package_manager/content_handler_unittest.cc ('k') | mojo/shell/package_manager/package_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698