| OLD | NEW |
| 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/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 "app/l10n_util.h" | 11 #include "app/l10n_util.h" |
| 12 #include "app/resource_bundle.h" | 12 #include "app/resource_bundle.h" |
| 13 #include "base/callback.h" | 13 #include "base/callback.h" |
| 14 #include "base/command_line.h" | 14 #include "base/command_line.h" |
| 15 #include "base/i18n/number_formatting.h" | 15 #include "base/i18n/number_formatting.h" |
| 16 #include "base/metrics/histogram.h" | 16 #include "base/metrics/histogram.h" |
| 17 #include "base/metrics/stats_table.h" | 17 #include "base/metrics/stats_table.h" |
| 18 #include "base/path_service.h" | 18 #include "base/path_service.h" |
| 19 #include "base/platform_thread.h" | 19 #include "base/platform_thread.h" |
| 20 #include "base/stringprintf.h" | 20 #include "base/stringprintf.h" |
| 21 #include "base/string_number_conversions.h" | 21 #include "base/string_number_conversions.h" |
| 22 #include "base/string_piece.h" | 22 #include "base/string_piece.h" |
| 23 #include "base/string_util.h" | 23 #include "base/string_util.h" |
| 24 #include "base/thread.h" | 24 #include "base/thread.h" |
| 25 #include "base/tracked_objects.h" | 25 #include "base/tracked_objects.h" |
| 26 #include "base/utf_string_conversions.h" | 26 #include "base/utf_string_conversions.h" |
| 27 #include "chrome/browser/about_flags.h" | 27 #include "chrome/browser/about_flags.h" |
| 28 #include "chrome/browser/browser.h" | |
| 29 #include "chrome/browser/browser_process.h" | 28 #include "chrome/browser/browser_process.h" |
| 30 #include "chrome/browser/browser_thread.h" | 29 #include "chrome/browser/browser_thread.h" |
| 31 #include "chrome/browser/defaults.h" | 30 #include "chrome/browser/defaults.h" |
| 32 #include "chrome/browser/dom_ui/chrome_url_data_manager.h" | 31 #include "chrome/browser/dom_ui/chrome_url_data_manager.h" |
| 33 #include "chrome/browser/gpu_process_host.h" | 32 #include "chrome/browser/gpu_process_host.h" |
| 34 #include "chrome/browser/gpu_process_host_ui_shim.h" | 33 #include "chrome/browser/gpu_process_host_ui_shim.h" |
| 35 #include "chrome/browser/memory_details.h" | 34 #include "chrome/browser/memory_details.h" |
| 36 #include "chrome/browser/metrics/histogram_synchronizer.h" | 35 #include "chrome/browser/metrics/histogram_synchronizer.h" |
| 37 #include "chrome/browser/net/predictor_api.h" | 36 #include "chrome/browser/net/predictor_api.h" |
| 38 #include "chrome/browser/platform_util.h" | 37 #include "chrome/browser/platform_util.h" |
| 39 #include "chrome/browser/prefs/pref_service.h" | 38 #include "chrome/browser/prefs/pref_service.h" |
| 40 #include "chrome/browser/profile.h" | 39 #include "chrome/browser/profile.h" |
| 41 #include "chrome/browser/profile_manager.h" | 40 #include "chrome/browser/profile_manager.h" |
| 42 #include "chrome/browser/renderer_host/render_process_host.h" | 41 #include "chrome/browser/renderer_host/render_process_host.h" |
| 43 #include "chrome/browser/renderer_host/render_view_host.h" | 42 #include "chrome/browser/renderer_host/render_view_host.h" |
| 44 #include "chrome/browser/sync/profile_sync_service.h" | 43 #include "chrome/browser/sync/profile_sync_service.h" |
| 45 #include "chrome/browser/sync/sync_ui_util.h" | 44 #include "chrome/browser/sync/sync_ui_util.h" |
| 45 #include "chrome/browser/ui/browser.h" |
| 46 #include "chrome/common/about_handler.h" | 46 #include "chrome/common/about_handler.h" |
| 47 #include "chrome/common/chrome_paths.h" | 47 #include "chrome/common/chrome_paths.h" |
| 48 #include "chrome/common/chrome_version_info.h" | 48 #include "chrome/common/chrome_version_info.h" |
| 49 #include "chrome/common/gpu_info.h" | 49 #include "chrome/common/gpu_info.h" |
| 50 #include "chrome/common/jstemplate_builder.h" | 50 #include "chrome/common/jstemplate_builder.h" |
| 51 #include "chrome/common/net/gaia/google_service_auth_error.h" | 51 #include "chrome/common/net/gaia/google_service_auth_error.h" |
| 52 #include "chrome/common/pref_names.h" | 52 #include "chrome/common/pref_names.h" |
| 53 #include "chrome/common/render_messages.h" | 53 #include "chrome/common/render_messages.h" |
| 54 #include "chrome/common/url_constants.h" | 54 #include "chrome/common/url_constants.h" |
| 55 #include "googleurl/src/gurl.h" | 55 #include "googleurl/src/gurl.h" |
| (...skipping 1152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1208 // Run the dialog. This will re-use the existing one if it's already up. | 1208 // Run the dialog. This will re-use the existing one if it's already up. |
| 1209 AboutIPCDialog::RunDialog(); | 1209 AboutIPCDialog::RunDialog(); |
| 1210 return true; | 1210 return true; |
| 1211 } | 1211 } |
| 1212 #endif | 1212 #endif |
| 1213 | 1213 |
| 1214 #endif // OFFICIAL_BUILD | 1214 #endif // OFFICIAL_BUILD |
| 1215 | 1215 |
| 1216 return false; | 1216 return false; |
| 1217 } | 1217 } |
| OLD | NEW |