Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 COMPONENTS_CONTENT_SETTINGS_CORE_COMMON_CONTENT_SETTINGS_TYPES_H_ | 5 #ifndef COMPONENTS_CONTENT_SETTINGS_CORE_COMMON_CONTENT_SETTINGS_TYPES_H_ |
| 6 #define COMPONENTS_CONTENT_SETTINGS_CORE_COMMON_CONTENT_SETTINGS_TYPES_H_ | 6 #define COMPONENTS_CONTENT_SETTINGS_CORE_COMMON_CONTENT_SETTINGS_TYPES_H_ |
| 7 | 7 |
| 8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
| 9 | 9 |
| 10 // A particular type of content to care about. We give the user various types | 10 // A particular type of content to care about. We give the user various types |
| (...skipping 28 matching lines...) Expand all Loading... | |
| 39 CONTENT_SETTINGS_TYPE_SSL_CERT_DECISIONS, | 39 CONTENT_SETTINGS_TYPE_SSL_CERT_DECISIONS, |
| 40 CONTENT_SETTINGS_TYPE_PROTECTED_MEDIA_IDENTIFIER, | 40 CONTENT_SETTINGS_TYPE_PROTECTED_MEDIA_IDENTIFIER, |
| 41 CONTENT_SETTINGS_TYPE_APP_BANNER, | 41 CONTENT_SETTINGS_TYPE_APP_BANNER, |
| 42 CONTENT_SETTINGS_TYPE_SITE_ENGAGEMENT, | 42 CONTENT_SETTINGS_TYPE_SITE_ENGAGEMENT, |
| 43 CONTENT_SETTINGS_TYPE_DURABLE_STORAGE, | 43 CONTENT_SETTINGS_TYPE_DURABLE_STORAGE, |
| 44 CONTENT_SETTINGS_TYPE_USB_CHOOSER_DATA, | 44 CONTENT_SETTINGS_TYPE_USB_CHOOSER_DATA, |
| 45 CONTENT_SETTINGS_TYPE_BLUETOOTH_GUARD, | 45 CONTENT_SETTINGS_TYPE_BLUETOOTH_GUARD, |
| 46 CONTENT_SETTINGS_TYPE_KEYGEN, | 46 CONTENT_SETTINGS_TYPE_KEYGEN, |
| 47 CONTENT_SETTINGS_TYPE_BACKGROUND_SYNC, | 47 CONTENT_SETTINGS_TYPE_BACKGROUND_SYNC, |
| 48 CONTENT_SETTINGS_TYPE_AUTOPLAY, | 48 CONTENT_SETTINGS_TYPE_AUTOPLAY, |
| 49 CONTENT_SETTINGS_TYPE_MEDIASTREAM_SCREEN, | |
|
Sergey Ulanov
2016/08/01 18:20:36
Why do we need this content setting? Is it only fo
braveyao
2016/08/03 00:23:47
The reason is we use the definition to distinguish
| |
| 49 | 50 |
| 50 // WARNING: This enum is going to be removed soon. Do not depend on NUM_TYPES. | 51 // WARNING: This enum is going to be removed soon. Do not depend on NUM_TYPES. |
| 51 CONTENT_SETTINGS_NUM_TYPES_DO_NOT_USE, | 52 CONTENT_SETTINGS_NUM_TYPES_DO_NOT_USE, |
| 52 }; | 53 }; |
| 53 | 54 |
| 54 #endif // COMPONENTS_CONTENT_SETTINGS_CORE_COMMON_CONTENT_SETTINGS_TYPES_H_ | 55 #endif // COMPONENTS_CONTENT_SETTINGS_CORE_COMMON_CONTENT_SETTINGS_TYPES_H_ |
| OLD | NEW |