Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(405)

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

Issue 3447008: base: Finish moving the SplitString functions from string_util.h to string_split.h (Closed) Base URL: git://git.chromium.org/chromium.git
Patch Set: chromeos fixes Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/browser/spellcheck_host.cc ('k') | chrome/browser/views/shell_dialogs_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/translate/translate_manager.h" 5 #include "chrome/browser/translate/translate_manager.h"
6 6
7 #include "app/resource_bundle.h" 7 #include "app/resource_bundle.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/histogram.h" 10 #include "base/histogram.h"
11 #include "base/string_split.h"
11 #include "base/string_util.h" 12 #include "base/string_util.h"
12 #include "chrome/browser/browser.h" 13 #include "chrome/browser/browser.h"
13 #include "chrome/browser/browser_list.h" 14 #include "chrome/browser/browser_list.h"
14 #include "chrome/browser/browser_process.h" 15 #include "chrome/browser/browser_process.h"
15 #include "chrome/browser/prefs/pref_service.h" 16 #include "chrome/browser/prefs/pref_service.h"
16 #include "chrome/browser/profile.h" 17 #include "chrome/browser/profile.h"
17 #include "chrome/browser/renderer_host/render_process_host.h" 18 #include "chrome/browser/renderer_host/render_process_host.h"
18 #include "chrome/browser/renderer_host/render_view_host.h" 19 #include "chrome/browser/renderer_host/render_view_host.h"
19 #include "chrome/browser/tab_contents/language_state.h" 20 #include "chrome/browser/tab_contents/language_state.h"
20 #include "chrome/browser/tab_contents/navigation_controller.h" 21 #include "chrome/browser/tab_contents/navigation_controller.h"
(...skipping 588 matching lines...) Expand 10 before | Expand all | Expand 10 after
609 TranslateInfoBarDelegate* TranslateManager::GetTranslateInfoBarDelegate( 610 TranslateInfoBarDelegate* TranslateManager::GetTranslateInfoBarDelegate(
610 TabContents* tab) { 611 TabContents* tab) {
611 for (int i = 0; i < tab->infobar_delegate_count(); ++i) { 612 for (int i = 0; i < tab->infobar_delegate_count(); ++i) {
612 TranslateInfoBarDelegate* delegate = 613 TranslateInfoBarDelegate* delegate =
613 tab->GetInfoBarDelegateAt(i)->AsTranslateInfoBarDelegate(); 614 tab->GetInfoBarDelegateAt(i)->AsTranslateInfoBarDelegate();
614 if (delegate) 615 if (delegate)
615 return delegate; 616 return delegate;
616 } 617 }
617 return NULL; 618 return NULL;
618 } 619 }
OLDNEW
« no previous file with comments | « chrome/browser/spellcheck_host.cc ('k') | chrome/browser/views/shell_dialogs_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698