Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(213)

Side by Side Diff: content/browser/gpu/gpu_data_manager_impl_private.h

Issue 1162943002: Replace more ObserverList with base::ObserverList. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@observer
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « content/browser/download/download_manager_impl.h ('k') | content/browser/loader/resource_dispatcher_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698