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

Side by Side Diff: chrome/browser/ui/webui/chrome_url_data_manager_backend.cc

Issue 8873054: Revert 113772 - WebUI TaskManager: Optimize initialization taskmanager and loading scripts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years 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/ui/webui/chrome_url_data_manager_backend.h" 5 #include "chrome/browser/ui/webui/chrome_url_data_manager_backend.h"
6 6
7 #include <set> 7 #include <set>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 : public std::set<std::string> { 56 : public std::set<std::string> {
57 public: 57 public:
58 ChromeURLContentSecurityPolicyExceptionSet() : std::set<std::string>() { 58 ChromeURLContentSecurityPolicyExceptionSet() : std::set<std::string>() {
59 insert(chrome::kChromeUICloudPrintResourcesHost); 59 insert(chrome::kChromeUICloudPrintResourcesHost);
60 insert(chrome::kChromeUICloudPrintSetupHost); 60 insert(chrome::kChromeUICloudPrintSetupHost);
61 insert(chrome::kChromeUICreditsHost); 61 insert(chrome::kChromeUICreditsHost);
62 insert(chrome::kChromeUIDevToolsHost); 62 insert(chrome::kChromeUIDevToolsHost);
63 insert(chrome::kChromeUIDialogHost); 63 insert(chrome::kChromeUIDialogHost);
64 insert(chrome::kChromeUIInputWindowDialogHost); 64 insert(chrome::kChromeUIInputWindowDialogHost);
65 insert(chrome::kChromeUINewTabHost); 65 insert(chrome::kChromeUINewTabHost);
66 insert(chrome::kChromeUITaskManagerHost);
67 #if defined(OS_CHROMEOS) 66 #if defined(OS_CHROMEOS)
68 insert(chrome::kChromeUIMobileSetupHost); 67 insert(chrome::kChromeUIMobileSetupHost);
69 insert(chrome::kChromeUIOobeHost); 68 insert(chrome::kChromeUIOobeHost);
70 insert(chrome::kChromeUIOSCreditsHost); 69 insert(chrome::kChromeUIOSCreditsHost);
71 insert(chrome::kChromeUIProxySettingsHost); 70 insert(chrome::kChromeUIProxySettingsHost);
72 insert(chrome::kChromeUIRegisterPageHost); 71 insert(chrome::kChromeUIRegisterPageHost);
73 insert(chrome::kChromeUISimUnlockHost); 72 insert(chrome::kChromeUISimUnlockHost);
74 insert(chrome::kChromeUISystemInfoHost); 73 insert(chrome::kChromeUISystemInfoHost);
75 #endif 74 #endif
76 #if defined(TOUCH_UI) 75 #if defined(TOUCH_UI)
(...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after
550 549
551 return new URLRequestChromeJob(request, backend_); 550 return new URLRequestChromeJob(request, backend_);
552 } 551 }
553 552
554 } // namespace 553 } // namespace
555 554
556 net::URLRequestJobFactory::ProtocolHandler* 555 net::URLRequestJobFactory::ProtocolHandler*
557 CreateDevToolsProtocolHandler(ChromeURLDataManagerBackend* backend) { 556 CreateDevToolsProtocolHandler(ChromeURLDataManagerBackend* backend) {
558 return new DevToolsJobFactory(backend); 557 return new DevToolsJobFactory(backend);
559 } 558 }
OLDNEW
« no previous file with comments | « chrome/browser/resources/task_manager/main.js ('k') | chrome/browser/ui/webui/task_manager_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698