Skip to content

Commit

Permalink
FBTF: Remove "obviously" unneeded standard C++ library #includes.
Browse files Browse the repository at this point in the history
BUG=none
TEST=builds

Review URL: http://codereview.chromium.org/3179017

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56171 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
viettrungluu@chromium.org committed Aug 15, 2010
1 parent 16b5271 commit 2449241
Show file tree
Hide file tree
Showing 155 changed files with 62 additions and 279 deletions.
1 change: 0 additions & 1 deletion chrome/browser/autocomplete/autocomplete_popup_view_mac.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
#import <Cocoa/Cocoa.h>

#include <string>
#include <map>

#include "base/basictypes.h"
#include "base/scoped_ptr.h"
Expand Down
3 changes: 1 addition & 2 deletions chrome/browser/autofill/autofill_cc_infobar_delegate.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
#define CHROME_BROWSER_AUTOFILL_AUTOFILL_CC_INFOBAR_DELEGATE_H_
#pragma once

#include <string>

#include "base/string16.h"
#include "chrome/browser/tab_contents/infobar_delegate.h"

class AutoFillManager;
Expand Down
3 changes: 1 addition & 2 deletions chrome/browser/autofill/autofill_type.h
Original file line number Diff line number Diff line change
@@ -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.

Expand All @@ -8,7 +8,6 @@

#include <map>
#include <set>
#include <string>

#include "base/string16.h"
#include "chrome/browser/autofill/field_types.h"
Expand Down
2 changes: 0 additions & 2 deletions chrome/browser/automation/ui_controls.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@

#include "build/build_config.h"

#include <string>

#if defined(OS_WIN)
#include <wtypes.h>
#endif
Expand Down
4 changes: 1 addition & 3 deletions chrome/browser/automation/url_request_automation_job.h
Original file line number Diff line number Diff line change
@@ -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.
// This class simulates what wininet does when a dns lookup fails.
Expand All @@ -7,8 +7,6 @@
#define CHROME_BROWSER_AUTOMATION_URL_REQUEST_AUTOMATION_JOB_H_
#pragma once

#include <vector>

#include "chrome/browser/automation/automation_resource_message_filter.h"
#include "chrome/common/ref_counted_util.h"
#include "net/http/http_response_headers.h"
Expand Down
1 change: 0 additions & 1 deletion chrome/browser/bookmarks/bookmark_drag_data.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
#define CHROME_BROWSER_BOOKMARKS_BOOKMARK_DRAG_DATA_H_
#pragma once

#include <string>
#include <vector>

#include "base/file_path.h"
Expand Down
2 changes: 0 additions & 2 deletions chrome/browser/browsing_data_appcache_helper.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
#define CHROME_BROWSER_BROWSING_DATA_APPCACHE_HELPER_H_
#pragma once

#include <string>

#include "base/scoped_ptr.h"
#include "base/task.h"
#include "chrome/browser/appcache/chrome_appcache_service.h"
Expand Down
1 change: 0 additions & 1 deletion chrome/browser/chromeos/cros/input_method_library.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
#define CHROME_BROWSER_CHROMEOS_CROS_INPUT_METHOD_LIBRARY_H_
#pragma once

#include <map>
#include <string>
#include <utility>

Expand Down
3 changes: 1 addition & 2 deletions chrome/browser/chromeos/cros/mock_mount_library.h
Original file line number Diff line number Diff line change
@@ -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.

Expand All @@ -7,7 +7,6 @@
#pragma once

#include <string>
#include <vector>

#include "base/observer_list.h"
#include "base/time.h"
Expand Down
2 changes: 0 additions & 2 deletions chrome/browser/chromeos/dom_ui/labs_handler.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
#define CHROME_BROWSER_CHROMEOS_DOM_UI_LABS_HANDLER_H_
#pragma once

#include <string>

#include "chrome/browser/dom_ui/options_ui.h"

// ChromeOS labs options page UI handler.
Expand Down
2 changes: 0 additions & 2 deletions chrome/browser/chromeos/dom_ui/proxy_handler.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
#ifndef CHROME_BROWSER_CHROMEOS_DOM_UI_PROXY_HANDLER_H_
#define CHROME_BROWSER_CHROMEOS_DOM_UI_PROXY_HANDLER_H_

#include <string>

#include "chrome/browser/dom_ui/options_ui.h"

// ChromeOS proxy options page UI handler.
Expand Down
1 change: 1 addition & 0 deletions chrome/browser/chromeos/input_method/input_method_util.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_UTIL_H_
#pragma once

