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

Unified Diff: chrome/browser/protector/protector.h

Issue 9863047: Exclude ProtectorService code from Android build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/protector/protector.h
diff --git a/chrome/browser/protector/protector.h b/chrome/browser/protector/protector.h
new file mode 100644
index 0000000000000000000000000000000000000000..2fb0cf0a611f0a8780a68ee9b9fea0a221ad5eb1
--- /dev/null
+++ b/chrome/browser/protector/protector.h
@@ -0,0 +1,22 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#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.
+#define CHROME_BROWSER_PROTECTOR_PROTECTOR_H_
+#pragma once
+
+namespace protector {
+
+// Signs string value with protector's key.
+std::string SignSetting(const std::string& value);
+
+// Returns true if the signature is valid for the specified key.
+bool IsSettingValid(const std::string& value, const std::string& signature);
+
+// Whether the Protector feature is enabled.
+bool IsEnabled();
+
+} // namespace protector
+
+#endif // CHROME_BROWSER_PROTECTOR_PROTECTOR_H_

Powered by Google App Engine
This is Rietveld 408576698