OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_PRIVATE_H_ | 5 #ifndef CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_PRIVATE_H_ |
6 #define CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_PRIVATE_H_ | 6 #define CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_PRIVATE_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 #include <map> | 9 #include <map> |
10 #include <set> | 10 #include <set> |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 GpuDriverBugListMultiple); | 162 GpuDriverBugListMultiple); |
163 FRIEND_TEST_ALL_PREFIXES(GpuDataManagerImplPrivateTest, | 163 FRIEND_TEST_ALL_PREFIXES(GpuDataManagerImplPrivateTest, |
164 BlacklistAllFeatures); | 164 BlacklistAllFeatures); |
165 | 165 |
166 struct DomainBlockEntry { | 166 struct DomainBlockEntry { |
167 GpuDataManagerImpl::DomainGuilt last_guilt; | 167 GpuDataManagerImpl::DomainGuilt last_guilt; |
168 }; | 168 }; |
169 | 169 |
170 typedef std::map<std::string, DomainBlockEntry> DomainBlockMap; | 170 typedef std::map<std::string, DomainBlockEntry> DomainBlockMap; |
171 | 171 |
172 typedef ObserverListThreadSafe<GpuDataManagerObserver> | 172 typedef base::ObserverListThreadSafe<GpuDataManagerObserver> |
173 GpuDataManagerObserverList; | 173 GpuDataManagerObserverList; |
174 | 174 |
175 struct LogMessage { | 175 struct LogMessage { |
176 int level; | 176 int level; |
177 std::string header; | 177 std::string header; |
178 std::string message; | 178 std::string message; |
179 | 179 |
180 LogMessage(int _level, | 180 LogMessage(int _level, |
181 const std::string& _header, | 181 const std::string& _header, |
182 const std::string& _message) | 182 const std::string& _message) |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
275 bool finalized_; | 275 bool finalized_; |
276 | 276 |
277 std::string disabled_extensions_; | 277 std::string disabled_extensions_; |
278 | 278 |
279 DISALLOW_COPY_AND_ASSIGN(GpuDataManagerImplPrivate); | 279 DISALLOW_COPY_AND_ASSIGN(GpuDataManagerImplPrivate); |
280 }; | 280 }; |
281 | 281 |
282 } // namespace content | 282 } // namespace content |
283 | 283 |
284 #endif // CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_PRIVATE_H_ | 284 #endif // CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_PRIVATE_H_ |
OLD | NEW |