Chromium Code Reviews

Side by Side Diff: chrome/browser/browser.cc

Issue 3037044: FBTF: Remove unneeded headers from base/ (part 3) (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/browser.h" 5 #include "chrome/browser/browser.h"
6 6
7 #if defined(OS_WIN) 7 #if defined(OS_WIN)
8 #include <shellapi.h> 8 #include <shellapi.h>
9 #include <windows.h> 9 #include <windows.h>
10 #endif // OS_WIN 10 #endif // OS_WIN
11 11
12 #include <algorithm> 12 #include <algorithm>
13 #include <string> 13 #include <string>
14 14
15 #include "app/animation.h" 15 #include "app/animation.h"
16 #include "app/l10n_util.h" 16 #include "app/l10n_util.h"
17 #include "base/base_paths.h" 17 #include "base/base_paths.h"
18 #include "base/command_line.h" 18 #include "base/command_line.h"
19 #include "base/keyboard_codes.h"
20 #include "base/logging.h" 19 #include "base/logging.h"
21 #include "base/path_service.h" 20 #include "base/path_service.h"
22 #include "base/string_util.h" 21 #include "base/string_util.h"
23 #include "base/thread.h" 22 #include "base/thread.h"
24 #include "gfx/point.h" 23 #include "gfx/point.h"
25 #include "chrome/app/chrome_dll_resource.h" 24 #include "chrome/app/chrome_dll_resource.h"
26 #include "chrome/browser/autofill/autofill_manager.h" 25 #include "chrome/browser/autofill/autofill_manager.h"
27 #include "chrome/browser/bookmarks/bookmark_model.h" 26 #include "chrome/browser/bookmarks/bookmark_model.h"
28 #include "chrome/browser/bookmarks/bookmark_utils.h" 27 #include "chrome/browser/bookmarks/bookmark_utils.h"
29 #include "chrome/browser/browser_list.h" 28 #include "chrome/browser/browser_list.h"
(...skipping 4045 matching lines...)
4075 } 4074 }
4076 4075
4077 bool Browser::IsPinned(TabContents* source) { 4076 bool Browser::IsPinned(TabContents* source) {
4078 int index = tabstrip_model_.GetIndexOfTabContents(source); 4077 int index = tabstrip_model_.GetIndexOfTabContents(source);
4079 if (index == TabStripModel::kNoTab) { 4078 if (index == TabStripModel::kNoTab) {
4080 NOTREACHED() << "IsPinned called for tab not in our strip"; 4079 NOTREACHED() << "IsPinned called for tab not in our strip";
4081 return false; 4080 return false;
4082 } 4081 }
4083 return tabstrip_model_.IsTabPinned(index); 4082 return tabstrip_model_.IsTabPinned(index);
4084 } 4083 }
OLDNEW
« no previous file with comments | « chrome/browser/automation/ui_controls_linux.cc ('k') | chrome/browser/cocoa/browser_window_cocoa.mm » ('j') | no next file with comments »

Powered by Google App Engine