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

Side by Side Diff: components/test_runner/test_runner.h

Issue 1815483003: bluetooth: Create Mojo equivalent of SetBluetoothMockDataSet (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bluetooth-mojo
Patch Set: Add gyp Created 4 years, 9 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 | components/test_runner/test_runner.cc » ('j') | content/content_shell.gypi » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef COMPONENTS_TEST_RUNNER_TEST_RUNNER_H_ 5 #ifndef COMPONENTS_TEST_RUNNER_TEST_RUNNER_H_
6 #define COMPONENTS_TEST_RUNNER_TEST_RUNNER_H_ 6 #define COMPONENTS_TEST_RUNNER_TEST_RUNNER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <deque> 10 #include <deque>
(...skipping 511 matching lines...) Expand 10 before | Expand all | Expand 10 after
522 // Enable zoom-for-dsf option. 522 // Enable zoom-for-dsf option.
523 // TODO(oshima): Remove this once all platforms migrated. 523 // TODO(oshima): Remove this once all platforms migrated.
524 void EnableUseZoomForDSF(v8::Local<v8::Function> callback); 524 void EnableUseZoomForDSF(v8::Local<v8::Function> callback);
525 525
526 // Change the device color profile while running a layout test. 526 // Change the device color profile while running a layout test.
527 void SetColorProfile(const std::string& name, 527 void SetColorProfile(const std::string& name,
528 v8::Local<v8::Function> callback); 528 v8::Local<v8::Function> callback);
529 529
530 // Change the bluetooth test data while running a layout test and resets the 530 // Change the bluetooth test data while running a layout test and resets the
531 // chooser to accept the first device. 531 // chooser to accept the first device.
532 void SetBluetoothMockDataSet(const std::string& name); 532 void SetBluetoothMockDataSet(const std::string& name);
Jeffrey Yasskin 2016/03/24 23:47:53 Can you remove the old interface in the same patch
ortuno 2016/03/28 23:26:44 Done.
Jeffrey Yasskin 2016/03/29 01:59:13 Cool, thanks. Another reasonable answer would have
533 void SetBluetoothFakeAdapter(const std::string& adapter_name,
534 v8::Local<v8::Function> callback);
533 535
534 // Makes the Bluetooth chooser record its input and wait for instructions from 536 // Makes the Bluetooth chooser record its input and wait for instructions from
535 // the test program on how to proceed. 537 // the test program on how to proceed.
536 void SetBluetoothManualChooser(); 538 void SetBluetoothManualChooser();
537 539
538 // Calls |callback| with a DOMString[] representing the events recorded since 540 // Calls |callback| with a DOMString[] representing the events recorded since
539 // the last call to this function. 541 // the last call to this function.
540 void GetBluetoothManualChooserEvents(v8::Local<v8::Function> callback); 542 void GetBluetoothManualChooserEvents(v8::Local<v8::Function> callback);
541 543
542 // Calls the BluetoothChooser::EventHandler with the arguments here. Valid 544 // Calls the BluetoothChooser::EventHandler with the arguments here. Valid
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
813 bool use_mock_theme_; 815 bool use_mock_theme_;
814 816
815 base::WeakPtrFactory<TestRunner> weak_factory_; 817 base::WeakPtrFactory<TestRunner> weak_factory_;
816 818
817 DISALLOW_COPY_AND_ASSIGN(TestRunner); 819 DISALLOW_COPY_AND_ASSIGN(TestRunner);
818 }; 820 };
819 821
820 } // namespace test_runner 822 } // namespace test_runner
821 823
822 #endif // COMPONENTS_TEST_RUNNER_TEST_RUNNER_H_ 824 #endif // COMPONENTS_TEST_RUNNER_TEST_RUNNER_H_
OLDNEW
« no previous file with comments | « no previous file | components/test_runner/test_runner.cc » ('j') | content/content_shell.gypi » ('J')

Powered by Google App Engine
This is Rietveld 408576698