From e83326f8400791e92875546b2fd1885a3a17d1b1 Mon Sep 17 00:00:00 2001 From: "brettw@chromium.org" Date: Sat, 31 Jul 2010 17:29:25 +0000 Subject: Convert more callers of the integer/string functions to using string_number_conversions.h TEST=it compiles BUG=none Review URL: http://codereview.chromium.org/3013046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54454 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/extensions/extension_devtools_events.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'chrome/browser/extensions/extension_devtools_events.cc') diff --git a/chrome/browser/extensions/extension_devtools_events.cc b/chrome/browser/extensions/extension_devtools_events.cc index bec5577..67fb031 100644 --- a/chrome/browser/extensions/extension_devtools_events.cc +++ b/chrome/browser/extensions/extension_devtools_events.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2009 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. @@ -6,6 +6,7 @@ #include +#include "base/string_number_conversions.h" #include "base/string_util.h" // These string constants and the formats used in this file must stay @@ -26,7 +27,7 @@ bool ExtensionDevToolsEvents::IsDevToolsEventName( // At this point we want something like "4.onPageEvent" std::vector parts; SplitString(event_name.substr(strlen(kDevToolsEventPrefix)), '.', &parts); - if (parts.size() == 2 && StringToInt(parts[0], tab_id)) { + if (parts.size() == 2 && base::StringToInt(parts[0], tab_id)) { return true; } } -- cgit v1.1