| 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 #ifndef CHROME_COMMON_CHROME_CONTENT_CLIENT_H_ | 5 #ifndef CHROME_COMMON_CHROME_CONTENT_CLIENT_H_ |
| 6 #define CHROME_COMMON_CHROME_CONTENT_CLIENT_H_ | 6 #define CHROME_COMMON_CHROME_CONTENT_CLIENT_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 std::string GetProcessTypeNameInEnglish(int type) override; | 68 std::string GetProcessTypeNameInEnglish(int type) override; |
| 69 | 69 |
| 70 #if defined(OS_MACOSX) && !defined(OS_IOS) | 70 #if defined(OS_MACOSX) && !defined(OS_IOS) |
| 71 bool GetSandboxProfileForSandboxType( | 71 bool GetSandboxProfileForSandboxType( |
| 72 int sandbox_type, | 72 int sandbox_type, |
| 73 int* sandbox_profile_resource_id) const override; | 73 int* sandbox_profile_resource_id) const override; |
| 74 #endif | 74 #endif |
| 75 | 75 |
| 76 void AddSecureSchemesAndOrigins(std::set<std::string>* schemes, | 76 void AddSecureSchemesAndOrigins(std::set<std::string>* schemes, |
| 77 std::set<GURL>* origins) override; | 77 std::set<GURL>* origins) override; |
| 78 |
| 79 void AddServiceWorkerSchemes(std::set<std::string>* schemes) override; |
| 78 }; | 80 }; |
| 79 | 81 |
| 80 #endif // CHROME_COMMON_CHROME_CONTENT_CLIENT_H_ | 82 #endif // CHROME_COMMON_CHROME_CONTENT_CLIENT_H_ |
| OLD | NEW |