diff options
author | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-17 16:24:25 +0000 |
---|---|---|
committer | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-17 16:24:25 +0000 |
commit | 99922661cbee0b313a07115912316f93b2cd5c95 (patch) | |
tree | 0036de373dc2d878d2a3f2280054b1477c358bc5 /ipc | |
parent | dbba57ffa3c2f14bf5a3b16a47307188539df0b6 (diff) | |
download | chromium_src-99922661cbee0b313a07115912316f93b2cd5c95.zip chromium_src-99922661cbee0b313a07115912316f93b2cd5c95.tar.gz chromium_src-99922661cbee0b313a07115912316f93b2cd5c95.tar.bz2 |
Remove remaining deprecated wstring methods from base/values.{cc,h}.
BUG=23581
TEST=builds and passes tests
Review URL: http://codereview.chromium.org/3109025
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56362 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ipc')
-rw-r--r-- | ipc/ipc_message_unittest.cc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/ipc/ipc_message_unittest.cc b/ipc/ipc_message_unittest.cc index 36a3229..f66751f 100644 --- a/ipc/ipc_message_unittest.cc +++ b/ipc/ipc_message_unittest.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -34,21 +34,21 @@ TEST(IPCMessageTest, ListValue) { TEST(IPCMessageTest, DictionaryValue) { DictionaryValue input; - input.Set(L"null", Value::CreateNullValue()); - input.Set(L"bool", Value::CreateBooleanValue(true)); - input.Set(L"int", Value::CreateIntegerValue(42)); + input.Set("null", Value::CreateNullValue()); + input.Set("bool", Value::CreateBooleanValue(true)); + input.Set("int", Value::CreateIntegerValue(42)); scoped_ptr<DictionaryValue> subdict(new DictionaryValue()); - subdict->Set(L"str", Value::CreateStringValue("forty two")); - subdict->Set(L"bool", Value::CreateBooleanValue(false)); + subdict->Set("str", Value::CreateStringValue("forty two")); + subdict->Set("bool", Value::CreateBooleanValue(false)); scoped_ptr<ListValue> sublist(new ListValue()); sublist->Set(0, Value::CreateRealValue(42.42)); sublist->Set(1, Value::CreateStringValue("forty")); sublist->Set(2, Value::CreateStringValue("two")); - subdict->Set(L"list", sublist.release()); + subdict->Set("list", sublist.release()); - input.Set(L"dict", subdict.release()); + input.Set("dict", subdict.release()); IPC::Message msg(1, 2, IPC::Message::PRIORITY_NORMAL); IPC::WriteParam(&msg, input); |