summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-13 11:04:09 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-13 11:04:09 +0000
commit40d1ad6e65a61be12f82f0ad9a1710b353e5c60b (patch)
tree5b2ce37bf694aca900040826e8421f5335375c32
parent753c6cb7275a9f937d304952027fc33b8a984733 (diff)
downloadchromium_src-40d1ad6e65a61be12f82f0ad9a1710b353e5c60b.zip
chromium_src-40d1ad6e65a61be12f82f0ad9a1710b353e5c60b.tar.gz
chromium_src-40d1ad6e65a61be12f82f0ad9a1710b353e5c60b.tar.bz2
policy: Get rid of "using namespace policy;"
BUG=82078 TEST=None R=joaodasilva@chromium.org,mnissler@chromium.org Review URL: http://codereview.chromium.org/7012013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85259 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/policy/configuration_policy_store_interface.cc17
1 files changed, 8 insertions, 9 deletions
diff --git a/chrome/browser/policy/configuration_policy_store_interface.cc b/chrome/browser/policy/configuration_policy_store_interface.cc
index c787f92f..40cf472 100644
--- a/chrome/browser/policy/configuration_policy_store_interface.cc
+++ b/chrome/browser/policy/configuration_policy_store_interface.cc
@@ -2,19 +2,18 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "base/values.h"
#include "chrome/browser/policy/configuration_policy_store_interface.h"
-namespace {
+#include "base/values.h"
-using namespace policy;
+namespace {
-bool IsProxyPolicy(ConfigurationPolicyType policy) {
- return policy == kPolicyProxyMode ||
- policy == kPolicyProxyServerMode ||
- policy == kPolicyProxyServer ||
- policy == kPolicyProxyPacUrl ||
- policy == kPolicyProxyBypassList;
+bool IsProxyPolicy(policy::ConfigurationPolicyType policy) {
+ return policy == policy::kPolicyProxyMode ||
+ policy == policy::kPolicyProxyServerMode ||
+ policy == policy::kPolicyProxyServer ||
+ policy == policy::kPolicyProxyPacUrl ||
+ policy == policy::kPolicyProxyBypassList;
}
} // namespace