Make net and ipc explicitly use the base namespace for Values.
They're currently relying on a using in values.h that we want to remove. I removed several usings in net for consistency.
BUG=
[email protected]
Review URL: https://codereview.chromium.org/15662008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206187 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/ipc/ipc_message_unittest.cc b/ipc/ipc_message_unittest.cc
index 6a40acd5..971314a 100644
--- a/ipc/ipc_message_unittest.cc
+++ b/ipc/ipc_message_unittest.cc
@@ -14,7 +14,7 @@
namespace {
TEST(IPCMessageTest, ListValue) {
- ListValue input;
+ base::ListValue input;
input.Set(0, new base::FundamentalValue(42.42));
input.Set(1, new base::StringValue("forty"));
input.Set(2, base::Value::CreateNullValue());
@@ -22,7 +22,7 @@
IPC::Message msg(1, 2, IPC::Message::PRIORITY_NORMAL);
IPC::WriteParam(&msg, input);
- ListValue output;
+ base::ListValue output;
PickleIterator iter(msg);
EXPECT_TRUE(IPC::ReadParam(&msg, &iter, &output));
@@ -36,17 +36,17 @@
}
TEST(IPCMessageTest, DictionaryValue) {
- DictionaryValue input;
- input.Set("null", Value::CreateNullValue());
+ base::DictionaryValue input;
+ input.Set("null", base::Value::CreateNullValue());
input.Set("bool", new base::FundamentalValue(true));
input.Set("int", new base::FundamentalValue(42));
input.SetWithoutPathExpansion("int.with.dot", new base::FundamentalValue(43));
- scoped_ptr<DictionaryValue> subdict(new DictionaryValue());
+ scoped_ptr<base::DictionaryValue> subdict(new base::DictionaryValue());
subdict->Set("str", new base::StringValue("forty two"));
subdict->Set("bool", new base::FundamentalValue(false));
- scoped_ptr<ListValue> sublist(new ListValue());
+ scoped_ptr<base::ListValue> sublist(new base::ListValue());
sublist->Set(0, new base::FundamentalValue(42.42));
sublist->Set(1, new base::StringValue("forty"));
sublist->Set(2, new base::StringValue("two"));
@@ -57,7 +57,7 @@
IPC::Message msg(1, 2, IPC::Message::PRIORITY_NORMAL);
IPC::WriteParam(&msg, input);
- DictionaryValue output;
+ base::DictionaryValue output;
PickleIterator iter(msg);
EXPECT_TRUE(IPC::ReadParam(&msg, &iter, &output));