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

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

Issue 1936093003: Fix gpu_video_decode_accelerator include order by renaming enum with X11 name collision (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rename Status->ThreadStatus Created 4 years, 7 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 1715 matching lines...) Expand 10 before | Expand all | Expand 10 after
1726 FOR_EACH_OBSERVER(RenderProcessHostObserver, 1726 FOR_EACH_OBSERVER(RenderProcessHostObserver,
1727 observers_, 1727 observers_,
1728 RenderProcessReady(this)); 1728 RenderProcessReady(this));
1729 } 1729 }
1730 1730
1731 #if defined(IPC_MESSAGE_LOG_ENABLED) 1731 #if defined(IPC_MESSAGE_LOG_ENABLED)
1732 Send(new ChildProcessMsg_SetIPCLoggingEnabled( 1732 Send(new ChildProcessMsg_SetIPCLoggingEnabled(
1733 IPC::Logging::GetInstance()->Enabled())); 1733 IPC::Logging::GetInstance()->Enabled()));
1734 #endif 1734 #endif
1735 1735
1736 tracked_objects::ThreadData::Status status = 1736 tracked_objects::ThreadData::ThreadStatus status =
1737 tracked_objects::ThreadData::status(); 1737 tracked_objects::ThreadData::status();
1738 Send(new ChildProcessMsg_SetProfilerStatus(status)); 1738 Send(new ChildProcessMsg_SetProfilerStatus(status));
1739 1739
1740 // Inform AudioInputRendererHost about the new render process PID. 1740 // Inform AudioInputRendererHost about the new render process PID.
1741 // AudioInputRendererHost is reference counted, so its lifetime is 1741 // AudioInputRendererHost is reference counted, so its lifetime is
1742 // guaranteed during the lifetime of the closure. 1742 // guaranteed during the lifetime of the closure.
1743 BrowserThread::PostTask(BrowserThread::IO, FROM_HERE, 1743 BrowserThread::PostTask(BrowserThread::IO, FROM_HERE,
1744 base::Bind(&AudioInputRendererHost::set_renderer_pid, 1744 base::Bind(&AudioInputRendererHost::set_renderer_pid,
1745 audio_input_renderer_host_, peer_pid)); 1745 audio_input_renderer_host_, peer_pid));
1746 } 1746 }
(...skipping 1005 matching lines...) Expand 10 before | Expand all | Expand 10 after
2752 2752
2753 // Skip widgets in other processes. 2753 // Skip widgets in other processes.
2754 if (rvh->GetProcess()->GetID() != GetID()) 2754 if (rvh->GetProcess()->GetID() != GetID())
2755 continue; 2755 continue;
2756 2756
2757 rvh->OnWebkitPreferencesChanged(); 2757 rvh->OnWebkitPreferencesChanged();
2758 } 2758 }
2759 } 2759 }
2760 2760
2761 } // namespace content 2761 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698