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

Side by Side Diff: content/renderer/render_frame_impl.cc

Issue 2300313002: Remove UMA 'Platform.WebRtcNEONFound These lines where last touched by me in a cl two years ago whe… (Closed)
Patch Set: Created 4 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #include "content/renderer/render_frame_impl.h" 5 #include "content/renderer/render_frame_impl.h"
6 6
7 #include <map> 7 #include <map>
8 #include <string> 8 #include <string>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
(...skipping 5700 matching lines...) Expand 10 before | Expand all | Expand 10 after
5711 this, RenderThreadImpl::current()->GetPeerConnectionDependencyFactory(), 5711 this, RenderThreadImpl::current()->GetPeerConnectionDependencyFactory(),
5712 base::MakeUnique<MediaStreamDispatcher>(this)); 5712 base::MakeUnique<MediaStreamDispatcher>(this));
5713 #endif 5713 #endif
5714 } 5714 }
5715 5715
5716 WebMediaPlayer* RenderFrameImpl::CreateWebMediaPlayerForMediaStream( 5716 WebMediaPlayer* RenderFrameImpl::CreateWebMediaPlayerForMediaStream(
5717 WebMediaPlayerClient* client, 5717 WebMediaPlayerClient* client,
5718 const WebString& sink_id, 5718 const WebString& sink_id,
5719 const WebSecurityOrigin& security_origin) { 5719 const WebSecurityOrigin& security_origin) {
5720 #if defined(ENABLE_WEBRTC) 5720 #if defined(ENABLE_WEBRTC)
5721 #if defined(OS_ANDROID) && defined(ARCH_CPU_ARMEL)
5722 const bool found_neon =
5723 (android_getCpuFeatures() & ANDROID_CPU_ARM_FEATURE_NEON) != 0;
5724 UMA_HISTOGRAM_BOOLEAN("Platform.WebRtcNEONFound", found_neon);
5725 #endif // defined(OS_ANDROID) && defined(ARCH_CPU_ARMEL)
5726 RenderThreadImpl* const render_thread = RenderThreadImpl::current(); 5721 RenderThreadImpl* const render_thread = RenderThreadImpl::current();
5727 5722
5728 scoped_refptr<base::SingleThreadTaskRunner> compositor_task_runner = 5723 scoped_refptr<base::SingleThreadTaskRunner> compositor_task_runner =
5729 render_thread->compositor_task_runner(); 5724 render_thread->compositor_task_runner();
5730 if (!compositor_task_runner.get()) 5725 if (!compositor_task_runner.get())
5731 compositor_task_runner = base::ThreadTaskRunnerHandle::Get(); 5726 compositor_task_runner = base::ThreadTaskRunnerHandle::Get();
5732 5727
5733 return new WebMediaPlayerMS( 5728 return new WebMediaPlayerMS(
5734 frame_, client, GetWebMediaPlayerDelegate()->AsWeakPtr(), 5729 frame_, client, GetWebMediaPlayerDelegate()->AsWeakPtr(),
5735 new RenderMediaLog(blink::WebStringToGURL(security_origin.toString())), 5730 new RenderMediaLog(blink::WebStringToGURL(security_origin.toString())),
(...skipping 583 matching lines...) Expand 10 before | Expand all | Expand 10 after
6319 // event target. Potentially a Pepper plugin will receive the event. 6314 // event target. Potentially a Pepper plugin will receive the event.
6320 // In order to tell whether a plugin gets the last mouse event and which it 6315 // In order to tell whether a plugin gets the last mouse event and which it
6321 // is, we set |pepper_last_mouse_event_target_| to null here. If a plugin gets 6316 // is, we set |pepper_last_mouse_event_target_| to null here. If a plugin gets
6322 // the event, it will notify us via DidReceiveMouseEvent() and set itself as 6317 // the event, it will notify us via DidReceiveMouseEvent() and set itself as
6323 // |pepper_last_mouse_event_target_|. 6318 // |pepper_last_mouse_event_target_|.
6324 pepper_last_mouse_event_target_ = nullptr; 6319 pepper_last_mouse_event_target_ = nullptr;
6325 #endif 6320 #endif
6326 } 6321 }
6327 6322
6328 } // namespace content 6323 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698