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

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

Issue 7800015: prune down content_dll change to just the CONTENT_EXPORTS (Closed)
Patch Set: update copyright headers, merge Created 9 years, 3 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 08f583ddffe89c0d83d5e81e34e0c47bc4ed0ff1..b3371768f58185573502dbf0c317befb93cf8e4f 100644
--- a/content/browser/gpu/gpu_process_host.h
+++ b/content/browser/gpu/gpu_process_host.h
@@ -13,6 +13,7 @@
#include "base/memory/linked_ptr.h"
#include "base/threading/non_thread_safe.h"
#include "content/browser/browser_child_process_host.h"
+#include "content/common/content_export.h"
#include "content/common/gpu/gpu_info.h"
#include "content/common/gpu/gpu_process_launch_causes.h"
#include "ui/gfx/native_widget_types.h"
@@ -42,9 +43,9 @@ class GpuProcessHost : public BrowserChildProcessHost,
// Helper function to send the given message to the GPU process on the IO
// thread. Calls GetForRenderer and if a host is returned, sends it.
// Can be called from any thread.
- static void SendOnIO(int renderer_id,
- content::CauseForGpuLaunch cause,
- IPC::Message* message);
+ CONTENT_EXPORT static void SendOnIO(int renderer_id,
+ content::CauseForGpuLaunch cause,
+ IPC::Message* message);
// Get the GPU process host for the GPU process with the given ID. Returns
// null if the process no longer exists.
@@ -153,7 +154,7 @@ class GpuProcessHost : public BrowserChildProcessHost,
// Master switch for enabling/disabling GPU acceleration for the current
// browser session. It does not change the acceleration settings for
// existing tabs, just the future ones.
- static bool gpu_enabled_;
+ CONTENT_EXPORT static bool gpu_enabled_;
DISALLOW_COPY_AND_ASSIGN(GpuProcessHost);
};

Powered by Google App Engine
This is Rietveld 408576698