OLD | NEW |
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_TEST_PACKAGE_MANAGER_H_ | 5 #ifndef MOJO_SHELL_TEST_PACKAGE_MANAGER_H_ |
6 #define MOJO_SHELL_TEST_PACKAGE_MANAGER_H_ | 6 #define MOJO_SHELL_TEST_PACKAGE_MANAGER_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
(...skipping 12 matching lines...) Expand all Loading... |
23 // Overridden from PackageManager: | 23 // Overridden from PackageManager: |
24 void SetApplicationManager(ApplicationManager* manager) override; | 24 void SetApplicationManager(ApplicationManager* manager) override; |
25 void FetchRequest( | 25 void FetchRequest( |
26 URLRequestPtr request, | 26 URLRequestPtr request, |
27 const Fetcher::FetchCallback& loader_callback) override; | 27 const Fetcher::FetchCallback& loader_callback) override; |
28 uint32_t HandleWithContentHandler( | 28 uint32_t HandleWithContentHandler( |
29 Fetcher* fetcher, | 29 Fetcher* fetcher, |
30 const Identity& source, | 30 const Identity& source, |
31 const GURL& target_url, | 31 const GURL& target_url, |
32 const CapabilityFilter& target_filter, | 32 const CapabilityFilter& target_filter, |
33 InterfaceRequest<shell::mojom::Application>* application_request) | 33 InterfaceRequest<shell::mojom::ShellClient>* request) |
34 override; | 34 override; |
35 bool IsURLInCatalog(const std::string& url) const override; | 35 bool IsURLInCatalog(const std::string& url) const override; |
36 std::string GetApplicationName(const std::string& url) const override; | 36 std::string GetApplicationName(const std::string& url) const override; |
37 | 37 |
38 DISALLOW_COPY_AND_ASSIGN(TestPackageManager); | 38 DISALLOW_COPY_AND_ASSIGN(TestPackageManager); |
39 }; | 39 }; |
40 | 40 |
41 } // namespace test | 41 } // namespace test |
42 } // namespace shell | 42 } // namespace shell |
43 } // namespace mojo | 43 } // namespace mojo |
44 | 44 |
45 #endif // MOJO_SHELL_TEST_PACKAGE_MANAGER_H_ | 45 #endif // MOJO_SHELL_TEST_PACKAGE_MANAGER_H_ |
OLD | NEW |