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

Side by Side Diff: mojo/shell/test_package_manager.cc

Issue 1701933004: Remove the old package manager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@am2
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
« no previous file with comments | « mojo/shell/test_package_manager.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #include <stdint.h>
6
7 #include "mojo/shell/test_package_manager.h"
8
9 #include "url/gurl.h"
10
11 namespace mojo {
12 namespace shell {
13 namespace test {
14
15 TestPackageManager::TestPackageManager() {}
16 TestPackageManager::~TestPackageManager() {}
17
18 void TestPackageManager::SetApplicationManager(ApplicationManager* manager) {}
19 void TestPackageManager::BuiltinAppLoaded(const GURL& url) {}
20 void TestPackageManager::FetchRequest(
21 URLRequestPtr request,
22 const Fetcher::FetchCallback& loader_callback) {}
23 uint32_t TestPackageManager::HandleWithContentHandler(
24 Fetcher* fetcher,
25 const Identity& source,
26 const GURL& target_url,
27 const CapabilityFilter& target_filter,
28 InterfaceRequest<shell::mojom::ShellClient>* request) {
29 return 0;
30 }
31 bool TestPackageManager::IsURLInCatalog(const std::string& url) const {
32 return true;
33 }
34 std::string TestPackageManager::GetApplicationName(
35 const std::string& url) const { return url; }
36 GURL TestPackageManager::ResolveMojoURL(const GURL& mojo_url) {
37 return mojo_url;
38 }
39 uint32_t TestPackageManager::StartContentHandler(
40 const Identity& source,
41 const Identity& content_handler,
42 const GURL& url,
43 mojom::ShellClientRequest request) {
44 return mojo::shell::mojom::Shell::kInvalidApplicationID;
45 }
46
47 } // namespace test
48 } // namespace shell
49 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/shell/test_package_manager.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698