| 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/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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 #if defined(OS_CHROMEOS) | 66 #if defined(OS_CHROMEOS) |
| 67 insert(chrome::kChromeUIEnterpriseEnrollmentHost); | |
| 68 insert(chrome::kChromeUIOobeHost); | 67 insert(chrome::kChromeUIOobeHost); |
| 69 insert(chrome::kChromeUIMobileSetupHost); | 68 insert(chrome::kChromeUIMobileSetupHost); |
| 70 insert(chrome::kChromeUIProxySettingsHost); | 69 insert(chrome::kChromeUIProxySettingsHost); |
| 71 insert(chrome::kChromeUIRegisterPageHost); | 70 insert(chrome::kChromeUIRegisterPageHost); |
| 72 insert(chrome::kChromeUISimUnlockHost); | 71 insert(chrome::kChromeUISimUnlockHost); |
| 73 insert(chrome::kChromeUISystemInfoHost); | 72 insert(chrome::kChromeUISystemInfoHost); |
| 74 #endif | 73 #endif |
| 75 #if defined(TOUCH_UI) | 74 #if defined(TOUCH_UI) |
| 76 insert(chrome::kChromeUIKeyboardHost); | 75 insert(chrome::kChromeUIKeyboardHost); |
| 77 #endif | 76 #endif |
| (...skipping 468 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 546 | 545 |
| 547 return new URLRequestChromeJob(request, backend_); | 546 return new URLRequestChromeJob(request, backend_); |
| 548 } | 547 } |
| 549 | 548 |
| 550 } // namespace | 549 } // namespace |
| 551 | 550 |
| 552 net::URLRequestJobFactory::ProtocolHandler* | 551 net::URLRequestJobFactory::ProtocolHandler* |
| 553 CreateDevToolsProtocolHandler(ChromeURLDataManagerBackend* backend) { | 552 CreateDevToolsProtocolHandler(ChromeURLDataManagerBackend* backend) { |
| 554 return new DevToolsJobFactory(backend); | 553 return new DevToolsJobFactory(backend); |
| 555 } | 554 } |
| OLD | NEW |