| 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 |
| (...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 #endif | 146 #endif |
| 147 kDnsPath, | 147 kDnsPath, |
| 148 kFlagsPath, | 148 kFlagsPath, |
| 149 kGpuPath, | 149 kGpuPath, |
| 150 kHistogramsPath, | 150 kHistogramsPath, |
| 151 kMemoryPath, | 151 kMemoryPath, |
| 152 kNetInternalsPath, | 152 kNetInternalsPath, |
| 153 kPluginsPath, | 153 kPluginsPath, |
| 154 kStatsPath, | 154 kStatsPath, |
| 155 kSyncInternalsPath, | 155 kSyncInternalsPath, |
| 156 #ifdef TRACK_ALL_TASK_OBJECTS |
| 156 kTasksPath, | 157 kTasksPath, |
| 158 #endif // TRACK_ALL_TASK_OBJECTS |
| 157 kTcmallocPath, | 159 kTcmallocPath, |
| 158 kTermsPath, | 160 kTermsPath, |
| 159 kVersionPath, | 161 kVersionPath, |
| 160 #if defined(OS_LINUX) | 162 #if defined(OS_LINUX) |
| 161 kSandboxPath, | 163 kSandboxPath, |
| 162 #endif | 164 #endif |
| 163 #if defined(OS_CHROMEOS) | 165 #if defined(OS_CHROMEOS) |
| 164 kNetworkPath, | 166 kNetworkPath, |
| 165 kOSCreditsPath, | 167 kOSCreditsPath, |
| 166 #endif | 168 #endif |
| (...skipping 962 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1129 return false; | 1131 return false; |
| 1130 } | 1132 } |
| 1131 | 1133 |
| 1132 std::vector<std::string> AboutPaths() { | 1134 std::vector<std::string> AboutPaths() { |
| 1133 std::vector<std::string> paths; | 1135 std::vector<std::string> paths; |
| 1134 paths.reserve(arraysize(kAllAboutPaths)); | 1136 paths.reserve(arraysize(kAllAboutPaths)); |
| 1135 for (size_t i = 0; i < arraysize(kAllAboutPaths); i++) | 1137 for (size_t i = 0; i < arraysize(kAllAboutPaths); i++) |
| 1136 paths.push_back(kAllAboutPaths[i]); | 1138 paths.push_back(kAllAboutPaths[i]); |
| 1137 return paths; | 1139 return paths; |
| 1138 } | 1140 } |
| OLD | NEW |