#include <map>
#include <string>
#include <vector>

Expand Down
2 changes: 0 additions & 2 deletions chrome/browser/chromeos/login/authenticator.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
#define CHROME_BROWSER_CHROMEOS_LOGIN_AUTHENTICATOR_H_
#pragma once

#include <vector>

#include "base/logging.h"
#include "base/ref_counted.h"
#include "chrome/browser/chrome_thread.h"
Expand Down
2 changes: 0 additions & 2 deletions chrome/browser/chromeos/login/eula_view.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
#define CHROME_BROWSER_CHROMEOS_LOGIN_EULA_VIEW_H_
#pragma once

#include <string>

#include "chrome/browser/chromeos/login/view_screen.h"
#include "chrome/browser/pref_member.h"
#include "chrome/browser/tab_contents/tab_contents_delegate.h"
Expand Down
1 change: 0 additions & 1 deletion chrome/browser/chromeos/login/login_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
#pragma once

#include <string>
#include <vector>

#include "chrome/common/net/gaia/gaia_auth_consumer.h"

Expand Down
3 changes: 1 addition & 2 deletions chrome/browser/chromeos/login/network_selection_view.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
#define CHROME_BROWSER_CHROMEOS_LOGIN_NETWORK_SELECTION_VIEW_H_
#pragma once

#include <string>

#include "base/string16.h"
#include "views/controls/button/menu_button.h"
#include "views/view.h"
#include "views/widget/widget_gtk.h"
Expand Down
1 change: 0 additions & 1 deletion chrome/browser/chromeos/login/new_user_view.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
#pragma once

#include <string>
#include <vector>

#include "base/gtest_prod_util.h"
#include "base/ref_counted.h"
Expand Down
1 change: 0 additions & 1 deletion chrome/browser/chromeos/login/user_image_downloader.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
#pragma once

#include <string>
#include <vector>

#include "base/basictypes.h"
#include "base/ref_counted.h"
Expand Down
4 changes: 1 addition & 3 deletions chrome/browser/chromeos/options/cellular_config_view.h
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
// 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.

#ifndef CHROME_BROWSER_CHROMEOS_OPTIONS_CELLULAR_CONFIG_VIEW_H_
#define CHROME_BROWSER_CHROMEOS_OPTIONS_CELLULAR_CONFIG_VIEW_H_
#pragma once

#include <string>

#include "chrome/browser/chromeos/cros/network_library.h"
#include "views/controls/button/checkbox.h"
#include "views/view.h"
Expand Down
1 change: 0 additions & 1 deletion chrome/browser/chromeos/options/language_config_model.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
#define CHROME_BROWSER_CHROMEOS_OPTIONS_LANGUAGE_CONFIG_MODEL_H_
#pragma once

#include <map>
#include <set>
#include <string>
#include <vector>
Expand Down
1 change: 0 additions & 1 deletion chrome/browser/chromeos/options/language_config_view.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
#include <map>
#include <set>
#include <string>
#include <vector>

#include "app/table_model.h"
#include "chrome/browser/chromeos/options/language_config_model.h"
Expand Down
2 changes: 0 additions & 2 deletions chrome/browser/chromeos/panels/panel_scroller_header.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
#define CHROME_BROWSER_CHROMEOS_PANELS_PANEL_SCROLLER_HEADER_H_
#pragma once

#include <string>

#include "base/basictypes.h"
#include "base/string16.h"
#include "views/view.h"
Expand Down
3 changes: 1 addition & 2 deletions chrome/browser/cocoa/cocoa_test_helper.h
Original file line number Diff line number Diff line change
@@ -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.

Expand All @@ -7,7 +7,6 @@
#pragma once

#import <Cocoa/Cocoa.h>
#include <vector>

#import "base/chrome_application_mac.h"
#include "base/debug_util.h"
Expand Down
2 changes: 0 additions & 2 deletions chrome/browser/cocoa/content_exceptions_window_controller.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

#import <Cocoa/Cocoa.h>

#include <string>

#include "base/cocoa_protocols_mac.h"
#include "base/scoped_ptr.h"
#include "chrome/browser/host_content_settings_map.h"
Expand Down
1 change: 0 additions & 1 deletion chrome/browser/cocoa/content_setting_bubble_cocoa.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// found in the LICENSE file.

#include <map>
#include <string>

#import <Cocoa/Cocoa.h>

