| 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 "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/singleton.h" | 19 #include "base/singleton.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/threading/thread.h" | 24 #include "base/threading/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 "base/values.h" |
| 27 #include "chrome/browser/about_flags.h" | 28 #include "chrome/browser/about_flags.h" |
| 28 #include "chrome/browser/browser_process.h" | 29 #include "chrome/browser/browser_process.h" |
| 29 #include "chrome/browser/browser_thread.h" | 30 #include "chrome/browser/browser_thread.h" |
| 30 #include "chrome/browser/defaults.h" | 31 #include "chrome/browser/defaults.h" |
| 31 #include "chrome/browser/dom_ui/chrome_url_data_manager.h" | 32 #include "chrome/browser/dom_ui/chrome_url_data_manager.h" |
| 32 #include "chrome/browser/gpu_process_host.h" | 33 #include "chrome/browser/gpu_process_host.h" |
| 33 #include "chrome/browser/gpu_process_host_ui_shim.h" | 34 #include "chrome/browser/gpu_process_host_ui_shim.h" |
| 34 #include "chrome/browser/memory_details.h" | 35 #include "chrome/browser/memory_details.h" |
| 35 #include "chrome/browser/metrics/histogram_synchronizer.h" | 36 #include "chrome/browser/metrics/histogram_synchronizer.h" |
| 36 #include "chrome/browser/net/predictor_api.h" | 37 #include "chrome/browser/net/predictor_api.h" |
| 37 #include "chrome/browser/platform_util.h" | 38 #include "chrome/browser/platform_util.h" |
| 38 #include "chrome/browser/prefs/pref_service.h" | |
| 39 #include "chrome/browser/profiles/profile.h" | 39 #include "chrome/browser/profiles/profile.h" |
| 40 #include "chrome/browser/profiles/profile_manager.h" | 40 #include "chrome/browser/profiles/profile_manager.h" |
| 41 #include "chrome/browser/renderer_host/render_process_host.h" | 41 #include "chrome/browser/renderer_host/render_process_host.h" |
| 42 #include "chrome/browser/renderer_host/render_view_host.h" | 42 #include "chrome/browser/renderer_host/render_view_host.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" |
| (...skipping 1046 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1095 // Run the dialog. This will re-use the existing one if it's already up. | 1095 // Run the dialog. This will re-use the existing one if it's already up. |
| 1096 AboutIPCDialog::RunDialog(); | 1096 AboutIPCDialog::RunDialog(); |
| 1097 return true; | 1097 return true; |
| 1098 } | 1098 } |
| 1099 #endif | 1099 #endif |
| 1100 | 1100 |
| 1101 #endif // OFFICIAL_BUILD | 1101 #endif // OFFICIAL_BUILD |
| 1102 | 1102 |
| 1103 return false; | 1103 return false; |
| 1104 } | 1104 } |
| OLD | NEW |