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

Side by Side Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 2971083002: gpu: Reduce direct use of BrowserGpuMemoryBufferManager (Closed)
Patch Set: . Created 3 years, 5 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 unified diff | Download patch
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 // Represents the browser side of the browser <--> renderer communication 5 // Represents the browser side of the browser <--> renderer communication
6 // channel. There will be one RenderProcessHost per renderer process. 6 // channel. There will be one RenderProcessHost per renderer process.
7 7
8 #include "content/browser/renderer_host/render_process_host_impl.h" 8 #include "content/browser/renderer_host/render_process_host_impl.h"
9 9
10 #include <algorithm> 10 #include <algorithm>
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 #include "content/browser/browser_plugin/browser_plugin_message_filter.h" 71 #include "content/browser/browser_plugin/browser_plugin_message_filter.h"
72 #include "content/browser/cache_storage/cache_storage_context_impl.h" 72 #include "content/browser/cache_storage/cache_storage_context_impl.h"
73 #include "content/browser/cache_storage/cache_storage_dispatcher_host.h" 73 #include "content/browser/cache_storage/cache_storage_dispatcher_host.h"
74 #include "content/browser/child_process_security_policy_impl.h" 74 #include "content/browser/child_process_security_policy_impl.h"
75 #include "content/browser/compositor/surface_utils.h" 75 #include "content/browser/compositor/surface_utils.h"
76 #include "content/browser/dom_storage/dom_storage_context_wrapper.h" 76 #include "content/browser/dom_storage/dom_storage_context_wrapper.h"
77 #include "content/browser/dom_storage/dom_storage_message_filter.h" 77 #include "content/browser/dom_storage/dom_storage_message_filter.h"
78 #include "content/browser/field_trial_recorder.h" 78 #include "content/browser/field_trial_recorder.h"
79 #include "content/browser/fileapi/fileapi_message_filter.h" 79 #include "content/browser/fileapi/fileapi_message_filter.h"
80 #include "content/browser/frame_host/render_frame_message_filter.h" 80 #include "content/browser/frame_host/render_frame_message_filter.h"
81 #include "content/browser/gpu/browser_gpu_memory_buffer_manager.h"
82 #include "content/browser/gpu/compositor_util.h" 81 #include "content/browser/gpu/compositor_util.h"
83 #include "content/browser/gpu/gpu_client.h" 82 #include "content/browser/gpu/gpu_client.h"
84 #include "content/browser/gpu/gpu_data_manager_impl.h" 83 #include "content/browser/gpu/gpu_data_manager_impl.h"
85 #include "content/browser/gpu/gpu_process_host.h" 84 #include "content/browser/gpu/gpu_process_host.h"
86 #include "content/browser/gpu/shader_cache_factory.h" 85 #include "content/browser/gpu/shader_cache_factory.h"
87 #include "content/browser/histogram_message_filter.h" 86 #include "content/browser/histogram_message_filter.h"
88 #include "content/browser/indexed_db/indexed_db_context_impl.h" 87 #include "content/browser/indexed_db/indexed_db_context_impl.h"
89 #include "content/browser/indexed_db/indexed_db_dispatcher_host.h" 88 #include "content/browser/indexed_db/indexed_db_dispatcher_host.h"
90 #include "content/browser/loader/resource_message_filter.h" 89 #include "content/browser/loader/resource_message_filter.h"
91 #include "content/browser/loader/resource_scheduler_filter.h" 90 #include "content/browser/loader/resource_scheduler_filter.h"
(...skipping 3709 matching lines...) Expand 10 before | Expand all | Expand 10 after
3801 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; 3800 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error;
3802 3801
3803 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. 3802 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing.
3804 // Capture the error message in a crash key value. 3803 // Capture the error message in a crash key value.
3805 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); 3804 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error);
3806 bad_message::ReceivedBadMessage(render_process_id, 3805 bad_message::ReceivedBadMessage(render_process_id,
3807 bad_message::RPH_MOJO_PROCESS_ERROR); 3806 bad_message::RPH_MOJO_PROCESS_ERROR);
3808 } 3807 }
3809 3808
3810 } // namespace content 3809 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698