summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa
diff options
context:
space:
mode:
authorviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-19 17:56:33 +0000
committerviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-19 17:56:33 +0000
commit1f5efc69c8a5513cb8b5dd2acb0fdba591ff6fc1 (patch)
treeb0fdf7d030ffd16c4e5c350a88624bae07db8c25 /chrome/browser/cocoa
parent0d60c7643b6fb555e1c0f60615853a37d6fa1fa8 (diff)
downloadchromium_src-1f5efc69c8a5513cb8b5dd2acb0fdba591ff6fc1.zip
chromium_src-1f5efc69c8a5513cb8b5dd2acb0fdba591ff6fc1.tar.gz
chromium_src-1f5efc69c8a5513cb8b5dd2acb0fdba591ff6fc1.tar.bz2
Clean up unnecessary #includes of base/{scoped_ptr.h,string16.h}.
Also fix a bunch of #includes. Folks, scoped_refptr<> is defined in base/ref_counted.h, not in base/scoped_ptr.h. BUG=none TEST=builds Review URL: http://codereview.chromium.org/3132024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56712 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa')
-rw-r--r--chrome/browser/cocoa/applescript/bookmark_applescript_utils_unittest.h1
-rw-r--r--chrome/browser/cocoa/base_bubble_controller.h2
-rw-r--r--chrome/browser/cocoa/cocoa_test_helper.h1
-rw-r--r--chrome/browser/cocoa/cookie_details_view_controller.h2
-rw-r--r--chrome/browser/cocoa/cookie_prompt_window_controller.h1
-rw-r--r--chrome/browser/cocoa/download_shelf_mac.h1
-rw-r--r--chrome/browser/cocoa/history_menu_bridge.h2
-rw-r--r--chrome/browser/cocoa/menu_controller.h1
-rw-r--r--chrome/browser/cocoa/web_contents_drag_source.h1
9 files changed, 1 insertions, 11 deletions
diff --git a/chrome/browser/cocoa/applescript/bookmark_applescript_utils_unittest.h b/chrome/browser/cocoa/applescript/bookmark_applescript_utils_unittest.h
index d35d1e9..bb77726 100644
--- a/chrome/browser/cocoa/applescript/bookmark_applescript_utils_unittest.h
+++ b/chrome/browser/cocoa/applescript/bookmark_applescript_utils_unittest.h
@@ -9,7 +9,6 @@
#import <Cocoa/Cocoa.h>
#include "base/scoped_nsobject.h"
-#include "base/scoped_ptr.h"
#import "chrome/browser/app_controller_mac.h"
#import "chrome/browser/cocoa/applescript/bookmark_folder_applescript.h"
#include "chrome/browser/cocoa/browser_test_helper.h"
diff --git a/chrome/browser/cocoa/base_bubble_controller.h b/chrome/browser/cocoa/base_bubble_controller.h
index 795f1a1..51cfa58 100644
--- a/chrome/browser/cocoa/base_bubble_controller.h
+++ b/chrome/browser/cocoa/base_bubble_controller.h
@@ -5,8 +5,6 @@
#import <Cocoa/Cocoa.h>
#import "base/cocoa_protocols_mac.h"
-#include "base/scoped_nsobject.h"
-#include "base/scoped_ptr.h"
@class InfoBubbleView;
diff --git a/chrome/browser/cocoa/cocoa_test_helper.h b/chrome/browser/cocoa/cocoa_test_helper.h
index 7702fd3..da244e4 100644
--- a/chrome/browser/cocoa/cocoa_test_helper.h
+++ b/chrome/browser/cocoa/cocoa_test_helper.h
@@ -14,7 +14,6 @@
#include "base/path_service.h"
#import "base/scoped_nsautorelease_pool.h"
#import "base/scoped_nsobject.h"
-#include "base/scoped_ptr.h"
#include "chrome/common/chrome_constants.h"
#include "testing/platform_test.h"
diff --git a/chrome/browser/cocoa/cookie_details_view_controller.h b/chrome/browser/cocoa/cookie_details_view_controller.h
index c9f9635..cad42f4 100644
--- a/chrome/browser/cocoa/cookie_details_view_controller.h
+++ b/chrome/browser/cocoa/cookie_details_view_controller.h
@@ -5,8 +5,6 @@
#import <Cocoa/Cocoa.h>
#include "base/cocoa_protocols_mac.h"
-#include "base/scoped_nsobject.h"
-#include "base/scoped_ptr.h"
#include "net/base/cookie_monster.h"
@class CocoaCookieTreeNode;
diff --git a/chrome/browser/cocoa/cookie_prompt_window_controller.h b/chrome/browser/cocoa/cookie_prompt_window_controller.h
index 6ae68b4..0969a9b 100644
--- a/chrome/browser/cocoa/cookie_prompt_window_controller.h
+++ b/chrome/browser/cocoa/cookie_prompt_window_controller.h
@@ -6,7 +6,6 @@
#include "base/cocoa_protocols_mac.h"
#include "base/scoped_nsobject.h"
-#include "base/scoped_ptr.h"
class CookiePromptModalDialog;
class CookieTreeNode;
diff --git a/chrome/browser/cocoa/download_shelf_mac.h b/chrome/browser/cocoa/download_shelf_mac.h
index 4c158e4..462b38f 100644
--- a/chrome/browser/cocoa/download_shelf_mac.h
+++ b/chrome/browser/cocoa/download_shelf_mac.h
@@ -8,7 +8,6 @@
#import <Cocoa/Cocoa.h>
-#include "base/scoped_ptr.h"
#include "chrome/browser/download/download_shelf.h"
class BaseDownloadItemModel;
diff --git a/chrome/browser/cocoa/history_menu_bridge.h b/chrome/browser/cocoa/history_menu_bridge.h
index 9757a35..55dab4d 100644
--- a/chrome/browser/cocoa/history_menu_bridge.h
+++ b/chrome/browser/cocoa/history_menu_bridge.h
@@ -9,8 +9,8 @@
#import <Cocoa/Cocoa.h>
#include <map>
+#include "base/ref_counted.h"
#include "base/scoped_nsobject.h"
-#include "base/scoped_ptr.h"
#include "chrome/browser/cancelable_request.h"
#import "chrome/browser/favicon_service.h"
#include "chrome/browser/history/history.h"
diff --git a/chrome/browser/cocoa/menu_controller.h b/chrome/browser/cocoa/menu_controller.h
index 7a8daeb..c47af7f 100644
--- a/chrome/browser/cocoa/menu_controller.h
+++ b/chrome/browser/cocoa/menu_controller.h
@@ -9,7 +9,6 @@
#import <Cocoa/Cocoa.h>
#include "base/scoped_nsobject.h"
-#include "base/scoped_ptr.h"
namespace menus {
class MenuModel;
diff --git a/chrome/browser/cocoa/web_contents_drag_source.h b/chrome/browser/cocoa/web_contents_drag_source.h
index 6fde76a..168ce31 100644
--- a/chrome/browser/cocoa/web_contents_drag_source.h
+++ b/chrome/browser/cocoa/web_contents_drag_source.h
@@ -9,7 +9,6 @@
#import <Cocoa/Cocoa.h>
#include "base/scoped_nsobject.h"
-#include "base/scoped_ptr.h"
#include "chrome/browser/bookmarks/bookmark_drag_data.h"
@class TabContentsViewCocoa;