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

Side by Side Diff: services/service_manager/embedder/shared_file_util.h

Issue 2763883002: Revert of Move some basic early process init into Service Manager (Closed)
Patch Set: 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 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 #ifndef SERVICES_SERVICE_MANAGER_EMBEDDER_SHARED_FILE_UTIL_H_
6 #define SERVICES_SERVICE_MANAGER_EMBEDDER_SHARED_FILE_UTIL_H_
7
8 #include <map>
9 #include <string>
10
11 #include "base/command_line.h"
12 #include "base/optional.h"
13 #include "services/service_manager/embedder/service_manager_embedder_export.h"
14
15 namespace service_manager {
16
17 class SERVICE_MANAGER_EMBEDDER_EXPORT SharedFileSwitchValueBuilder final {
18 public:
19 void AddEntry(const std::string& key_str, int key_id);
20 const std::string& switch_value() const { return switch_value_; }
21
22 private:
23 std::string switch_value_;
24 };
25
26 SERVICE_MANAGER_EMBEDDER_EXPORT base::Optional<std::map<int, std::string>>
27 ParseSharedFileSwitchValue(const std::string& value);
28
29 } // namespace service_manager
30
31 #endif // SERVICES_SERVICE_MANAGER_EMBEDDER_SHARED_FILE_UTIL_H_
OLDNEW
« 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