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

Side by Side Diff: content/public/test/mock_render_thread.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/public/test/mock_render_thread.h ('k') | content/renderer/render_thread_impl.h » ('j') | 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/public/test/mock_render_thread.h" 5 #include "content/public/test/mock_render_thread.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/single_thread_task_runner.h" 8 #include "base/single_thread_task_runner.h"
9 #include "base/threading/thread_task_runner_handle.h" 9 #include "base/threading/thread_task_runner_handle.h"
10 #include "build/build_config.h" 10 #include "build/build_config.h"
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 void MockRenderThread::IdleHandler() { 210 void MockRenderThread::IdleHandler() {
211 } 211 }
212 212
213 int64_t MockRenderThread::GetIdleNotificationDelayInMs() const { 213 int64_t MockRenderThread::GetIdleNotificationDelayInMs() const {
214 return 0; 214 return 0;
215 } 215 }
216 216
217 void MockRenderThread::SetIdleNotificationDelayInMs( 217 void MockRenderThread::SetIdleNotificationDelayInMs(
218 int64_t idle_notification_delay_in_ms) {} 218 int64_t idle_notification_delay_in_ms) {}
219 219
220 void MockRenderThread::UpdateHistograms(int sequence_number) {
221 }
222
223 int MockRenderThread::PostTaskToAllWebWorkers(const base::Closure& closure) { 220 int MockRenderThread::PostTaskToAllWebWorkers(const base::Closure& closure) {
224 return 0; 221 return 0;
225 } 222 }
226 223
227 bool MockRenderThread::ResolveProxy(const GURL& url, std::string* proxy_list) { 224 bool MockRenderThread::ResolveProxy(const GURL& url, std::string* proxy_list) {
228 return false; 225 return false;
229 } 226 }
230 227
231 base::WaitableEvent* MockRenderThread::GetShutdownEvent() { 228 base::WaitableEvent* MockRenderThread::GetShutdownEvent() {
232 return NULL; 229 return NULL;
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 void MockRenderThread::OnCreateWindow( 315 void MockRenderThread::OnCreateWindow(
319 const mojom::CreateNewWindowParams& params, 316 const mojom::CreateNewWindowParams& params,
320 mojom::CreateNewWindowReply* reply) { 317 mojom::CreateNewWindowReply* reply) {
321 reply->route_id = new_window_routing_id_; 318 reply->route_id = new_window_routing_id_;
322 reply->main_frame_route_id = new_window_main_frame_routing_id_; 319 reply->main_frame_route_id = new_window_main_frame_routing_id_;
323 reply->main_frame_widget_route_id = new_window_main_frame_widget_routing_id_; 320 reply->main_frame_widget_route_id = new_window_main_frame_widget_routing_id_;
324 reply->cloned_session_storage_namespace_id = 0; 321 reply->cloned_session_storage_namespace_id = 0;
325 } 322 }
326 323
327 } // namespace content 324 } // namespace content
OLDNEW
« no previous file with comments | « content/public/test/mock_render_thread.h ('k') | content/renderer/render_thread_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698