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

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

Issue 2446533003: Remove dead flush histograms code. (Closed)
Patch Set: rebase Created 4 years, 1 month 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 | « content/renderer/render_thread_impl.h ('k') | 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 #include "content/renderer/render_thread_impl.h" 5 #include "content/renderer/render_thread_impl.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <limits> 8 #include <limits>
9 #include <map> 9 #include <map>
10 #include <utility> 10 #include <utility>
(...skipping 1421 matching lines...) Expand 10 before | Expand all | Expand 10 after
1432 1432
1433 int64_t RenderThreadImpl::GetIdleNotificationDelayInMs() const { 1433 int64_t RenderThreadImpl::GetIdleNotificationDelayInMs() const {
1434 return idle_notification_delay_in_ms_; 1434 return idle_notification_delay_in_ms_;
1435 } 1435 }
1436 1436
1437 void RenderThreadImpl::SetIdleNotificationDelayInMs( 1437 void RenderThreadImpl::SetIdleNotificationDelayInMs(
1438 int64_t idle_notification_delay_in_ms) { 1438 int64_t idle_notification_delay_in_ms) {
1439 idle_notification_delay_in_ms_ = idle_notification_delay_in_ms; 1439 idle_notification_delay_in_ms_ = idle_notification_delay_in_ms;
1440 } 1440 }
1441 1441
1442 void RenderThreadImpl::UpdateHistograms(int sequence_number) {
1443 child_histogram_message_filter()->SendHistograms(sequence_number);
1444 }
1445
1446 int RenderThreadImpl::PostTaskToAllWebWorkers(const base::Closure& closure) { 1442 int RenderThreadImpl::PostTaskToAllWebWorkers(const base::Closure& closure) {
1447 return WorkerThreadRegistry::Instance()->PostTaskToAllThreads(closure); 1443 return WorkerThreadRegistry::Instance()->PostTaskToAllThreads(closure);
1448 } 1444 }
1449 1445
1450 bool RenderThreadImpl::ResolveProxy(const GURL& url, std::string* proxy_list) { 1446 bool RenderThreadImpl::ResolveProxy(const GURL& url, std::string* proxy_list) {
1451 bool result = false; 1447 bool result = false;
1452 Send(new ViewHostMsg_ResolveProxy(url, &result, proxy_list)); 1448 Send(new ViewHostMsg_ResolveProxy(url, &result, proxy_list));
1453 return result; 1449 return result;
1454 } 1450 }
1455 1451
(...skipping 1026 matching lines...) Expand 10 before | Expand all | Expand 10 after
2482 } 2478 }
2483 } 2479 }
2484 2480
2485 void RenderThreadImpl::OnRendererInterfaceRequest( 2481 void RenderThreadImpl::OnRendererInterfaceRequest(
2486 mojom::RendererAssociatedRequest request) { 2482 mojom::RendererAssociatedRequest request) {
2487 DCHECK(!renderer_binding_.is_bound()); 2483 DCHECK(!renderer_binding_.is_bound());
2488 renderer_binding_.Bind(std::move(request)); 2484 renderer_binding_.Bind(std::move(request));
2489 } 2485 }
2490 2486
2491 } // namespace content 2487 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/render_thread_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698