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

Side by Side Diff: chrome/browser/policy/configuration_policy_handler_list.cc

Issue 23257005: Move Feature and Manifest to top-level extensions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 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 | 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 #include "chrome/browser/policy/configuration_policy_handler_list.h" 5 #include "chrome/browser/policy/configuration_policy_handler_list.h"
6 6
7 #include <limits> 7 #include <limits>
8 8
9 #include "base/prefs/pref_value_map.h" 9 #include "base/prefs/pref_value_map.h"
10 #include "base/stl_util.h" 10 #include "base/stl_util.h"
11 #include "base/values.h" 11 #include "base/values.h"
12 #include "chrome/browser/policy/configuration_policy_handler.h" 12 #include "chrome/browser/policy/configuration_policy_handler.h"
13 #include "chrome/browser/policy/policy_error_map.h" 13 #include "chrome/browser/policy/policy_error_map.h"
14 #include "chrome/browser/policy/policy_map.h" 14 #include "chrome/browser/policy/policy_map.h"
15 #include "chrome/common/extensions/manifest.h"
16 #include "chrome/common/pref_names.h" 15 #include "chrome/common/pref_names.h"
16 #include "extensions/common/manifest.h"
17 #include "grit/generated_resources.h" 17 #include "grit/generated_resources.h"
18 #include "policy/policy_constants.h" 18 #include "policy/policy_constants.h"
19 19
20 #if defined(OS_CHROMEOS) 20 #if defined(OS_CHROMEOS)
21 #include "ash/magnifier/magnifier_constants.h" 21 #include "ash/magnifier/magnifier_constants.h"
22 #include "chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.h " 22 #include "chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.h "
23 #include "chromeos/dbus/power_policy_controller.h" 23 #include "chromeos/dbus/power_policy_controller.h"
24 #endif // defined(OS_CHROMEOS) 24 #endif // defined(OS_CHROMEOS)
25 25
26 #if defined(OS_ANDROID) 26 #if defined(OS_ANDROID)
(...skipping 586 matching lines...) Expand 10 before | Expand all | Expand 10 after
613 } 613 }
614 614
615 void ConfigurationPolicyHandlerList::PrepareForDisplaying( 615 void ConfigurationPolicyHandlerList::PrepareForDisplaying(
616 PolicyMap* policies) const { 616 PolicyMap* policies) const {
617 std::vector<ConfigurationPolicyHandler*>::const_iterator handler; 617 std::vector<ConfigurationPolicyHandler*>::const_iterator handler;
618 for (handler = handlers_.begin(); handler != handlers_.end(); ++handler) 618 for (handler = handlers_.begin(); handler != handlers_.end(); ++handler)
619 (*handler)->PrepareForDisplaying(policies); 619 (*handler)->PrepareForDisplaying(policies);
620 } 620 }
621 621
622 } // namespace policy 622 } // namespace policy
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698