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

Side by Side Diff: content/shell/renderer/layout_test/blink_test_runner.cc

Issue 1125133005: bluetooth: Move testing IPC from BluetoothDispatcher to BlinkTestRunner (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix for stable release mode tests Created 5 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 (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/shell/renderer/layout_test/blink_test_runner.h" 5 #include "content/shell/renderer/layout_test/blink_test_runner.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <clocale> 8 #include <clocale>
9 #include <cmath> 9 #include <cmath>
10 10
(...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after
457 457
458 void BlinkTestRunner::SetDeviceScaleFactor(float factor) { 458 void BlinkTestRunner::SetDeviceScaleFactor(float factor) {
459 content::SetDeviceScaleFactor(render_view(), factor); 459 content::SetDeviceScaleFactor(render_view(), factor);
460 } 460 }
461 461
462 void BlinkTestRunner::SetDeviceColorProfile(const std::string& name) { 462 void BlinkTestRunner::SetDeviceColorProfile(const std::string& name) {
463 content::SetDeviceColorProfile(render_view(), name); 463 content::SetDeviceColorProfile(render_view(), name);
464 } 464 }
465 465
466 void BlinkTestRunner::SetBluetoothMockDataSet(const std::string& name) { 466 void BlinkTestRunner::SetBluetoothMockDataSet(const std::string& name) {
467 content::SetBluetoothMockDataSetForTesting(name); 467 Send(new LayoutTestHostMsg_SetBluetoothAdapter(name));
468 } 468 }
469 469
470 void BlinkTestRunner::SetGeofencingMockProvider(bool service_available) { 470 void BlinkTestRunner::SetGeofencingMockProvider(bool service_available) {
471 content::SetGeofencingMockProvider(service_available); 471 content::SetGeofencingMockProvider(service_available);
472 } 472 }
473 473
474 void BlinkTestRunner::ClearGeofencingMockProvider() { 474 void BlinkTestRunner::ClearGeofencingMockProvider() {
475 content::ClearGeofencingMockProvider(); 475 content::ClearGeofencingMockProvider();
476 } 476 }
477 477
(...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after
840 840
841 leak_detector_->TryLeakDetection(main_frame); 841 leak_detector_->TryLeakDetection(main_frame);
842 } 842 }
843 843
844 void BlinkTestRunner::ReportLeakDetectionResult( 844 void BlinkTestRunner::ReportLeakDetectionResult(
845 const LeakDetectionResult& report) { 845 const LeakDetectionResult& report) {
846 Send(new ShellViewHostMsg_LeakDetectionDone(routing_id(), report)); 846 Send(new ShellViewHostMsg_LeakDetectionDone(routing_id(), report));
847 } 847 }
848 848
849 } // namespace content 849 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698