blob: 6774a662a5767cd5558ddd33e61a58e25183b0c4 [file] [log] [blame]
Darin Petkov4f5e5492012-04-18 14:05:55 +02001// Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
Paul Stewart75897df2011-04-27 09:05:53 -07002// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
Ben Chanc45688b2014-07-02 23:50:45 -07005#ifndef SHILL_SHILL_CONFIG_H_
6#define SHILL_SHILL_CONFIG_H_
Paul Stewart75897df2011-04-27 09:05:53 -07007
Chris Masone2ae797d2011-08-23 20:41:00 -07008#include <string>
9
Ben Chancc67c522014-09-03 07:19:18 -070010#include <base/macros.h>
Wade Guthriebb5d4a62013-06-07 09:41:51 -070011
Paul Stewart75897df2011-04-27 09:05:53 -070012namespace shill {
13
14class Config {
15 public:
Chris Masone2ae797d2011-08-23 20:41:00 -070016 Config();
17 virtual ~Config();
18
Chris Masoneb9c00592011-10-06 13:10:39 -070019 virtual std::string GetRunDirectory();
20 virtual std::string GetStorageDirectory();
mukesh agrawal0a59a5a2014-04-24 19:10:46 -070021 virtual std::string GetUserStorageDirectory();
Chris Masone2ae797d2011-08-23 20:41:00 -070022
Paul Stewart75897df2011-04-27 09:05:53 -070023 private:
Chris Masone2ae797d2011-08-23 20:41:00 -070024 static const char kDefaultRunDirectory[];
25 static const char kDefaultStorageDirectory[];
mukesh agrawal0a59a5a2014-04-24 19:10:46 -070026 static const char kDefaultUserStorageDirectory[];
Chris Masone2ae797d2011-08-23 20:41:00 -070027
Wade Guthriebb5d4a62013-06-07 09:41:51 -070028 DISALLOW_COPY_AND_ASSIGN(Config);
Paul Stewart75897df2011-04-27 09:05:53 -070029};
30
31} // namespace shill
32
Ben Chanc45688b2014-07-02 23:50:45 -070033#endif // SHILL_SHILL_CONFIG_H_