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

Unified Diff: content/browser/gpu/gpu_process_host.h

Issue 338193003: ozone: gpu: Add plumbing for platform-specific gpu messaging (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 months 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 side-by-side diff with in-line comments
Download patch
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);
};

Powered by Google App Engine
This is Rietveld 408576698