summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
authorviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-14 17:44:30 +0000
committerviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-14 17:44:30 +0000
commitf994f47b94bf160917e9638cd52cb5d2056739a7 (patch)
treecb991d78c7c8360ee24ddea5317352200238b118 /base
parenta748ff66516fb10dc810589036e4f2c5ccd07f93 (diff)
downloadchromium_src-f994f47b94bf160917e9638cd52cb5d2056739a7.zip
chromium_src-f994f47b94bf160917e9638cd52cb5d2056739a7.tar.gz
chromium_src-f994f47b94bf160917e9638cd52cb5d2056739a7.tar.bz2
FBTF: Remove unneeded #includes of <string> and <vector> from src/app and src/base.
BUG=none TEST=builds Review URL: http://codereview.chromium.org/3173020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56144 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r--base/debug_util.h3
-rw-r--r--base/event_recorder.h2
-rw-r--r--base/i18n/file_util_icu.h4
-rw-r--r--base/i18n/number_formatting.h4
-rw-r--r--base/i18n/word_iterator.h3
-rw-r--r--base/observer_list_threadsafe.h1
-rw-r--r--base/resource_util.h6
-rw-r--r--base/test/test_file_util.h4
8 files changed, 9 insertions, 18 deletions
diff --git a/base/debug_util.h b/base/debug_util.h
index 95df524..a7dba3a 100644
--- a/base/debug_util.h
+++ b/base/debug_util.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2006-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.
@@ -11,7 +11,6 @@
#pragma once
#include <iosfwd>
-#include <vector>
#include "base/basictypes.h"
diff --git a/base/event_recorder.h b/base/event_recorder.h
index 3fb2d23..04fbaa1 100644
--- a/base/event_recorder.h
+++ b/base/event_recorder.h
@@ -6,9 +6,9 @@
#define BASE_EVENT_RECORDER_H_
#pragma once
-#include <string>
#if defined(OS_WIN)
#include <windows.h>
+#include <stdio.h>
#endif
#include "base/basictypes.h"
diff --git a/base/i18n/file_util_icu.h b/base/i18n/file_util_icu.h
index eaf784b..bb51a88 100644
--- a/base/i18n/file_util_icu.h
+++ b/base/i18n/file_util_icu.h
@@ -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,8 +8,6 @@
// File utilities that use the ICU library go in this file.
-#include <string>
-
#include "base/file_path.h"
#include "base/string16.h"
diff --git a/base/i18n/number_formatting.h b/base/i18n/number_formatting.h
index 5927f53..f5ec083 100644
--- a/base/i18n/number_formatting.h
+++ b/base/i18n/number_formatting.h
@@ -1,4 +1,4 @@
-// Copyright (c) 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.
@@ -6,8 +6,6 @@
#define BASE_I18N_NUMBER_FORMATTING_H_
#pragma once
-#include <string>
-
#include "base/basictypes.h"
#include "base/string16.h"
diff --git a/base/i18n/word_iterator.h b/base/i18n/word_iterator.h
index fb0ee33..b9067c6 100644
--- a/base/i18n/word_iterator.h
+++ b/base/i18n/word_iterator.h
@@ -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,7 +6,6 @@
#define BASE_I18N_WORD_ITERATOR_H_
#pragma once
-#include <string>
#include <vector>
#include "unicode/ubrk.h"
diff --git a/base/observer_list_threadsafe.h b/base/observer_list_threadsafe.h
index ab9633e..f781c03 100644
--- a/base/observer_list_threadsafe.h
+++ b/base/observer_list_threadsafe.h
@@ -8,7 +8,6 @@
#include <algorithm>
#include <map>
-#include <vector>
#include "base/basictypes.h"
#include "base/callback.h"
diff --git a/base/resource_util.h b/base/resource_util.h
index 2f6b8e0..8a37f95 100644
--- a/base/resource_util.h
+++ b/base/resource_util.h
@@ -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.
@@ -10,16 +10,16 @@
#pragma once
#include <windows.h>
-#include <string>
#include "base/basictypes.h"
namespace base {
+
// Function for getting a data resource (BINDATA) from a dll. Some
// resources are optional, especially in unit tests, so this returns false
// but doesn't raise an error if the resource can't be loaded.
bool GetDataResourceFromModule(HMODULE module, int resource_id,
void** data, size_t* length);
-} // namespace
+} // namespace base
#endif // BASE_RESOURCE_UTIL_H__
diff --git a/base/test/test_file_util.h b/base/test/test_file_util.h
index 8161d13..362c525 100644
--- a/base/test/test_file_util.h
+++ b/base/test/test_file_util.h
@@ -1,4 +1,4 @@
-// Copyright (c) 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.
@@ -8,8 +8,6 @@
// File utility functions used only by tests.
-#include <string>
-
class FilePath;
namespace file_util {