| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef BASE_ENVIRONMENT_H_ | 5 #ifndef BASE_ENVIRONMENT_H_ |
| 6 #define BASE_ENVIRONMENT_H_ | 6 #define BASE_ENVIRONMENT_H_ |
| 7 #pragma once | |
| 8 | 7 |
| 9 #include <string> | 8 #include <string> |
| 10 | 9 |
| 11 #include "base/base_export.h" | 10 #include "base/base_export.h" |
| 12 #include "build/build_config.h" | 11 #include "build/build_config.h" |
| 13 | 12 |
| 14 namespace base { | 13 namespace base { |
| 15 | 14 |
| 16 namespace env_vars { | 15 namespace env_vars { |
| 17 | 16 |
| (...skipping 22 matching lines...) Expand all Loading... |
| 40 virtual bool SetVar(const char* variable_name, | 39 virtual bool SetVar(const char* variable_name, |
| 41 const std::string& new_value) = 0; | 40 const std::string& new_value) = 0; |
| 42 | 41 |
| 43 // Returns true on success, otherwise returns false. | 42 // Returns true on success, otherwise returns false. |
| 44 virtual bool UnSetVar(const char* variable_name) = 0; | 43 virtual bool UnSetVar(const char* variable_name) = 0; |
| 45 }; | 44 }; |
| 46 | 45 |
| 47 } // namespace base | 46 } // namespace base |
| 48 | 47 |
| 49 #endif // BASE_ENVIRONMENT_H_ | 48 #endif // BASE_ENVIRONMENT_H_ |
| OLD | NEW |