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 <stdint.h> | 7 #include <stdint.h> |
8 | 8 |
9 #include <memory> | 9 #include <memory> |
10 #include <tuple> | 10 #include <tuple> |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 #endif | 59 #endif |
60 | 60 |
61 #if !defined(DISABLE_NACL) | 61 #if !defined(DISABLE_NACL) |
62 #include "components/nacl/common/nacl_constants.h" | 62 #include "components/nacl/common/nacl_constants.h" |
63 #include "components/nacl/common/nacl_process_type.h" | 63 #include "components/nacl/common/nacl_process_type.h" |
64 #include "components/nacl/common/nacl_sandbox_type.h" | 64 #include "components/nacl/common/nacl_sandbox_type.h" |
65 #endif | 65 #endif |
66 | 66 |
67 #if defined(ENABLE_EXTENSIONS) | 67 #if defined(ENABLE_EXTENSIONS) |
68 #include "chrome/common/extensions/extension_process_policy.h" | 68 #include "chrome/common/extensions/extension_process_policy.h" |
69 #include "chrome/common/extensions/features/feature_util.h" | 69 #include "extensions/common/features/feature_util.h" |
70 #endif | 70 #endif |
71 | 71 |
72 #if defined(ENABLE_PLUGINS) | 72 #if defined(ENABLE_PLUGINS) |
73 #include "content/public/common/pepper_plugin_info.h" | 73 #include "content/public/common/pepper_plugin_info.h" |
74 #include "flapper_version.h" // nogncheck In SHARED_INTERMEDIATE_DIR. | 74 #include "flapper_version.h" // nogncheck In SHARED_INTERMEDIATE_DIR. |
75 #include "ppapi/shared_impl/ppapi_permissions.h" | 75 #include "ppapi/shared_impl/ppapi_permissions.h" |
76 #endif | 76 #endif |
77 | 77 |
78 #if defined(WIDEVINE_CDM_AVAILABLE) && defined(ENABLE_PEPPER_CDMS) && \ | 78 #if defined(WIDEVINE_CDM_AVAILABLE) && defined(ENABLE_PEPPER_CDMS) && \ |
79 !defined(WIDEVINE_CDM_IS_COMPONENT) | 79 !defined(WIDEVINE_CDM_IS_COMPONENT) |
(...skipping 635 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
715 origin_trial_policy_ = base::WrapUnique(new ChromeOriginTrialPolicy()); | 715 origin_trial_policy_ = base::WrapUnique(new ChromeOriginTrialPolicy()); |
716 } | 716 } |
717 return origin_trial_policy_.get(); | 717 return origin_trial_policy_.get(); |
718 } | 718 } |
719 | 719 |
720 #if defined(OS_ANDROID) | 720 #if defined(OS_ANDROID) |
721 media::MediaClientAndroid* ChromeContentClient::GetMediaClientAndroid() { | 721 media::MediaClientAndroid* ChromeContentClient::GetMediaClientAndroid() { |
722 return new ChromeMediaClientAndroid(); | 722 return new ChromeMediaClientAndroid(); |
723 } | 723 } |
724 #endif // OS_ANDROID | 724 #endif // OS_ANDROID |
OLD | NEW |