OLD | NEW |
---|---|
(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_PUBLIC_CPP_SHARED_FILE_UTIL_H_ | |
6 #define SERVICES_SERVICE_MANAGER_PUBLIC_CPP_SHARED_FILE_UTIL_H_ | |
7 | |
8 #include <map> | |
9 #include <string> | |
10 | |
11 #include "base/command_line.h" | |
12 | |
13 namespace service_manager { | |
14 | |
15 class SharedFileSwitchValueBuilder final { | |
16 public: | |
17 void AddEntry(const std::string& key_str, int key_id); | |
dcheng
2017/02/15 08:05:28
This code isn't actually being used yet, right? Is
Jay Civelli
2017/02/15 19:53:48
Oh, forgot to use it where I was supposed to!
It i
| |
18 const std::string& switch_value() const { return switch_value_; } | |
19 | |
20 private: | |
21 std::string switch_value_; | |
22 }; | |
23 | |
24 bool ParseSharedFileSwitchValue(const std::string& value, | |
25 std::map<int, std::string>* values); | |
26 | |
27 } // namespace service_manager | |
28 | |
29 #endif // SERVICES_SERVICE_MANAGER_PUBLIC_CPP_SHARED_FILE_UTIL_H_ | |
OLD | NEW |