Expand Down
4 changes: 1 addition & 3 deletions chrome/browser/cocoa/download_shelf_mac.h
Original file line number Diff line number Diff line change
@@ -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.

Expand All @@ -8,8 +8,6 @@

#import <Cocoa/Cocoa.h>

#include <vector>

#include "base/scoped_ptr.h"
#include "chrome/browser/download/download_shelf.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
#define CHROME_BROWSER_COCOA_EXTENSION_INSTALL_PROMPT_H_
#pragma once

#include <string>
#include <vector>

#import <Cocoa/Cocoa.h>

#include "base/scoped_nsobject.h"
#include "base/string16.h"
#include "chrome/browser/extensions/extension_install_ui.h"
#include "third_party/skia/include/core/SkBitmap.h"

Expand Down
5 changes: 1 addition & 4 deletions chrome/browser/cocoa/html_dialog_window_controller.h
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
// 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.

#ifndef CHROME_BROWSER_COCOA_HTML_DIALOG_WINDOW_CONTROLLER_H_
#define CHROME_BROWSER_COCOA_HTML_DIALOG_WINDOW_CONTROLLER_H_
#pragma once

#include <string>
#include <vector>

#import <Cocoa/Cocoa.h>

#include "base/basictypes.h"
Expand Down
4 changes: 1 addition & 3 deletions chrome/browser/cocoa/hung_renderer_controller.h
Original file line number Diff line number Diff line change
@@ -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.

Expand All @@ -20,8 +20,6 @@

#import <Cocoa/Cocoa.h>

#include <vector>

#import "base/cocoa_protocols_mac.h"
#import "base/scoped_nsobject.h"

Expand Down
2 changes: 0 additions & 2 deletions chrome/browser/cocoa/location_bar/location_bar_view_mac.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
#pragma once

#include <string>
#include <map>
#include <vector>

#import <Cocoa/Cocoa.h>

Expand Down
4 changes: 1 addition & 3 deletions chrome/browser/debugger/debugger_wrapper.h
Original file line number Diff line number Diff line change
@@ -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.

Expand All @@ -10,8 +10,6 @@
#define CHROME_BROWSER_DEBUGGER_DEBUGGER_WRAPPER_H_
#pragma once

#include <string>

#include "base/basictypes.h"
#include "base/ref_counted.h"

Expand Down
4 changes: 1 addition & 3 deletions chrome/browser/dom_ui/dom_ui_factory.h
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
// 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.

#ifndef CHROME_BROWSER_DOM_UI_DOM_UI_FACTORY_H_
#define CHROME_BROWSER_DOM_UI_DOM_UI_FACTORY_H_
#pragma once

#include <vector>

#include "chrome/browser/favicon_service.h"

class DOMUI;
Expand Down
1 change: 0 additions & 1 deletion chrome/browser/dom_ui/history2_ui.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
#pragma once

#include <string>
#include <vector>

#include "base/string16.h"
#include "chrome/browser/dom_ui/chrome_url_data_manager.h"
Expand Down
1 change: 0 additions & 1 deletion chrome/browser/dom_ui/history_ui.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
#pragma once

#include <string>
#include <vector>

#include "base/string16.h"
#include "chrome/browser/dom_ui/chrome_url_data_manager.h"
Expand Down
4 changes: 1 addition & 3 deletions chrome/browser/dom_ui/ntp_resource_cache.h
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
// 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.

#ifndef CHROME_BROWSER_DOM_UI_NTP_RESOURCE_CACHE_H_
#define CHROME_BROWSER_DOM_UI_NTP_RESOURCE_CACHE_H_
#pragma once

#include <string>

#include "base/basictypes.h"
#include "base/ref_counted.h"
#include "chrome/common/notification_registrar.h"
Expand Down
1 change: 0 additions & 1 deletion chrome/browser/dom_ui/options_ui.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
#pragma once

#include <string>
#include <vector>

#include "base/scoped_ptr.h"
#include "chrome/browser/dom_ui/chrome_url_data_manager.h"
Expand Down
2 changes: 0 additions & 2 deletions chrome/browser/dom_ui/slideshow_ui.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
#define CHROME_BROWSER_DOM_UI_SLIDESHOW_UI_H_
#pragma once

#include <vector>

#include "base/scoped_ptr.h"
#include "chrome/browser/dom_ui/dom_ui.h"

Expand Down
Loading

0 comments on commit 2449241

Please sign in to comment.