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

Unified Diff: chrome/browser/policy/asynchronous_policy_loader.cc

Issue 8467011: Include only policy definitions that apply to the platfrom in the policy definition list. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed dead declarations. Created 9 years, 1 month 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/policy/asynchronous_policy_loader.cc
diff --git a/chrome/browser/policy/asynchronous_policy_loader.cc b/chrome/browser/policy/asynchronous_policy_loader.cc
index 5c450424a08a3b6656fecfa14c9968b5dee5c84b..1a55b66e512b7a65582599a61daca57a3e199450 100644
--- a/chrome/browser/policy/asynchronous_policy_loader.cc
+++ b/chrome/browser/policy/asynchronous_policy_loader.cc
@@ -48,7 +48,7 @@ void AsynchronousPolicyLoader::Stop() {
AsynchronousPolicyLoader::~AsynchronousPolicyLoader() {
}
-void AsynchronousPolicyLoader::Reload() {
+void AsynchronousPolicyLoader::Reload(bool force) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE));
if (delegate_.get()) {
PostUpdatePolicyTask(delegate_->Load());
@@ -81,7 +81,7 @@ void AsynchronousPolicyLoader::ScheduleFallbackReloadTask() {
void AsynchronousPolicyLoader::ReloadFromTask() {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE));
- Reload();
+ Reload(false);
}
void AsynchronousPolicyLoader::InitOnFileThread() {
« no previous file with comments | « chrome/browser/policy/asynchronous_policy_loader.h ('k') | chrome/browser/policy/asynchronous_policy_loader_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698