OLD | NEW |
---|---|
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 "base/trace_event/memory_infra_background_whitelist.h" | 5 #include "base/trace_event/memory_infra_background_whitelist.h" |
6 | 6 |
7 #include <ctype.h> | 7 #include <ctype.h> |
8 #include <string.h> | 8 #include <string.h> |
9 | 9 |
10 #include <string> | 10 #include <string> |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
81 "v8/isolate_0x?/heap_spaces/map_space", | 81 "v8/isolate_0x?/heap_spaces/map_space", |
82 "v8/isolate_0x?/heap_spaces/new_space", | 82 "v8/isolate_0x?/heap_spaces/new_space", |
83 "v8/isolate_0x?/heap_spaces/old_space", | 83 "v8/isolate_0x?/heap_spaces/old_space", |
84 "v8/isolate_0x?/heap_spaces/other_spaces", | 84 "v8/isolate_0x?/heap_spaces/other_spaces", |
85 "v8/isolate_0x?/malloc", | 85 "v8/isolate_0x?/malloc", |
86 "v8/isolate_0x?/zapped_for_debug", | 86 "v8/isolate_0x?/zapped_for_debug", |
87 "winheap", | 87 "winheap", |
88 "winheap/allocated_objects", | 88 "winheap/allocated_objects", |
89 "sync/0x?/kernel", | 89 "sync/0x?/kernel", |
90 "sync/0x?/store", | 90 "sync/0x?/store", |
91 "sync/0x?/model_type/APP", | |
92 "sync/0x?/model_type/APP_LIST", | |
93 "sync/0x?/model_type/APP_NOTIFICATION", | |
94 "sync/0x?/model_type/APP_SETTING", | |
95 "sync/0x?/model_type/ARC_PACKAGE", | |
96 "sync/0x?/model_type/ARTICLE", | |
97 "sync/0x?/model_type/AUTOFILL", | |
98 "sync/0x?/model_type/AUTOFILL_PROFILE", | |
99 "sync/0x?/model_type/AUTOFILL_WALLET", | |
100 "sync/0x?/model_type/BOOKMARK", | |
101 "sync/0x?/model_type/DEVICE_INFO", | |
102 "sync/0x?/model_type/DICTIONARY", | |
103 "sync/0x?/model_type/EXPERIMENTS", | |
104 "sync/0x?/model_type/EXTENSION", | |
105 "sync/0x?/model_type/EXTENSION_SETTING", | |
106 "sync/0x?/model_type/FAVICON_IMAGE", | |
107 "sync/0x?/model_type/FAVICON_TRACKING", | |
108 "sync/0x?/model_type/HISTORY_DELETE_DIRECTIVE", | |
109 "sync/0x?/model_type/MANAGED_USER", | |
110 "sync/0x?/model_type/MANAGED_USER_SETTING", | |
111 "sync/0x?/model_type/MANAGED_USER_SHARED_SETTING", | |
112 "sync/0x?/model_type/MANAGED_USER_WHITELIST", | |
113 "sync/0x?/model_type/NIGORI", | |
114 "sync/0x?/model_type/PASSWORD", | |
115 "sync/0x?/model_type/PREFERENCE", | |
116 "sync/0x?/model_type/PRINTER", | |
117 "sync/0x?/model_type/PRIORITY_PREFERENCE", | |
118 "sync/0x?/model_type/READING_LIST", | |
119 "sync/0x?/model_type/SEARCH_ENGINE", | |
120 "sync/0x?/model_type/SESSION", | |
121 "sync/0x?/model_type/SYNCED_NOTIFICATION", | |
122 "sync/0x?/model_type/SYNCED_NOTIFICATION_APP_INFO", | |
123 "sync/0x?/model_type/THEME", | |
124 "sync/0x?/model_type/TYPED_URL", | |
125 "sync/0x?/model_type/WALLET_METADATA", | |
126 "sync/0x?/model_type/WIFI_CREDENTIAL", | |
ssid
2017/01/25 22:24:09
Do we have a comment in Sync ModelType definitions
| |
91 nullptr // End of list marker. | 127 nullptr // End of list marker. |
92 }; | 128 }; |
93 | 129 |
94 const char* const* g_dump_provider_whitelist = kDumpProviderWhitelist; | 130 const char* const* g_dump_provider_whitelist = kDumpProviderWhitelist; |
95 const char* const* g_allocator_dump_name_whitelist = | 131 const char* const* g_allocator_dump_name_whitelist = |
96 kAllocatorDumpNameWhitelist; | 132 kAllocatorDumpNameWhitelist; |
97 | 133 |
98 } // namespace | 134 } // namespace |
99 | 135 |
100 bool IsMemoryDumpProviderWhitelisted(const char* mdp_name) { | 136 bool IsMemoryDumpProviderWhitelisted(const char* mdp_name) { |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
136 void SetDumpProviderWhitelistForTesting(const char* const* list) { | 172 void SetDumpProviderWhitelistForTesting(const char* const* list) { |
137 g_dump_provider_whitelist = list; | 173 g_dump_provider_whitelist = list; |
138 } | 174 } |
139 | 175 |
140 void SetAllocatorDumpNameWhitelistForTesting(const char* const* list) { | 176 void SetAllocatorDumpNameWhitelistForTesting(const char* const* list) { |
141 g_allocator_dump_name_whitelist = list; | 177 g_allocator_dump_name_whitelist = list; |
142 } | 178 } |
143 | 179 |
144 } // namespace trace_event | 180 } // namespace trace_event |
145 } // namespace base | 181 } // namespace base |
OLD | NEW |