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

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

Issue 10316022: Wire up the policy for controlling pinned apps in the ash launcher. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_HANDLER_CHROMEOS_H_ 5 #ifndef CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_HANDLER_CHROMEOS_H_
6 #define CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_HANDLER_CHROMEOS_H_ 6 #define CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_HANDLER_CHROMEOS_H_
7 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/chromeos/cros/network_ui_data.h" 9 #include "chrome/browser/chromeos/cros/network_ui_data.h"
10 #include "chrome/browser/policy/configuration_policy_handler.h" 10 #include "chrome/browser/policy/configuration_policy_handler.h"
(...skipping 26 matching lines...) Expand all
37 37
38 // Filters a network dictionary to remove all sensitive fields and replace 38 // Filters a network dictionary to remove all sensitive fields and replace
39 // their values with placeholders. 39 // their values with placeholders.
40 static void StripSensitiveValues(DictionaryValue* network_dict); 40 static void StripSensitiveValues(DictionaryValue* network_dict);
41 41
42 chromeos::NetworkUIData::ONCSource onc_source_; 42 chromeos::NetworkUIData::ONCSource onc_source_;
43 43
44 DISALLOW_COPY_AND_ASSIGN(NetworkConfigurationPolicyHandler); 44 DISALLOW_COPY_AND_ASSIGN(NetworkConfigurationPolicyHandler);
45 }; 45 };
46 46
47 // Maps the PinnedLauncherApps policy to the corresponding pref.
48 class PinnedLauncherAppsPolicyHandler : public ExtensionListPolicyHandler {
49 public:
50 PinnedLauncherAppsPolicyHandler();
51 virtual ~PinnedLauncherAppsPolicyHandler();
52
53 // ExtensionListPolicyHandler methods:
54 virtual void ApplyPolicySettings(const PolicyMap& policies,
55 PrefValueMap* prefs) OVERRIDE;
56
57 private:
58 DISALLOW_COPY_AND_ASSIGN(PinnedLauncherAppsPolicyHandler);
59 };
60
47 } // namespace policy 61 } // namespace policy
48 62
49 #endif // CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_HANDLER_CHROMEOS_H_ 63 #endif // CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_HANDLER_CHROMEOS_H_
OLDNEW
« no previous file with comments | « chrome/browser/policy/configuration_policy_handler.cc ('k') | chrome/browser/policy/configuration_policy_handler_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698