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

Side by Side Diff: chrome/browser/protector/protector_service.h

Issue 9863047: Exclude ProtectorService code from Android build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 years, 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 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 CHROME_BROWSER_PROTECTOR_PROTECTOR_SERVICE_H_ 5 #ifndef CHROME_BROWSER_PROTECTOR_PROTECTOR_SERVICE_H_
6 #define CHROME_BROWSER_PROTECTOR_PROTECTOR_SERVICE_H_ 6 #define CHROME_BROWSER_PROTECTOR_PROTECTOR_SERVICE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <vector> 9 #include <vector>
10 10
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 // True if there is a change that has been shown and not yet accepted or 123 // True if there is a change that has been shown and not yet accepted or
124 // discarded by user. 124 // discarded by user.
125 bool has_active_change_; 125 bool has_active_change_;
126 126
127 // Observes changes to protected prefs and updates the backup. 127 // Observes changes to protected prefs and updates the backup.
128 scoped_ptr<ProtectedPrefsWatcher> prefs_watcher_; 128 scoped_ptr<ProtectedPrefsWatcher> prefs_watcher_;
129 129
130 DISALLOW_COPY_AND_ASSIGN(ProtectorService); 130 DISALLOW_COPY_AND_ASSIGN(ProtectorService);
131 }; 131 };
132 132
133 // Signs string value with protector's key.
134 std::string SignSetting(const std::string& value);
135
136 // Returns true if the signature is valid for the specified key.
137 bool IsSettingValid(const std::string& value, const std::string& signature);
138
139 // Whether the Protector feature is enabled.
140 bool IsEnabled();
141
142 } // namespace protector 133 } // namespace protector
143 134
144 #endif // CHROME_BROWSER_PROTECTOR_PROTECTOR_SERVICE_H_ 135 #endif // CHROME_BROWSER_PROTECTOR_PROTECTOR_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/protector/protected_prefs_watcher.cc ('k') | chrome/browser/protector/protector_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698