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 #ifndef CONTENT_COMMON_GPU_CLIENT_GPU_CHANNEL_HOST_H_ | 5 #ifndef CONTENT_COMMON_GPU_CLIENT_GPU_CHANNEL_HOST_H_ |
6 #define CONTENT_COMMON_GPU_CLIENT_GPU_CHANNEL_HOST_H_ | 6 #define CONTENT_COMMON_GPU_CLIENT_GPU_CHANNEL_HOST_H_ |
7 #pragma once | |
8 | 7 |
9 #include <string> | 8 #include <string> |
10 #include <vector> | 9 #include <vector> |
11 | 10 |
12 #include "base/hash_tables.h" | 11 #include "base/hash_tables.h" |
13 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
14 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
15 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
16 #include "base/process.h" | 15 #include "base/process.h" |
17 #include "base/process_util.h" | 16 #include "base/process_util.h" |
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 // for calls from contexts that may live on the compositor or main thread. | 187 // for calls from contexts that may live on the compositor or main thread. |
189 mutable base::Lock context_lock_; | 188 mutable base::Lock context_lock_; |
190 | 189 |
191 // A filter for sending messages from thread other than the main thread. | 190 // A filter for sending messages from thread other than the main thread. |
192 scoped_refptr<IPC::SyncMessageFilter> sync_filter_; | 191 scoped_refptr<IPC::SyncMessageFilter> sync_filter_; |
193 | 192 |
194 DISALLOW_COPY_AND_ASSIGN(GpuChannelHost); | 193 DISALLOW_COPY_AND_ASSIGN(GpuChannelHost); |
195 }; | 194 }; |
196 | 195 |
197 #endif // CONTENT_COMMON_GPU_CLIENT_GPU_CHANNEL_HOST_H_ | 196 #endif // CONTENT_COMMON_GPU_CLIENT_GPU_CHANNEL_HOST_H_ |
OLD | NEW |