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 |
11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
12 #include "base/files/file_path.h" | 12 #include "base/files/file_path.h" |
| 13 #include "build/build_config.h" |
13 #include "content/public/common/content_client.h" | 14 #include "content/public/common/content_client.h" |
14 | 15 |
15 #if defined(ENABLE_PLUGINS) | 16 #if defined(ENABLE_PLUGINS) |
16 #include "content/public/common/pepper_plugin_info.h" | 17 #include "content/public/common/pepper_plugin_info.h" |
17 #endif | 18 #endif |
18 | 19 |
19 #include "url/url_util.h" | 20 #include "url/url_util.h" |
20 | 21 |
21 // Returns the user agent of Chrome. | 22 // Returns the user agent of Chrome. |
22 std::string GetUserAgent(); | 23 std::string GetUserAgent(); |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 | 81 |
81 void AddSecureSchemesAndOrigins(std::set<std::string>* schemes, | 82 void AddSecureSchemesAndOrigins(std::set<std::string>* schemes, |
82 std::set<GURL>* origins) override; | 83 std::set<GURL>* origins) override; |
83 | 84 |
84 void AddServiceWorkerSchemes(std::set<std::string>* schemes) override; | 85 void AddServiceWorkerSchemes(std::set<std::string>* schemes) override; |
85 | 86 |
86 bool IsSupplementarySiteIsolationModeEnabled() override; | 87 bool IsSupplementarySiteIsolationModeEnabled() override; |
87 }; | 88 }; |
88 | 89 |
89 #endif // CHROME_COMMON_CHROME_CONTENT_CLIENT_H_ | 90 #endif // CHROME_COMMON_CHROME_CONTENT_CLIENT_H_ |
OLD | NEW |