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

Unified Diff: mojo/shell/test_package_manager.h

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/shell/switches.cc ('k') | mojo/shell/test_package_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/test_package_manager.h
diff --git a/mojo/shell/test_package_manager.h b/mojo/shell/test_package_manager.h
deleted file mode 100644
index 2d38cab82c4895ce15cb580d84967c4e8b75925e..0000000000000000000000000000000000000000
--- a/mojo/shell/test_package_manager.h
+++ /dev/null
@@ -1,51 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef MOJO_SHELL_TEST_PACKAGE_MANAGER_H_
-#define MOJO_SHELL_TEST_PACKAGE_MANAGER_H_
-
-#include <stdint.h>
-
-#include "base/macros.h"
-#include "mojo/shell/package_manager.h"
-
-namespace mojo {
-namespace shell {
-namespace test {
-
-class TestPackageManager : public PackageManager {
- public:
- TestPackageManager();
- ~TestPackageManager() override;
-
- private:
- // Overridden from PackageManager:
- void SetApplicationManager(ApplicationManager* manager) override;
- void BuiltinAppLoaded(const GURL& url) override;
- void FetchRequest(
- URLRequestPtr request,
- const Fetcher::FetchCallback& loader_callback) override;
- uint32_t HandleWithContentHandler(
- Fetcher* fetcher,
- const Identity& source,
- const GURL& target_url,
- const CapabilityFilter& target_filter,
- InterfaceRequest<shell::mojom::ShellClient>* request)
- override;
- bool IsURLInCatalog(const std::string& url) const override;
- std::string GetApplicationName(const std::string& url) const override;
- GURL ResolveMojoURL(const GURL& mojo_url) override;
- uint32_t StartContentHandler(const Identity& source,
- const Identity& content_handler,
- const GURL& url,
- mojom::ShellClientRequest request) override;
-
- DISALLOW_COPY_AND_ASSIGN(TestPackageManager);
-};
-
-} // namespace test
-} // namespace shell
-} // namespace mojo
-
-#endif // MOJO_SHELL_TEST_PACKAGE_MANAGER_H_
« no previous file with comments | « mojo/shell/switches.cc ('k') | mojo/shell/test_package_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698