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

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

Issue 6598086: Update more includes that were pointing to the old locations. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync Created 9 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/tab_contents/test_tab_contents.h ('k') | chrome/browser/ui/browser.h » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/metrics/histogram.h" 9 #include "base/metrics/histogram.h"
10 #include "base/singleton.h" 10 #include "base/singleton.h"
11 #include "base/string_split.h" 11 #include "base/string_split.h"
12 #include "base/string_util.h" 12 #include "base/string_util.h"
13 #include "chrome/browser/autofill/autofill_manager.h" 13 #include "chrome/browser/autofill/autofill_manager.h"
14 #include "chrome/browser/browser_list.h" 14 #include "chrome/browser/browser_list.h"
15 #include "chrome/browser/browser_process.h" 15 #include "chrome/browser/browser_process.h"
16 #include "chrome/browser/prefs/pref_service.h" 16 #include "chrome/browser/prefs/pref_service.h"
17 #include "chrome/browser/profiles/profile.h" 17 #include "chrome/browser/profiles/profile.h"
18 #include "chrome/browser/tab_contents/language_state.h"
19 #include "chrome/browser/tab_contents/tab_util.h" 18 #include "chrome/browser/tab_contents/tab_util.h"
20 #include "chrome/browser/tabs/tab_strip_model.h" 19 #include "chrome/browser/tabs/tab_strip_model.h"
21 #include "chrome/browser/translate/page_translated_details.h" 20 #include "chrome/browser/translate/page_translated_details.h"
22 #include "chrome/browser/translate/translate_infobar_delegate.h" 21 #include "chrome/browser/translate/translate_infobar_delegate.h"
23 #include "chrome/browser/translate/translate_prefs.h" 22 #include "chrome/browser/translate/translate_prefs.h"
24 #include "chrome/browser/ui/browser.h" 23 #include "chrome/browser/ui/browser.h"
25 #include "chrome/common/chrome_switches.h" 24 #include "chrome/common/chrome_switches.h"
26 #include "chrome/common/notification_details.h" 25 #include "chrome/common/notification_details.h"
27 #include "chrome/common/notification_service.h" 26 #include "chrome/common/notification_service.h"
28 #include "chrome/common/notification_source.h" 27 #include "chrome/common/notification_source.h"
29 #include "chrome/common/notification_type.h" 28 #include "chrome/common/notification_type.h"
30 #include "chrome/common/pref_names.h" 29 #include "chrome/common/pref_names.h"
31 #include "chrome/common/render_messages.h" 30 #include "chrome/common/render_messages.h"
32 #include "chrome/common/translate_errors.h" 31 #include "chrome/common/translate_errors.h"
33 #include "chrome/common/url_constants.h" 32 #include "chrome/common/url_constants.h"
34 #include "content/browser/renderer_host/render_process_host.h" 33 #include "content/browser/renderer_host/render_process_host.h"
35 #include "content/browser/renderer_host/render_view_host.h" 34 #include "content/browser/renderer_host/render_view_host.h"
35 #include "content/browser/tab_contents/language_state.h"
36 #include "content/browser/tab_contents/navigation_controller.h" 36 #include "content/browser/tab_contents/navigation_controller.h"
37 #include "content/browser/tab_contents/navigation_entry.h" 37 #include "content/browser/tab_contents/navigation_entry.h"
38 #include "content/browser/tab_contents/tab_contents.h" 38 #include "content/browser/tab_contents/tab_contents.h"
39 #include "grit/browser_resources.h" 39 #include "grit/browser_resources.h"
40 #include "net/base/escape.h" 40 #include "net/base/escape.h"
41 #include "net/url_request/url_request_status.h" 41 #include "net/url_request/url_request_status.h"
42 #include "ui/base/resource/resource_bundle.h" 42 #include "ui/base/resource/resource_bundle.h"
43 43
44 namespace { 44 namespace {
45 45
(...skipping 586 matching lines...) Expand 10 before | Expand all | Expand 10 after
632 TranslateInfoBarDelegate* TranslateManager::GetTranslateInfoBarDelegate( 632 TranslateInfoBarDelegate* TranslateManager::GetTranslateInfoBarDelegate(
633 TabContents* tab) { 633 TabContents* tab) {
634 for (size_t i = 0; i < tab->infobar_count(); ++i) { 634 for (size_t i = 0; i < tab->infobar_count(); ++i) {
635 TranslateInfoBarDelegate* delegate = 635 TranslateInfoBarDelegate* delegate =
636 tab->GetInfoBarDelegateAt(i)->AsTranslateInfoBarDelegate(); 636 tab->GetInfoBarDelegateAt(i)->AsTranslateInfoBarDelegate();
637 if (delegate) 637 if (delegate)
638 return delegate; 638 return delegate;
639 } 639 }
640 return NULL; 640 return NULL;
641 } 641 }
OLDNEW
« no previous file with comments | « chrome/browser/tab_contents/test_tab_contents.h ('k') | chrome/browser/ui/browser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698