OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/chrome_content_browser_client.h" | 5 #include "chrome/browser/chrome_content_browser_client.h" |
6 | 6 |
7 #include <set> | 7 #include <set> |
8 #include <utility> | 8 #include <utility> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 #include "content/public/browser/render_view_host.h" | 90 #include "content/public/browser/render_view_host.h" |
91 #include "content/public/browser/resource_context.h" | 91 #include "content/public/browser/resource_context.h" |
92 #include "content/public/browser/site_instance.h" | 92 #include "content/public/browser/site_instance.h" |
93 #include "content/public/browser/web_contents.h" | 93 #include "content/public/browser/web_contents.h" |
94 #include "content/public/browser/web_contents_view.h" | 94 #include "content/public/browser/web_contents_view.h" |
95 #include "content/public/common/child_process_host.h" | 95 #include "content/public/common/child_process_host.h" |
96 #include "content/public/common/content_descriptors.h" | 96 #include "content/public/common/content_descriptors.h" |
97 #include "grit/generated_resources.h" | 97 #include "grit/generated_resources.h" |
98 #include "grit/ui_resources.h" | 98 #include "grit/ui_resources.h" |
99 #include "net/base/ssl_cert_request_info.h" | 99 #include "net/base/ssl_cert_request_info.h" |
100 #include "net/cookies/cookie_monster.h" | 100 #include "net/cookies/canonical_cookie.h" |
101 #include "net/cookies/cookie_options.h" | 101 #include "net/cookies/cookie_options.h" |
102 #include "ui/base/l10n/l10n_util.h" | 102 #include "ui/base/l10n/l10n_util.h" |
103 #include "ui/base/resource/resource_bundle.h" | 103 #include "ui/base/resource/resource_bundle.h" |
104 #include "webkit/glue/webpreferences.h" | 104 #include "webkit/glue/webpreferences.h" |
105 #include "webkit/plugins/plugin_switches.h" | 105 #include "webkit/plugins/plugin_switches.h" |
106 | 106 |
107 #if defined(OS_WIN) | 107 #if defined(OS_WIN) |
108 #include "chrome/browser/chrome_browser_main_win.h" | 108 #include "chrome/browser/chrome_browser_main_win.h" |
109 #elif defined(OS_MACOSX) | 109 #elif defined(OS_MACOSX) |
110 #include "chrome/browser/chrome_browser_main_mac.h" | 110 #include "chrome/browser/chrome_browser_main_mac.h" |
(...skipping 1555 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1666 io_thread_application_locale_ = locale; | 1666 io_thread_application_locale_ = locale; |
1667 } | 1667 } |
1668 | 1668 |
1669 void ChromeContentBrowserClient::SetApplicationLocaleOnIOThread( | 1669 void ChromeContentBrowserClient::SetApplicationLocaleOnIOThread( |
1670 const std::string& locale) { | 1670 const std::string& locale) { |
1671 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); | 1671 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); |
1672 io_thread_application_locale_ = locale; | 1672 io_thread_application_locale_ = locale; |
1673 } | 1673 } |
1674 | 1674 |
1675 } // namespace chrome | 1675 } // namespace chrome |
OLD | NEW |