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

Unified Diff: services/shell/service_overrides.h

Issue 2419723002: Move services/shell to services/service_manager (Closed)
Patch Set: rebase Created 4 years, 2 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 | « services/shell/service_manager.cc ('k') | services/shell/service_overrides.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/shell/service_overrides.h
diff --git a/services/shell/service_overrides.h b/services/shell/service_overrides.h
deleted file mode 100644
index 7989dc5c6ea564a9fbb0c47772d2e9e2f589b506..0000000000000000000000000000000000000000
--- a/services/shell/service_overrides.h
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright 2016 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 SERVICES_SHELL_SERVICE_OVERRIDES_H_
-#define SERVICES_SHELL_SERVICE_OVERRIDES_H_
-
-#include <map>
-#include <memory>
-#include <string>
-
-#include "base/files/file_path.h"
-#include "base/macros.h"
-#include "base/values.h"
-
-namespace shell {
-
-class ServiceOverrides {
- public:
- struct Entry {
- Entry();
- ~Entry();
-
- base::FilePath executable_path;
- std::string package_name;
- };
-
- explicit ServiceOverrides(std::unique_ptr<base::Value> overrides);
- ~ServiceOverrides();
-
- bool GetExecutablePathOverride(const std::string& service_name,
- base::FilePath* path) const;
-
- const std::map<std::string, Entry>& entries() const { return entries_; }
-
- private:
- std::map<std::string, Entry> entries_;
-
- DISALLOW_COPY_AND_ASSIGN(ServiceOverrides);
-};
-
-} // namespace shell
-
-#endif // SERVICES_SHELL_SERVICE_OVERRIDES_H_
« no previous file with comments | « services/shell/service_manager.cc ('k') | services/shell/service_overrides.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698