| OLD | NEW |
| 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/browser_main.h" | 5 #include "chrome/browser/browser_main.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 #include "chrome/browser/shell_integration.h" | 71 #include "chrome/browser/shell_integration.h" |
| 72 #include "chrome/browser/translate/translate_manager.h" | 72 #include "chrome/browser/translate/translate_manager.h" |
| 73 #include "chrome/browser/ui/browser.h" | 73 #include "chrome/browser/ui/browser.h" |
| 74 #include "chrome/browser/ui/browser_init.h" | 74 #include "chrome/browser/ui/browser_init.h" |
| 75 #include "chrome/browser/ui/webui/chrome_url_data_manager_backend.h" | 75 #include "chrome/browser/ui/webui/chrome_url_data_manager_backend.h" |
| 76 #include "chrome/common/chrome_constants.h" | 76 #include "chrome/common/chrome_constants.h" |
| 77 #include "chrome/common/chrome_paths.h" | 77 #include "chrome/common/chrome_paths.h" |
| 78 #include "chrome/common/chrome_switches.h" | 78 #include "chrome/common/chrome_switches.h" |
| 79 #include "chrome/common/env_vars.h" | 79 #include "chrome/common/env_vars.h" |
| 80 #include "chrome/common/gfx_resource_provider.h" | 80 #include "chrome/common/gfx_resource_provider.h" |
| 81 #include "chrome/common/hi_res_timer_manager.h" | |
| 82 #include "chrome/common/json_pref_store.h" | 81 #include "chrome/common/json_pref_store.h" |
| 83 #include "chrome/common/jstemplate_builder.h" | 82 #include "chrome/common/jstemplate_builder.h" |
| 84 #include "chrome/common/logging_chrome.h" | 83 #include "chrome/common/logging_chrome.h" |
| 85 #include "chrome/common/net/net_resource_provider.h" | 84 #include "chrome/common/net/net_resource_provider.h" |
| 86 #include "chrome/common/pref_names.h" | 85 #include "chrome/common/pref_names.h" |
| 87 #include "chrome/common/profiling.h" | 86 #include "chrome/common/profiling.h" |
| 88 #include "chrome/common/result_codes.h" | 87 #include "chrome/common/result_codes.h" |
| 89 #include "chrome/installer/util/google_update_settings.h" | 88 #include "chrome/installer/util/google_update_settings.h" |
| 90 #include "content/browser/browser_thread.h" | 89 #include "content/browser/browser_thread.h" |
| 91 #include "content/browser/plugin_service.h" | 90 #include "content/browser/plugin_service.h" |
| 92 #include "content/browser/renderer_host/resource_dispatcher_host.h" | 91 #include "content/browser/renderer_host/resource_dispatcher_host.h" |
| 93 #include "content/common/child_process.h" | 92 #include "content/common/child_process.h" |
| 93 #include "content/common/hi_res_timer_manager.h" |
| 94 #include "content/common/main_function_params.h" | 94 #include "content/common/main_function_params.h" |
| 95 #include "grit/app_locale_settings.h" | 95 #include "grit/app_locale_settings.h" |
| 96 #include "grit/chromium_strings.h" | 96 #include "grit/chromium_strings.h" |
| 97 #include "grit/generated_resources.h" | 97 #include "grit/generated_resources.h" |
| 98 #include "net/base/cookie_monster.h" | 98 #include "net/base/cookie_monster.h" |
| 99 #include "net/base/net_module.h" | 99 #include "net/base/net_module.h" |
| 100 #include "net/base/network_change_notifier.h" | 100 #include "net/base/network_change_notifier.h" |
| 101 #include "net/http/http_network_layer.h" | 101 #include "net/http/http_network_layer.h" |
| 102 #include "net/http/http_stream_factory.h" | 102 #include "net/http/http_stream_factory.h" |
| 103 #include "net/socket/client_socket_pool_base.h" | 103 #include "net/socket/client_socket_pool_base.h" |
| (...skipping 1764 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1868 #if defined(OS_CHROMEOS) | 1868 #if defined(OS_CHROMEOS) |
| 1869 // To be precise, logout (browser shutdown) is not yet done, but the | 1869 // To be precise, logout (browser shutdown) is not yet done, but the |
| 1870 // remaining work is negligible, hence we say LogoutDone here. | 1870 // remaining work is negligible, hence we say LogoutDone here. |
| 1871 chromeos::BootTimesLoader::Get()->AddLogoutTimeMarker("LogoutDone", | 1871 chromeos::BootTimesLoader::Get()->AddLogoutTimeMarker("LogoutDone", |
| 1872 false); | 1872 false); |
| 1873 chromeos::BootTimesLoader::Get()->WriteLogoutTimes(); | 1873 chromeos::BootTimesLoader::Get()->WriteLogoutTimes(); |
| 1874 #endif | 1874 #endif |
| 1875 TRACE_EVENT_END("BrowserMain", 0, 0); | 1875 TRACE_EVENT_END("BrowserMain", 0, 0); |
| 1876 return result_code; | 1876 return result_code; |
| 1877 } | 1877 } |
| OLD | NEW |