| OLD | NEW |
| 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 #include "content/common/gpu/client/gpu_channel_host.h" | 5 #include "content/common/gpu/client/gpu_channel_host.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 | 8 |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/debug/trace_event.h" | 10 #include "base/debug/trace_event.h" |
| 11 #include "base/message_loop.h" | 11 #include "base/message_loop.h" |
| 12 #include "base/message_loop/message_loop_proxy.h" | 12 #include "base/message_loop/message_loop_proxy.h" |
| 13 #include "base/posix/eintr_wrapper.h" | 13 #include "base/posix/eintr_wrapper.h" |
| 14 #include "base/threading/thread_restrictions.h" | 14 #include "base/threading/thread_restrictions.h" |
| 15 #include "content/common/gpu/client/command_buffer_proxy_impl.h" | 15 #include "content/common/gpu/client/command_buffer_proxy_impl.h" |
| 16 #include "content/common/gpu/gpu_messages.h" | 16 #include "content/common/gpu/gpu_messages.h" |
| 17 #include "googleurl/src/gurl.h" | |
| 18 #include "gpu/command_buffer/common/mailbox.h" | 17 #include "gpu/command_buffer/common/mailbox.h" |
| 19 #include "ipc/ipc_sync_message_filter.h" | 18 #include "ipc/ipc_sync_message_filter.h" |
| 19 #include "url/gurl.h" |
| 20 | 20 |
| 21 #if defined(OS_WIN) | 21 #if defined(OS_WIN) |
| 22 #include "content/public/common/sandbox_init.h" | 22 #include "content/public/common/sandbox_init.h" |
| 23 #endif | 23 #endif |
| 24 | 24 |
| 25 using base::AutoLock; | 25 using base::AutoLock; |
| 26 using base::MessageLoopProxy; | 26 using base::MessageLoopProxy; |
| 27 | 27 |
| 28 namespace content { | 28 namespace content { |
| 29 | 29 |
| (...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 396 AutoLock lock(lock_); | 396 AutoLock lock(lock_); |
| 397 DCHECK_LE(names.size(), requested_mailboxes_); | 397 DCHECK_LE(names.size(), requested_mailboxes_); |
| 398 requested_mailboxes_ -= names.size(); | 398 requested_mailboxes_ -= names.size(); |
| 399 mailbox_name_pool_.insert(mailbox_name_pool_.end(), | 399 mailbox_name_pool_.insert(mailbox_name_pool_.end(), |
| 400 names.begin(), | 400 names.begin(), |
| 401 names.end()); | 401 names.end()); |
| 402 } | 402 } |
| 403 | 403 |
| 404 | 404 |
| 405 } // namespace content | 405 } // namespace content |
| OLD | NEW |