Commit 20566c93 authored by tfarina@chromium.org's avatar tfarina@chromium.org

base: Remove unnecessary using declarations from values.h

BUG=None
TEST=None

R=evan@chromium.org

Review URL: http://codereview.chromium.org/7572032

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95538 0039d316-1c4b-4281-b951-d872f2087c98
parent fbbed0ab
...@@ -59,6 +59,8 @@ Value* CopyWithoutEmptyChildren(Value* node) { ...@@ -59,6 +59,8 @@ Value* CopyWithoutEmptyChildren(Value* node) {
} // namespace } // namespace
namespace base {
///////////////////// Value //////////////////// ///////////////////// Value ////////////////////
Value::~Value() { Value::~Value() {
...@@ -906,3 +908,5 @@ bool ListValue::Equals(const Value* other) const { ...@@ -906,3 +908,5 @@ bool ListValue::Equals(const Value* other) const {
ValueSerializer::~ValueSerializer() { ValueSerializer::~ValueSerializer() {
} }
} // namespace base
...@@ -471,8 +471,5 @@ using base::FundamentalValue; ...@@ -471,8 +471,5 @@ using base::FundamentalValue;
using base::ListValue; using base::ListValue;
using base::StringValue; using base::StringValue;
using base::Value; using base::Value;
using base::ValueMap;
using base::ValueSerializer;
using base::ValueVector;
#endif // BASE_VALUES_H_ #endif // BASE_VALUES_H_
...@@ -15,7 +15,7 @@ namespace { ...@@ -15,7 +15,7 @@ namespace {
// Caller takes ownership of the returned dictionary. // Caller takes ownership of the returned dictionary.
DictionaryValue* ExtractPrefs(const FilePath& path, DictionaryValue* ExtractPrefs(const FilePath& path,
ValueSerializer* serializer) { base::ValueSerializer* serializer) {
std::string error_msg; std::string error_msg;
Value* extensions = serializer->Deserialize(NULL, &error_msg); Value* extensions = serializer->Deserialize(NULL, &error_msg);
if (!extensions) { if (!extensions) {
......
// Copyright (c) 2009 The Chromium Authors. All rights reserved. // Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
#include "base/file_path.h" #include "base/file_path.h"
#include "base/values.h" #include "base/values.h"
class JSONStringValueSerializer : public ValueSerializer { class JSONStringValueSerializer : public base::ValueSerializer {
public: public:
// json_string is the string that will be source of the deserialization // json_string is the string that will be source of the deserialization
// or the destination of the serialization. The caller of the constructor // or the destination of the serialization. The caller of the constructor
...@@ -66,7 +66,7 @@ class JSONStringValueSerializer : public ValueSerializer { ...@@ -66,7 +66,7 @@ class JSONStringValueSerializer : public ValueSerializer {
DISALLOW_COPY_AND_ASSIGN(JSONStringValueSerializer); DISALLOW_COPY_AND_ASSIGN(JSONStringValueSerializer);
}; };
class JSONFileValueSerializer : public ValueSerializer { class JSONFileValueSerializer : public base::ValueSerializer {
public: public:
// json_file_patch is the path of a file that will be source of the // json_file_patch is the path of a file that will be source of the
// deserialization or the destination of the serialization. // deserialization or the destination of the serialization.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment