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

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

Issue 2243513002: arc: Make Location Service manageable (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments addressed Created 4 years, 4 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/policy/default_geolocation_policy_handler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/policy/configuration_policy_handler_list_factory.cc
diff --git a/chrome/browser/policy/configuration_policy_handler_list_factory.cc b/chrome/browser/policy/configuration_policy_handler_list_factory.cc
index 758c63d9b79652466ba6a063e78108aa2dbc2ed7..f34d7322ee0aa38db4a1a2b6cd727494c8120049 100644
--- a/chrome/browser/policy/configuration_policy_handler_list_factory.cc
+++ b/chrome/browser/policy/configuration_policy_handler_list_factory.cc
@@ -16,6 +16,7 @@
#include "base/values.h"
#include "build/build_config.h"
#include "chrome/browser/net/disk_cache_dir_policy_handler.h"
+#include "chrome/browser/policy/default_geolocation_policy_handler.h"
bartfab (slow) 2016/08/17 15:37:11 This #include needs to be #ifdef'd to CrOS only.
#include "chrome/browser/policy/file_selection_dialogs_policy_handler.h"
#include "chrome/browser/policy/javascript_policy_handler.h"
#include "chrome/browser/policy/managed_bookmarks_policy_handler.h"
@@ -869,6 +870,7 @@ std::unique_ptr<ConfigurationPolicyHandlerList> BuildHandlerList(
SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED)));
handlers->AddHandler(base::WrapUnique(
new chromeos::KeyPermissionsPolicyHandler(chrome_schema)));
+ handlers->AddHandler(base::WrapUnique(new DefaultGeolocationPolicyHandler()));
#endif // defined(OS_CHROMEOS)
return handlers;
« no previous file with comments | « no previous file | chrome/browser/policy/default_geolocation_policy_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698