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/common/chrome_content_client.h" | 5 #include "chrome/common/chrome_content_client.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/debug/crash_logging.h" | 8 #include "base/debug/crash_logging.h" |
9 #include "base/files/file_util.h" | 9 #include "base/files/file_util.h" |
10 #include "base/json/json_reader.h" | 10 #include "base/json/json_reader.h" |
(...skipping 567 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
578 #endif | 578 #endif |
579 | 579 |
580 void ChromeContentClient::AddSecureSchemesAndOrigins( | 580 void ChromeContentClient::AddSecureSchemesAndOrigins( |
581 std::set<std::string>* schemes, | 581 std::set<std::string>* schemes, |
582 std::set<GURL>* origins) { | 582 std::set<GURL>* origins) { |
583 schemes->insert(content::kChromeUIScheme); | 583 schemes->insert(content::kChromeUIScheme); |
584 schemes->insert(extensions::kExtensionScheme); | 584 schemes->insert(extensions::kExtensionScheme); |
585 schemes->insert(extensions::kExtensionResourceScheme); | 585 schemes->insert(extensions::kExtensionResourceScheme); |
586 GetSecureOriginWhitelist(origins); | 586 GetSecureOriginWhitelist(origins); |
587 } | 587 } |
| 588 |
| 589 void ChromeContentClient::AddServiceWorkerSchemes( |
| 590 std::set<std::string>* schemes) { |
| 591 schemes->insert(extensions::kExtensionScheme); |
| 592 } |
OLD | NEW |