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

Unified Diff: content/browser/gpu/gpu_data_manager_impl_private.cc

Issue 1823763003: Move more files to gpu/ipc/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed Android Build Created 4 years, 9 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_data_manager_impl_private.cc
diff --git a/content/browser/gpu/gpu_data_manager_impl_private.cc b/content/browser/gpu/gpu_data_manager_impl_private.cc
index 5a63868d7e155877c06ceec26153f42922bae4c6..174add646575ddcd358ea47ca8b7011789b5f4ac 100644
--- a/content/browser/gpu/gpu_data_manager_impl_private.cc
+++ b/content/browser/gpu/gpu_data_manager_impl_private.cc
@@ -389,7 +389,7 @@ void GpuDataManagerImplPrivate::RequestCompleteGpuInfoIfNeeded() {
#else
GpuProcessHost::GPU_PROCESS_KIND_SANDBOXED,
#endif
- CAUSE_FOR_GPU_LAUNCH_GPUDATAMANAGER_REQUESTCOMPLETEGPUINFOIFNEEDED,
+ gpu::CAUSE_FOR_GPU_LAUNCH_GPUDATAMANAGER_REQUESTCOMPLETEGPUINFOIFNEEDED,
new GpuMsg_CollectGraphicsInfo());
}
@@ -411,7 +411,7 @@ bool GpuDataManagerImplPrivate::IsCompleteGpuInfoAvailable() const {
void GpuDataManagerImplPrivate::RequestVideoMemoryUsageStatsUpdate() const {
GpuProcessHost::SendOnIO(GpuProcessHost::GPU_PROCESS_KIND_SANDBOXED,
- CAUSE_FOR_GPU_LAUNCH_NO_LAUNCH,
+ gpu::CAUSE_FOR_GPU_LAUNCH_NO_LAUNCH,
new GpuMsg_GetVideoMemoryUsageStats());
}
@@ -457,7 +457,7 @@ void GpuDataManagerImplPrivate::UnblockDomainFrom3DAPIs(const GURL& url) {
void GpuDataManagerImplPrivate::DisableGpuWatchdog() {
GpuProcessHost::SendOnIO(GpuProcessHost::GPU_PROCESS_KIND_SANDBOXED,
- CAUSE_FOR_GPU_LAUNCH_NO_LAUNCH,
+ gpu::CAUSE_FOR_GPU_LAUNCH_NO_LAUNCH,
new GpuMsg_DisableWatchdog);
}
@@ -896,7 +896,7 @@ void GpuDataManagerImplPrivate::HandleGpuSwitch() {
ui::GpuSwitchingManager::GetInstance()->NotifyGpuSwitched();
// Pass the notification to the GPU process to notify observers there.
GpuProcessHost::SendOnIO(GpuProcessHost::GPU_PROCESS_KIND_SANDBOXED,
- CAUSE_FOR_GPU_LAUNCH_NO_LAUNCH,
+ gpu::CAUSE_FOR_GPU_LAUNCH_NO_LAUNCH,
new GpuMsg_GpuSwitched);
}

Powered by Google App Engine
This is Rietveld 408576698