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

Unified Diff: owner_key.cc

Issue 6815021: [login_manager] Code to add the owner to the whitelist in a device policy (Closed) Base URL: http://git.chromium.org/git/login_manager.git@master
Patch Set: address gauravsh comments Created 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « owner_key.h ('k') | session_manager_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: owner_key.cc
diff --git a/owner_key.cc b/owner_key.cc
index b06ecddc889e161175a14da8dc61fa937fad931a..369ee637eefe446d23d2b585ec84d86cc4afc499 100644
--- a/owner_key.cc
+++ b/owner_key.cc
@@ -44,9 +44,9 @@ bool OwnerKey::VEquals(const std::vector<uint8>& key_der) const {
memcmp(&key_der[0], &key_[0], key_.size()) == 0);
}
-bool OwnerKey::HaveCheckedDisk() { return have_checked_disk_; }
+bool OwnerKey::HaveCheckedDisk() const { return have_checked_disk_; }
-bool OwnerKey::IsPopulated() { return !key_.empty(); }
+bool OwnerKey::IsPopulated() const { return !key_.empty(); }
bool OwnerKey::PopulateFromDiskIfPossible() {
have_checked_disk_ = true;
« no previous file with comments | « owner_key.h ('k') | session_manager_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698