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

Unified Diff: content/gpu/gpu_child_thread.h

Issue 2599203003: gpu: Maintain the deferred log messages separately from the IPC messages. (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « no previous file | content/gpu/gpu_child_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/gpu/gpu_child_thread.h
diff --git a/content/gpu/gpu_child_thread.h b/content/gpu/gpu_child_thread.h
index 3882fa526d254ce6886bdd9ae77b81ed21f32c7a..3e2b99e8b48e2f06e7be1d59e4ed0e3701de8bac 100644
--- a/content/gpu/gpu_child_thread.h
+++ b/content/gpu/gpu_child_thread.h
@@ -56,7 +56,12 @@ class GpuChildThread : public ChildThreadImpl,
public gpu::GpuChannelManagerDelegate,
public base::FieldTrialList::Observer {
public:
- typedef std::queue<IPC::Message*> DeferredMessages;
+ struct LogMessage {
+ int severity;
+ std::string header;
+ std::string message;
+ };
+ typedef std::queue<LogMessage> DeferredMessages;
GpuChildThread(std::unique_ptr<gpu::GpuWatchdogThread> gpu_watchdog_thread,
bool dead_on_arrival,
« no previous file with comments | « no previous file | content/gpu/gpu_child_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698