| 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_about_handler.h" | 5 #include "chrome/browser/browser_about_handler.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/callback.h" | 11 #include "base/callback.h" |
| 12 #include "base/command_line.h" | 12 #include "base/command_line.h" |
| 13 #include "base/i18n/number_formatting.h" | 13 #include "base/i18n/number_formatting.h" |
| 14 #include "base/json/json_writer.h" | 14 #include "base/json/json_writer.h" |
| 15 #include "base/metrics/histogram.h" | 15 #include "base/metrics/histogram.h" |
| 16 #include "base/metrics/stats_table.h" | 16 #include "base/metrics/stats_table.h" |
| 17 #include "base/path_service.h" | 17 #include "base/path_service.h" |
| 18 #include "base/singleton.h" | 18 #include "base/singleton.h" |
| 19 #include "base/stringprintf.h" | |
| 20 #include "base/string_number_conversions.h" | 19 #include "base/string_number_conversions.h" |
| 21 #include "base/string_piece.h" | 20 #include "base/string_piece.h" |
| 22 #include "base/string_util.h" | 21 #include "base/string_util.h" |
| 22 #include "base/stringprintf.h" |
| 23 #include "base/threading/thread.h" | 23 #include "base/threading/thread.h" |
| 24 #include "base/tracked_objects.h" | 24 #include "base/tracked_objects.h" |
| 25 #include "base/utf_string_conversions.h" | 25 #include "base/utf_string_conversions.h" |
| 26 #include "base/values.h" | 26 #include "base/values.h" |
| 27 #include "chrome/browser/about_flags.h" | 27 #include "chrome/browser/about_flags.h" |
| 28 #include "chrome/browser/browser_process.h" | 28 #include "chrome/browser/browser_process.h" |
| 29 #include "chrome/browser/browser_thread.h" | 29 #include "chrome/browser/browser_thread.h" |
| 30 #include "chrome/browser/defaults.h" | 30 #include "chrome/browser/defaults.h" |
| 31 #include "chrome/browser/dom_ui/chrome_url_data_manager.h" | |
| 32 #include "chrome/browser/gpu_process_host.h" | 31 #include "chrome/browser/gpu_process_host.h" |
| 33 #include "chrome/browser/gpu_process_host_ui_shim.h" | 32 #include "chrome/browser/gpu_process_host_ui_shim.h" |
| 34 #include "chrome/browser/memory_details.h" | 33 #include "chrome/browser/memory_details.h" |
| 35 #include "chrome/browser/metrics/histogram_synchronizer.h" | 34 #include "chrome/browser/metrics/histogram_synchronizer.h" |
| 36 #include "chrome/browser/net/predictor_api.h" | 35 #include "chrome/browser/net/predictor_api.h" |
| 37 #include "chrome/browser/platform_util.h" | 36 #include "chrome/browser/platform_util.h" |
| 38 #include "chrome/browser/profiles/profile.h" | 37 #include "chrome/browser/profiles/profile.h" |
| 39 #include "chrome/browser/profiles/profile_manager.h" | 38 #include "chrome/browser/profiles/profile_manager.h" |
| 40 #include "chrome/browser/renderer_host/render_process_host.h" | 39 #include "chrome/browser/renderer_host/render_process_host.h" |
| 41 #include "chrome/browser/renderer_host/render_view_host.h" | 40 #include "chrome/browser/renderer_host/render_view_host.h" |
| 42 #include "chrome/browser/ui/browser_dialogs.h" | 41 #include "chrome/browser/ui/browser_dialogs.h" |
| 42 #include "chrome/browser/webui/chrome_url_data_manager.h" |
| 43 #include "chrome/common/about_handler.h" | 43 #include "chrome/common/about_handler.h" |
| 44 #include "chrome/common/chrome_paths.h" | 44 #include "chrome/common/chrome_paths.h" |
| 45 #include "chrome/common/chrome_version_info.h" | 45 #include "chrome/common/chrome_version_info.h" |
| 46 #include "chrome/common/gpu_info.h" | 46 #include "chrome/common/gpu_info.h" |
| 47 #include "chrome/common/jstemplate_builder.h" | 47 #include "chrome/common/jstemplate_builder.h" |
| 48 #include "chrome/common/net/gaia/google_service_auth_error.h" | 48 #include "chrome/common/net/gaia/google_service_auth_error.h" |
| 49 #include "chrome/common/render_messages.h" | 49 #include "chrome/common/render_messages.h" |
| 50 #include "chrome/common/url_constants.h" | 50 #include "chrome/common/url_constants.h" |
| 51 #include "googleurl/src/gurl.h" | 51 #include "googleurl/src/gurl.h" |
| 52 #include "grit/browser_resources.h" | 52 #include "grit/browser_resources.h" |
| 53 #include "grit/chromium_strings.h" | 53 #include "grit/chromium_strings.h" |
| 54 #include "grit/generated_resources.h" | 54 #include "grit/generated_resources.h" |
| 55 #include "grit/locale_settings.h" | 55 #include "grit/locale_settings.h" |
| 56 #include "webkit/glue/webkit_glue.h" | |
| 57 #include "net/base/escape.h" | 56 #include "net/base/escape.h" |
| 58 #include "ui/base/l10n/l10n_util.h" | 57 #include "ui/base/l10n/l10n_util.h" |
| 59 #include "ui/base/resource/resource_bundle.h" | 58 #include "ui/base/resource/resource_bundle.h" |
| 59 #include "webkit/glue/webkit_glue.h" |
| 60 #ifdef CHROME_V8 | 60 #ifdef CHROME_V8 |
| 61 #include "v8/include/v8.h" | 61 #include "v8/include/v8.h" |
| 62 #endif | 62 #endif |
| 63 | 63 |
| 64 #if defined(OS_WIN) | 64 #if defined(OS_WIN) |
| 65 #include "chrome/browser/enumerate_modules_model_win.h" | 65 #include "chrome/browser/enumerate_modules_model_win.h" |
| 66 #elif defined(OS_CHROMEOS) | 66 #elif defined(OS_CHROMEOS) |
| 67 #include "chrome/browser/chromeos/cros/cros_library.h" | 67 #include "chrome/browser/chromeos/cros/cros_library.h" |
| 68 #include "chrome/browser/chromeos/cros/network_library.h" | 68 #include "chrome/browser/chromeos/cros/network_library.h" |
| 69 #include "chrome/browser/chromeos/cros/syslogs_library.h" | 69 #include "chrome/browser/chromeos/cros/syslogs_library.h" |
| (...skipping 1056 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1126 // Run the dialog. This will re-use the existing one if it's already up. | 1126 // Run the dialog. This will re-use the existing one if it's already up. |
| 1127 browser::ShowAboutIPCDialog(); | 1127 browser::ShowAboutIPCDialog(); |
| 1128 return true; | 1128 return true; |
| 1129 } | 1129 } |
| 1130 #endif | 1130 #endif |
| 1131 | 1131 |
| 1132 #endif // OFFICIAL_BUILD | 1132 #endif // OFFICIAL_BUILD |
| 1133 | 1133 |
| 1134 return false; | 1134 return false; |
| 1135 } | 1135 } |
| OLD | NEW |