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

Side by Side Diff: chrome/browser/policy/default_geolocation_policy_handler.h

Issue 2225933002: Suppress ToS and reflect admin policy in ARC++ welcome screen (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add OS_CHROMEOS checks 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_POLICY_DEFAULT_GEOLOCATION_POLICY_HANDLER_H_
6 #define CHROME_BROWSER_POLICY_DEFAULT_GEOLOCATION_POLICY_HANDLER_H_
7
8 #include "base/macros.h"
9 #include "components/policy/core/browser/configuration_policy_handler.h"
10
11 class PrefValueMap;
12
13 namespace policy {
14
15 class PolicyMap;
16
17 #if defined(OS_CHROMEOS)
18 class DefaultGeolocationPolicyHandler : public IntRangePolicyHandlerBase {
19 public:
20 DefaultGeolocationPolicyHandler();
21 ~DefaultGeolocationPolicyHandler() override;
22
23 // IntRangePolicyHandlerBase:
24 void ApplyPolicySettings(const PolicyMap& policies,
25 PrefValueMap* prefs) override;
26
27 private:
28 DISALLOW_COPY_AND_ASSIGN(DefaultGeolocationPolicyHandler);
29 };
30 #endif
31
32 } // namespace policy
33
34 #endif // CHROME_BROWSER_POLICY_DEFAULT_GEOLOCATION_POLICY_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698