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

Side by Side Diff: base/threading/thread_restrictions.h

Issue 2448983003: gpu: Refactor memory buffer handling code out of content.
Patch Set: . Created 4 years, 1 month 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
« no previous file with comments | « no previous file | content/browser/gpu/browser_gpu_memory_buffer_manager.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #ifndef BASE_THREADING_THREAD_RESTRICTIONS_H_ 5 #ifndef BASE_THREADING_THREAD_RESTRICTIONS_H_
6 #define BASE_THREADING_THREAD_RESTRICTIONS_H_ 6 #define BASE_THREADING_THREAD_RESTRICTIONS_H_
7 7
8 #include "base/base_export.h" 8 #include "base/base_export.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 } // namespace content 45 } // namespace content
46 namespace dbus { 46 namespace dbus {
47 class Bus; 47 class Bus;
48 } 48 }
49 namespace disk_cache { 49 namespace disk_cache {
50 class BackendImpl; 50 class BackendImpl;
51 class InFlightIO; 51 class InFlightIO;
52 } 52 }
53 namespace gpu { 53 namespace gpu {
54 class GpuChannelHost; 54 class GpuChannelHost;
55 class GpuHostMemoryBufferManager;
55 } 56 }
56 namespace mojo { 57 namespace mojo {
57 class SyncCallRestrictions; 58 class SyncCallRestrictions;
58 } 59 }
59 namespace ui { 60 namespace ui {
60 class CommandBufferClientImpl; 61 class CommandBufferClientImpl;
61 class CommandBufferLocal; 62 class CommandBufferLocal;
62 class GpuState; 63 class GpuState;
63 } 64 }
64 namespace net { 65 namespace net {
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 friend class chrome_browser_net::Predictor; // http://crbug.com/78451 223 friend class chrome_browser_net::Predictor; // http://crbug.com/78451
223 friend class 224 friend class
224 content::BrowserGpuChannelHostFactory; // http://crbug.com/125248 225 content::BrowserGpuChannelHostFactory; // http://crbug.com/125248
225 friend class 226 friend class
226 content::BrowserGpuMemoryBufferManager; // http://crbug.com/420368 227 content::BrowserGpuMemoryBufferManager; // http://crbug.com/420368
227 friend class content::TextInputClientMac; // http://crbug.com/121917 228 friend class content::TextInputClientMac; // http://crbug.com/121917
228 friend class dbus::Bus; // http://crbug.com/125222 229 friend class dbus::Bus; // http://crbug.com/125222
229 friend class disk_cache::BackendImpl; // http://crbug.com/74623 230 friend class disk_cache::BackendImpl; // http://crbug.com/74623
230 friend class disk_cache::InFlightIO; // http://crbug.com/74623 231 friend class disk_cache::InFlightIO; // http://crbug.com/74623
231 friend class gpu::GpuChannelHost; // http://crbug.com/125264 232 friend class gpu::GpuChannelHost; // http://crbug.com/125264
233 friend class gpu::GpuHostMemoryBufferManager; // http://crbug.com/125248
232 friend class net::internal::AddressTrackerLinux; // http://crbug.com/125097 234 friend class net::internal::AddressTrackerLinux; // http://crbug.com/125097
233 friend class net::NetworkChangeNotifierMac; // http://crbug.com/125097 235 friend class net::NetworkChangeNotifierMac; // http://crbug.com/125097
234 friend class ::BrowserProcessImpl; // http://crbug.com/125207 236 friend class ::BrowserProcessImpl; // http://crbug.com/125207
235 friend class ::NativeBackendKWallet; // http://crbug.com/125331 237 friend class ::NativeBackendKWallet; // http://crbug.com/125331
236 #if !defined(OFFICIAL_BUILD) 238 #if !defined(OFFICIAL_BUILD)
237 friend class content::SoftwareOutputDeviceMus; // Interim non-production code 239 friend class content::SoftwareOutputDeviceMus; // Interim non-production code
238 #endif 240 #endif
239 friend class views::ScreenMus; 241 friend class views::ScreenMus;
240 // END USAGE THAT NEEDS TO BE FIXED. 242 // END USAGE THAT NEEDS TO BE FIXED.
241 243
(...skipping 18 matching lines...) Expand all
260 262
261 DISALLOW_COPY_AND_ASSIGN(ScopedAllowWait); 263 DISALLOW_COPY_AND_ASSIGN(ScopedAllowWait);
262 }; 264 };
263 265
264 DISALLOW_IMPLICIT_CONSTRUCTORS(ThreadRestrictions); 266 DISALLOW_IMPLICIT_CONSTRUCTORS(ThreadRestrictions);
265 }; 267 };
266 268
267 } // namespace base 269 } // namespace base
268 270
269 #endif // BASE_THREADING_THREAD_RESTRICTIONS_H_ 271 #endif // BASE_THREADING_THREAD_RESTRICTIONS_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/gpu/browser_gpu_memory_buffer_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698