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/power_monitor/power_monitor.h" | |
apatrick_chromium
2013/07/02 19:39:29
This does not seem to be used.
| |
14 #include "base/threading/thread_restrictions.h" | 15 #include "base/threading/thread_restrictions.h" |
15 #include "content/common/gpu/client/command_buffer_proxy_impl.h" | 16 #include "content/common/gpu/client/command_buffer_proxy_impl.h" |
16 #include "content/common/gpu/gpu_messages.h" | 17 #include "content/common/gpu/gpu_messages.h" |
17 #include "googleurl/src/gurl.h" | 18 #include "googleurl/src/gurl.h" |
18 #include "gpu/command_buffer/common/mailbox.h" | 19 #include "gpu/command_buffer/common/mailbox.h" |
19 #include "ipc/ipc_sync_message_filter.h" | 20 #include "ipc/ipc_sync_message_filter.h" |
20 | 21 |
21 #if defined(OS_WIN) | 22 #if defined(OS_WIN) |
22 #include "content/public/common/sandbox_init.h" | 23 #include "content/public/common/sandbox_init.h" |
23 #endif | 24 #endif |
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
396 AutoLock lock(lock_); | 397 AutoLock lock(lock_); |
397 DCHECK_LE(names.size(), requested_mailboxes_); | 398 DCHECK_LE(names.size(), requested_mailboxes_); |
398 requested_mailboxes_ -= names.size(); | 399 requested_mailboxes_ -= names.size(); |
399 mailbox_name_pool_.insert(mailbox_name_pool_.end(), | 400 mailbox_name_pool_.insert(mailbox_name_pool_.end(), |
400 names.begin(), | 401 names.begin(), |
401 names.end()); | 402 names.end()); |
402 } | 403 } |
403 | 404 |
404 | 405 |
405 } // namespace content | 406 } // namespace content |
OLD | NEW |