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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 chrome::kChromeUIAppCacheInternalsHost, | 113 chrome::kChromeUIAppCacheInternalsHost, |
114 chrome::kChromeUIBlobInternalsHost, | 114 chrome::kChromeUIBlobInternalsHost, |
115 chrome::kChromeUIBookmarksHost, | 115 chrome::kChromeUIBookmarksHost, |
116 chrome::kChromeUICacheHost, | 116 chrome::kChromeUICacheHost, |
117 chrome::kChromeUIChromeURLsHost, | 117 chrome::kChromeUIChromeURLsHost, |
118 chrome::kChromeUICrashesHost, | 118 chrome::kChromeUICrashesHost, |
119 chrome::kChromeUICreditsHost, | 119 chrome::kChromeUICreditsHost, |
120 chrome::kChromeUIDNSHost, | 120 chrome::kChromeUIDNSHost, |
121 chrome::kChromeUIDownloadsHost, | 121 chrome::kChromeUIDownloadsHost, |
122 chrome::kChromeUIExtensionsHost, | 122 chrome::kChromeUIExtensionsHost, |
123 // TODO(thakis): Reenable. | 123 chrome::kChromeUIFlagsHost, |
124 //chrome::kChromeUIFlagsHost, | |
125 chrome::kChromeUIFlashHost, | 124 chrome::kChromeUIFlashHost, |
126 chrome::kChromeUIGpuInternalsHost, | 125 chrome::kChromeUIGpuInternalsHost, |
127 chrome::kChromeUIHistogramsHost, | 126 chrome::kChromeUIHistogramsHost, |
128 chrome::kChromeUIHistoryHost, | 127 chrome::kChromeUIHistoryHost, |
129 chrome::kChromeUIIPCHost, | 128 chrome::kChromeUIIPCHost, |
130 chrome::kChromeUIMediaInternalsHost, | 129 chrome::kChromeUIMediaInternalsHost, |
131 chrome::kChromeUIMemoryHost, | 130 chrome::kChromeUIMemoryHost, |
132 chrome::kChromeUINetInternalsHost, | 131 chrome::kChromeUINetInternalsHost, |
133 chrome::kChromeUINetworkViewCacheHost, | 132 chrome::kChromeUINetworkViewCacheHost, |
134 chrome::kChromeUINewTabHost, | 133 chrome::kChromeUINewTabHost, |
(...skipping 1381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1516 return false; | 1515 return false; |
1517 } | 1516 } |
1518 | 1517 |
1519 std::vector<std::string> ChromePaths() { | 1518 std::vector<std::string> ChromePaths() { |
1520 std::vector<std::string> paths; | 1519 std::vector<std::string> paths; |
1521 paths.reserve(arraysize(kChromePaths)); | 1520 paths.reserve(arraysize(kChromePaths)); |
1522 for (size_t i = 0; i < arraysize(kChromePaths); i++) | 1521 for (size_t i = 0; i < arraysize(kChromePaths); i++) |
1523 paths.push_back(kChromePaths[i]); | 1522 paths.push_back(kChromePaths[i]); |
1524 return paths; | 1523 return paths; |
1525 } | 1524 } |
OLD | NEW |