Chromium Code Reviews| Index: content/browser/gpu/gpu_process_host.h |
| diff --git a/content/browser/gpu/gpu_process_host.h b/content/browser/gpu/gpu_process_host.h |
| index 079b549a597bf93024f3e52ca2ee6b923cf0251e..a4030c32fb0e953fcd8c422f3965995301907265 100644 |
| --- a/content/browser/gpu/gpu_process_host.h |
| +++ b/content/browser/gpu/gpu_process_host.h |
| @@ -10,6 +10,7 @@ |
| #include <set> |
| #include <string> |
| +#include "base/atomic_sequence_num.h" |
| #include "base/callback.h" |
| #include "base/containers/hash_tables.h" |
| #include "base/memory/weak_ptr.h" |
| @@ -151,6 +152,8 @@ class GpuProcessHost : public BrowserChildProcessHostDelegate, |
| void EndFrameSubscription(int surface_id); |
| void LoadedShader(const std::string& key, const std::string& data); |
| + int32 GenerateRouteID(); |
|
rjkroege
2014/06/16 21:38:49
does this need to be public? I missed seeing it be
|
| + |
| private: |
| static bool ValidateHost(GpuProcessHost* host); |
| @@ -279,6 +282,8 @@ class GpuProcessHost : public BrowserChildProcessHostDelegate, |
| SurfaceRefMap; |
| SurfaceRefMap surface_refs_; |
| + base::AtomicSequenceNumber next_route_id_; |
| + |
| DISALLOW_COPY_AND_ASSIGN(GpuProcessHost); |
| }; |