Chromium Code Reviews (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out

Unified Diff: chrome/browser/download/download_dir_policy_handler.h

Issue 197013007: Set drive as the default download folder (Closed) Base URL:
Patch Set: Fixes build errors Created 6 years, 9 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
Index: chrome/browser/download/download_dir_policy_handler.h
diff --git a/chrome/browser/download/download_dir_policy_handler.h b/chrome/browser/download/download_dir_policy_handler.h
index 2b266891d4ee625e5915c8c7354dd66158b0c4ce..cb4eba06c7cf34215c33e6c0d710bad184a5606d 100644
--- a/chrome/browser/download/download_dir_policy_handler.h
+++ b/chrome/browser/download/download_dir_policy_handler.h
@@ -5,6 +5,7 @@
+#include "base/compiler_specific.h"
#include "components/policy/core/browser/configuration_policy_handler.h"
class PrefValueMap;
@@ -20,8 +21,13 @@ class DownloadDirPolicyHandler : public policy::TypeCheckingPolicyHandler {
virtual ~DownloadDirPolicyHandler();
// ConfigurationPolicyHandler methods:
- virtual void ApplyPolicySettings(const policy::PolicyMap& policies,
- PrefValueMap* prefs) OVERRIDE;
+ virtual bool CheckPolicySettings(const policy::PolicyMap& policies,
+ policy::PolicyErrorMap* errors) OVERRIDE;
+ virtual void ApplyPolicySettingsWithParameters(
+ const policy::PolicyMap& policies,
+ const policy::PolicyHandlerParameters& pars,
bartfab (slow) 2014/03/14 13:43:45 Nit: s/pars/parameters/
+ PrefValueMap* prefs) OVERRIDE;
bartfab (slow) 2014/03/14 13:43:45 Nit: #include "base/basictypes.h" (It's not your f

Powered by Google App Engine
This is Rietveld 408576698