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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 | 52 |
53 class ChromeURLContentSecurityPolicyExceptionSet | 53 class ChromeURLContentSecurityPolicyExceptionSet |
54 : public std::set<std::string> { | 54 : public std::set<std::string> { |
55 public: | 55 public: |
56 ChromeURLContentSecurityPolicyExceptionSet() : std::set<std::string>() { | 56 ChromeURLContentSecurityPolicyExceptionSet() : std::set<std::string>() { |
57 insert(chrome::kChromeUICloudPrintResourcesHost); | 57 insert(chrome::kChromeUICloudPrintResourcesHost); |
58 insert(chrome::kChromeUICloudPrintSetupHost); | 58 insert(chrome::kChromeUICloudPrintSetupHost); |
59 insert(chrome::kChromeUICreditsHost); | 59 insert(chrome::kChromeUICreditsHost); |
60 insert(chrome::kChromeUIDevToolsHost); | 60 insert(chrome::kChromeUIDevToolsHost); |
61 insert(chrome::kChromeUIDialogHost); | 61 insert(chrome::kChromeUIDialogHost); |
| 62 insert(chrome::kChromeUIInputWindowDialogHost); |
62 insert(chrome::kChromeUINewTabHost); | 63 insert(chrome::kChromeUINewTabHost); |
63 #if defined(OS_CHROMEOS) | 64 #if defined(OS_CHROMEOS) |
64 insert(chrome::kChromeUIEnterpriseEnrollmentHost); | 65 insert(chrome::kChromeUIEnterpriseEnrollmentHost); |
65 insert(chrome::kChromeUIOobeHost); | 66 insert(chrome::kChromeUIOobeHost); |
66 insert(chrome::kChromeUIMobileSetupHost); | 67 insert(chrome::kChromeUIMobileSetupHost); |
67 insert(chrome::kChromeUIProxySettingsHost); | 68 insert(chrome::kChromeUIProxySettingsHost); |
68 insert(chrome::kChromeUIRegisterPageHost); | 69 insert(chrome::kChromeUIRegisterPageHost); |
69 insert(chrome::kChromeUISimUnlockHost); | 70 insert(chrome::kChromeUISimUnlockHost); |
70 insert(chrome::kChromeUISystemInfoHost); | 71 insert(chrome::kChromeUISystemInfoHost); |
71 #else | 72 #else |
(...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
545 | 546 |
546 return new URLRequestChromeJob(request, backend_); | 547 return new URLRequestChromeJob(request, backend_); |
547 } | 548 } |
548 | 549 |
549 } // namespace | 550 } // namespace |
550 | 551 |
551 net::URLRequestJobFactory::ProtocolHandler* | 552 net::URLRequestJobFactory::ProtocolHandler* |
552 CreateDevToolsProtocolHandler(ChromeURLDataManagerBackend* backend) { | 553 CreateDevToolsProtocolHandler(ChromeURLDataManagerBackend* backend) { |
553 return new DevToolsJobFactory(backend); | 554 return new DevToolsJobFactory(backend); |
554 } | 555 } |
OLD | NEW |