OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2012 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 CHROME_BROWSER_PROTECTOR_PROTECTOR_H_ | |
Yaron
2012/03/28 21:23:22
Consider renaming protector_utils
jam
2012/03/28 21:28:16
+1
nilesh
2012/03/28 23:35:11
Done.
| |
6 #define CHROME_BROWSER_PROTECTOR_PROTECTOR_H_ | |
7 #pragma once | |
8 | |
9 namespace protector { | |
10 | |
11 // Signs string value with protector's key. | |
12 std::string SignSetting(const std::string& value); | |
13 | |
14 // Returns true if the signature is valid for the specified key. | |
15 bool IsSettingValid(const std::string& value, const std::string& signature); | |
16 | |
17 // Whether the Protector feature is enabled. | |
18 bool IsEnabled(); | |
19 | |
20 } // namespace protector | |
21 | |
22 #endif // CHROME_BROWSER_PROTECTOR_PROTECTOR_H_ | |
OLD | NEW |