summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-10 01:33:13 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-10 01:33:13 +0000
commit99f9224874a406d923e557336ac0912ba15ba0ac (patch)
tree602bc2ca7e3057526546f9553dc6106bfe6074e1 /chrome
parent2cd4e5f685b90ce0c42d36610425ee6aacd01edc (diff)
downloadchromium_src-99f9224874a406d923e557336ac0912ba15ba0ac.zip
chromium_src-99f9224874a406d923e557336ac0912ba15ba0ac.tar.gz
chromium_src-99f9224874a406d923e557336ac0912ba15ba0ac.tar.bz2
Use scoped_ptr API from base/ instead of one from gtest/internal/gtest-port.h.
BUG=None TEST=trybots Review URL: http://codereview.chromium.org/3043061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55520 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/debugger/devtools_remote_message_unittest.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/chrome/browser/debugger/devtools_remote_message_unittest.cc b/chrome/browser/debugger/devtools_remote_message_unittest.cc
index 6917f2a..0b74e3f 100644
--- a/chrome/browser/debugger/devtools_remote_message_unittest.cc
+++ b/chrome/browser/debugger/devtools_remote_message_unittest.cc
@@ -5,14 +5,14 @@
#include <string>
#include "base/string_number_conversions.h"
+#include "base/scoped_ptr.h"
#include "chrome/browser/debugger/devtools_remote.h"
#include "chrome/browser/debugger/devtools_remote_message.h"
#include "testing/gtest/include/gtest/gtest.h"
class DevToolsRemoteMessageTest : public testing::Test {
public:
- DevToolsRemoteMessageTest() : testing::Test() {
- }
+ DevToolsRemoteMessageTest() : testing::Test() {}
protected:
virtual void SetUp() {
@@ -41,11 +41,11 @@ TEST_F(DevToolsRemoteMessageTest, ConstructInstanceManually) {
TEST_F(DevToolsRemoteMessageTest, ConstructWithBuilder) {
std::string content = "Responsecontent";
- testing::internal::scoped_ptr<DevToolsRemoteMessage> message(
+ scoped_ptr<DevToolsRemoteMessage> message(
DevToolsRemoteMessageBuilder::instance().Create(
"V8Debugger", // tool
- "2", // destination
- content)); // content
+ "2", // destination
+ content)); // content
ASSERT_EQ(static_cast<DevToolsRemoteMessage::HeaderMap::size_type>(3),
message->headers().size());