summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions/update_manifest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common/extensions/update_manifest.cc')
-rw-r--r--chrome/common/extensions/update_manifest.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/common/extensions/update_manifest.cc b/chrome/common/extensions/update_manifest.cc
index 4394a7b..ec8b444 100644
--- a/chrome/common/extensions/update_manifest.cc
+++ b/chrome/common/extensions/update_manifest.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.
@@ -8,6 +8,7 @@
#include "base/stl_util-inl.h"
#include "base/string_util.h"
+#include "base/string_number_conversions.h"
#include "base/values.h"
#include "base/version.h"
#include "chrome/common/libxml_utils.h"
@@ -237,7 +238,7 @@ bool UpdateManifest::Parse(const std::string& manifest_xml) {
xmlNode* first = daystarts[0];
std::string elapsed_seconds = GetAttribute(first, "elapsed_seconds");
int parsed_elapsed = kNoDaystart;
- if (StringToInt(elapsed_seconds, &parsed_elapsed)) {
+ if (base::StringToInt(elapsed_seconds, &parsed_elapsed)) {
results_.daystart_elapsed_seconds = parsed_elapsed;
}
}