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

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

Issue 11493003: Remove the protector service. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix implicit ExtensionSystem -> TemplateURLService dependency Created 8 years 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
(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_UTILS_H_
6 #define CHROME_BROWSER_PROTECTOR_PROTECTOR_UTILS_H_
7
8 #include <string>
9
10 namespace protector {
11
12 // Signs string value with protector's key.
13 std::string SignSetting(const std::string& value);
14
15 // Returns true if the signature is valid for the specified key.
16 bool IsSettingValid(const std::string& value, const std::string& signature);
17
18 // Whether the Protector feature is enabled.
19 bool IsEnabled();
20
21 } // namespace protector
22
23 #endif // CHROME_BROWSER_PROTECTOR_PROTECTOR_UTILS_H_
OLDNEW
« no previous file with comments | « chrome/browser/protector/protector_service_factory.cc ('k') | chrome/browser/protector/protector_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698