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

Side by Side Diff: components/policy/core/browser/configuration_policy_handler_list.cc

Issue 2712513004: Use a qualified path for grit-generated headers in components/ (Closed)
Patch Set: more checkdeps Created 3 years, 10 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 "components/policy/core/browser/configuration_policy_handler_list.h" 5 #include "components/policy/core/browser/configuration_policy_handler_list.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/memory/ptr_util.h" 8 #include "base/memory/ptr_util.h"
9 #include "components/policy/core/browser/configuration_policy_handler.h" 9 #include "components/policy/core/browser/configuration_policy_handler.h"
10 #include "components/policy/core/browser/configuration_policy_handler_parameters .h" 10 #include "components/policy/core/browser/configuration_policy_handler_parameters .h"
11 #include "components/policy/core/browser/policy_error_map.h" 11 #include "components/policy/core/browser/policy_error_map.h"
12 #include "components/prefs/pref_value_map.h" 12 #include "components/prefs/pref_value_map.h"
13 #include "grit/components_strings.h" 13 #include "components/strings/grit/components_strings.h"
14 14
15 namespace policy { 15 namespace policy {
16 16
17 namespace { 17 namespace {
18 18
19 // Don't show errors for policies starting with that prefix. 19 // Don't show errors for policies starting with that prefix.
20 const char kPolicyCommentPrefix[] = "_comment"; 20 const char kPolicyCommentPrefix[] = "_comment";
21 21
22 } // namespace 22 } // namespace
23 23
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 if (iter->second.source == POLICY_SOURCE_PLATFORM && 96 if (iter->second.source == POLICY_SOURCE_PLATFORM &&
97 policy_details->is_device_policy) { 97 policy_details->is_device_policy) {
98 // Device Policy is only implemented as Cloud Policy (not Platform Policy). 98 // Device Policy is only implemented as Cloud Policy (not Platform Policy).
99 LOG(WARNING) << "Ignoring device platform policy: " << iter->first; 99 LOG(WARNING) << "Ignoring device platform policy: " << iter->first;
100 return true; 100 return true;
101 } 101 }
102 return false; 102 return false;
103 } 103 }
104 104
105 } // namespace policy 105 } // namespace policy
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698