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

Unified Diff: chrome/browser/component_updater/supervised_user_whitelist_installer.h

Issue 1408023003: Don't persist registrations for whitelists installed from the command line. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nit Created 5 years, 2 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 | « no previous file | chrome/browser/component_updater/supervised_user_whitelist_installer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/component_updater/supervised_user_whitelist_installer.h
diff --git a/chrome/browser/component_updater/supervised_user_whitelist_installer.h b/chrome/browser/component_updater/supervised_user_whitelist_installer.h
index 48157134a034b1341f68c32a0b282119228cf1f7..907e06a31e38de4b3ea265743465a93ab9b0f272 100644
--- a/chrome/browser/component_updater/supervised_user_whitelist_installer.h
+++ b/chrome/browser/component_updater/supervised_user_whitelist_installer.h
@@ -64,7 +64,8 @@ class SupervisedUserWhitelistInstaller {
// Registers a new whitelist with the given |crx_id|.
// The |client_id| should be a unique identifier for the client that is stable
- // across restarts.
+ // across restarts. If it is empty, the registration will not be persisted in
+ // Local State.
virtual void RegisterWhitelist(const std::string& client_id,
const std::string& crx_id,
const std::string& name) = 0;
« no previous file with comments | « no previous file | chrome/browser/component_updater/supervised_user_whitelist_installer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698