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

Unified Diff: services/service_manager/embedder/shared_file_util.h

Issue 2613653003: Move some basic early process init into Service Manager (Closed)
Patch Set: fix mac shutdown order Created 3 years, 9 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
Index: services/service_manager/embedder/shared_file_util.h
diff --git a/services/service_manager/public/cpp/shared_file_util.h b/services/service_manager/embedder/shared_file_util.h
similarity index 51%
rename from services/service_manager/public/cpp/shared_file_util.h
rename to services/service_manager/embedder/shared_file_util.h
index b184b29e4917062d126580ae38405c48049cb0bb..d524ec5a1d19afe65861c895be303861d4a6c77c 100644
--- a/services/service_manager/public/cpp/shared_file_util.h
+++ b/services/service_manager/embedder/shared_file_util.h
@@ -2,18 +2,19 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef SERVICES_SERVICE_MANAGER_PUBLIC_CPP_SHARED_FILE_UTIL_H_
-#define SERVICES_SERVICE_MANAGER_PUBLIC_CPP_SHARED_FILE_UTIL_H_
+#ifndef SERVICES_SERVICE_MANAGER_EMBEDDER_SHARED_FILE_UTIL_H_
+#define SERVICES_SERVICE_MANAGER_EMBEDDER_SHARED_FILE_UTIL_H_
#include <map>
#include <string>
#include "base/command_line.h"
#include "base/optional.h"
+#include "services/service_manager/embedder/service_manager_embedder_export.h"
namespace service_manager {
-class SharedFileSwitchValueBuilder final {
+class SERVICE_MANAGER_EMBEDDER_EXPORT SharedFileSwitchValueBuilder final {
public:
void AddEntry(const std::string& key_str, int key_id);
const std::string& switch_value() const { return switch_value_; }
@@ -22,9 +23,9 @@ class SharedFileSwitchValueBuilder final {
std::string switch_value_;
};
-base::Optional<std::map<int, std::string>> ParseSharedFileSwitchValue(
- const std::string& value);
+SERVICE_MANAGER_EMBEDDER_EXPORT base::Optional<std::map<int, std::string>>
+ParseSharedFileSwitchValue(const std::string& value);
} // namespace service_manager
-#endif // SERVICES_SERVICE_MANAGER_PUBLIC_CPP_SHARED_FILE_UTIL_H_
+#endif // SERVICES_SERVICE_MANAGER_EMBEDDER_SHARED_FILE_UTIL_H_
« no previous file with comments | « services/service_manager/embedder/set_process_title_linux.cc ('k') | services/service_manager/embedder/shared_file_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698