Chromium Code Reviews| Index: chrome/browser/policy/default_geolocation_policy_handler.h |
| diff --git a/chrome/browser/policy/default_geolocation_policy_handler.h b/chrome/browser/policy/default_geolocation_policy_handler.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..bd4777aa1620173c3fd0bc0898ee244ffce89543 |
| --- /dev/null |
| +++ b/chrome/browser/policy/default_geolocation_policy_handler.h |
| @@ -0,0 +1,34 @@ |
| +// Copyright 2016 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CHROME_BROWSER_POLICY_DEFAULT_GEOLOCATION_POLICY_HANDLER_H_ |
| +#define CHROME_BROWSER_POLICY_DEFAULT_GEOLOCATION_POLICY_HANDLER_H_ |
| + |
| +#include "base/macros.h" |
| +#include "components/policy/core/browser/configuration_policy_handler.h" |
| + |
| +class PrefValueMap; |
| + |
| +namespace policy { |
| + |
| +class PolicyMap; |
| + |
| +#if defined(OS_CHROMEOS) |
|
bartfab (slow)
2016/08/17 14:52:06
You should just exclude the files from the build o
khmel
2016/08/17 15:16:21
Done.
|
| +class DefaultGeolocationPolicyHandler : public IntRangePolicyHandlerBase { |
| + public: |
| + DefaultGeolocationPolicyHandler(); |
| + ~DefaultGeolocationPolicyHandler() override; |
| + |
| + // IntRangePolicyHandlerBase: |
| + void ApplyPolicySettings(const PolicyMap& policies, |
| + PrefValueMap* prefs) override; |
| + |
| + private: |
| + DISALLOW_COPY_AND_ASSIGN(DefaultGeolocationPolicyHandler); |
| +}; |
| +#endif |
| + |
| +} // namespace policy |
| + |
| +#endif // CHROME_BROWSER_POLICY_DEFAULT_GEOLOCATION_POLICY_HANDLER_H_ |