| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 insert(chrome::kChromeUINewTabHost); | 71 insert(chrome::kChromeUINewTabHost); |
| 72 #if defined(OS_CHROMEOS) | 72 #if defined(OS_CHROMEOS) |
| 73 insert(chrome::kChromeUIMobileSetupHost); | 73 insert(chrome::kChromeUIMobileSetupHost); |
| 74 insert(chrome::kChromeUIOobeHost); | 74 insert(chrome::kChromeUIOobeHost); |
| 75 insert(chrome::kChromeUIOSCreditsHost); | 75 insert(chrome::kChromeUIOSCreditsHost); |
| 76 insert(chrome::kChromeUIProxySettingsHost); | 76 insert(chrome::kChromeUIProxySettingsHost); |
| 77 insert(chrome::kChromeUIRegisterPageHost); | 77 insert(chrome::kChromeUIRegisterPageHost); |
| 78 insert(chrome::kChromeUISimUnlockHost); | 78 insert(chrome::kChromeUISimUnlockHost); |
| 79 insert(chrome::kChromeUISystemInfoHost); | 79 insert(chrome::kChromeUISystemInfoHost); |
| 80 #endif | 80 #endif |
| 81 #if defined(USE_VIRTUAL_KEYBOARD) | |
| 82 insert(chrome::kChromeUIKeyboardHost); | |
| 83 #endif | |
| 84 #if defined(OS_CHROMEOS) || defined(USE_AURA) | 81 #if defined(OS_CHROMEOS) || defined(USE_AURA) |
| 85 insert(chrome::kChromeUICollectedCookiesHost); | 82 insert(chrome::kChromeUICollectedCookiesHost); |
| 86 insert(chrome::kChromeUIHttpAuthHost); | 83 insert(chrome::kChromeUIHttpAuthHost); |
| 87 insert(chrome::kChromeUITabModalConfirmDialogHost); | 84 insert(chrome::kChromeUITabModalConfirmDialogHost); |
| 88 #endif | 85 #endif |
| 89 } | 86 } |
| 90 }; | 87 }; |
| 91 | 88 |
| 92 // It is OK to add URLs to this set which slightly reduces the CSP for them. | 89 // It is OK to add URLs to this set which slightly reduces the CSP for them. |
| 93 class ChromeURLContentSecurityPolicyObjectTagSet | 90 class ChromeURLContentSecurityPolicyObjectTagSet |
| (...skipping 472 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 566 | 563 |
| 567 return new URLRequestChromeJob(request, backend_); | 564 return new URLRequestChromeJob(request, backend_); |
| 568 } | 565 } |
| 569 | 566 |
| 570 } // namespace | 567 } // namespace |
| 571 | 568 |
| 572 net::URLRequestJobFactory::ProtocolHandler* | 569 net::URLRequestJobFactory::ProtocolHandler* |
| 573 CreateDevToolsProtocolHandler(ChromeURLDataManagerBackend* backend) { | 570 CreateDevToolsProtocolHandler(ChromeURLDataManagerBackend* backend) { |
| 574 return new DevToolsJobFactory(backend); | 571 return new DevToolsJobFactory(backend); |
| 575 } | 572 } |
| OLD | NEW |