Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(206)

Side by Side Diff: chrome/browser/browser_about_handler.cc

Issue 7837006: Completely disable about:flags (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tests pass Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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 chrome::kChromeUIFlagsHost, 123 // TODO(thakis): Reenable.
124 //chrome::kChromeUIFlagsHost,
124 chrome::kChromeUIFlashHost, 125 chrome::kChromeUIFlashHost,
125 chrome::kChromeUIGpuInternalsHost, 126 chrome::kChromeUIGpuInternalsHost,
126 chrome::kChromeUIHistogramsHost, 127 chrome::kChromeUIHistogramsHost,
127 chrome::kChromeUIHistoryHost, 128 chrome::kChromeUIHistoryHost,
128 chrome::kChromeUIIPCHost, 129 chrome::kChromeUIIPCHost,
129 chrome::kChromeUIMediaInternalsHost, 130 chrome::kChromeUIMediaInternalsHost,
130 chrome::kChromeUIMemoryHost, 131 chrome::kChromeUIMemoryHost,
131 chrome::kChromeUINetInternalsHost, 132 chrome::kChromeUINetInternalsHost,
132 chrome::kChromeUINetworkViewCacheHost, 133 chrome::kChromeUINetworkViewCacheHost,
133 chrome::kChromeUINewTabHost, 134 chrome::kChromeUINewTabHost,
(...skipping 1381 matching lines...) Expand 10 before | Expand all | Expand 10 after
1515 return false; 1516 return false;
1516 } 1517 }
1517 1518
1518 std::vector<std::string> ChromePaths() { 1519 std::vector<std::string> ChromePaths() {
1519 std::vector<std::string> paths; 1520 std::vector<std::string> paths;
1520 paths.reserve(arraysize(kChromePaths)); 1521 paths.reserve(arraysize(kChromePaths));
1521 for (size_t i = 0; i < arraysize(kChromePaths); i++) 1522 for (size_t i = 0; i < arraysize(kChromePaths); i++)
1522 paths.push_back(kChromePaths[i]); 1523 paths.push_back(kChromePaths[i]);
1523 return paths; 1524 return paths;
1524 } 1525 }
OLDNEW
« no previous file with comments | « chrome/browser/autocomplete/builtin_provider_unittest.cc ('k') | chrome/browser/ui/webui/chrome_web_ui_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698