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

Side by Side Diff: chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc

Issue 2273783002: Move policy generated files to components/policy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: missed headers 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
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/chromeos/policy/device_policy_decoder_chromeos.h" 5 #include "chrome/browser/chromeos/policy/device_policy_decoder_chromeos.h"
6 6
7 #include <limits> 7 #include <limits>
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/json/json_reader.h" 11 #include "base/json/json_reader.h"
12 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/memory/ptr_util.h" 14 #include "base/memory/ptr_util.h"
15 #include "base/strings/stringprintf.h" 15 #include "base/strings/stringprintf.h"
16 #include "base/values.h" 16 #include "base/values.h"
17 #include "chrome/browser/browser_process.h" 17 #include "chrome/browser/browser_process.h"
18 #include "chrome/browser/chromeos/policy/device_local_account.h" 18 #include "chrome/browser/chromeos/policy/device_local_account.h"
19 #include "chrome/browser/chromeos/policy/proto/chrome_device_policy.pb.h" 19 #include "chrome/browser/chromeos/policy/proto/chrome_device_policy.pb.h"
20 #include "chromeos/dbus/dbus_thread_manager.h" 20 #include "chromeos/dbus/dbus_thread_manager.h"
21 #include "chromeos/dbus/update_engine_client.h" 21 #include "chromeos/dbus/update_engine_client.h"
22 #include "chromeos/settings/cros_settings_names.h" 22 #include "chromeos/settings/cros_settings_names.h"
23 #include "components/policy/core/browser/browser_policy_connector.h" 23 #include "components/policy/core/browser/browser_policy_connector.h"
24 #include "components/policy/core/common/external_data_fetcher.h" 24 #include "components/policy/core/common/external_data_fetcher.h"
25 #include "components/policy/core/common/policy_map.h" 25 #include "components/policy/core/common/policy_map.h"
26 #include "components/policy/core/common/policy_types.h" 26 #include "components/policy/core/common/policy_types.h"
27 #include "components/policy/core/common/schema.h" 27 #include "components/policy/core/common/schema.h"
28 #include "policy/policy_constants.h" 28 #include "components/policy/policy_constants.h"
29 #include "third_party/cros_system_api/dbus/service_constants.h" 29 #include "third_party/cros_system_api/dbus/service_constants.h"
30 30
31 using google::protobuf::RepeatedField; 31 using google::protobuf::RepeatedField;
32 using google::protobuf::RepeatedPtrField; 32 using google::protobuf::RepeatedPtrField;
33 33
34 namespace em = enterprise_management; 34 namespace em = enterprise_management;
35 35
36 namespace policy { 36 namespace policy {
37 37
38 namespace { 38 namespace {
(...skipping 776 matching lines...) Expand 10 before | Expand all | Expand 10 after
815 // Decode the various groups of policies. 815 // Decode the various groups of policies.
816 DecodeLoginPolicies(policy, policies); 816 DecodeLoginPolicies(policy, policies);
817 DecodeNetworkPolicies(policy, policies); 817 DecodeNetworkPolicies(policy, policies);
818 DecodeReportingPolicies(policy, policies); 818 DecodeReportingPolicies(policy, policies);
819 DecodeAutoUpdatePolicies(policy, policies); 819 DecodeAutoUpdatePolicies(policy, policies);
820 DecodeAccessibilityPolicies(policy, policies); 820 DecodeAccessibilityPolicies(policy, policies);
821 DecodeGenericPolicies(policy, policies); 821 DecodeGenericPolicies(policy, policies);
822 } 822 }
823 823
824 } // namespace policy 824 } // namespace policy
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698