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

Side by Side Diff: chromeos/audio/cras_audio_handler_unittest.cc

Issue 1966093003: Fix include path for moved thread_task_runner_handle.h header in chromeos/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: Created 4 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
« no previous file with comments | « chromeos/accelerometer/accelerometer_reader.cc ('k') | chromeos/binder/remote_object.cc » ('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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 "chromeos/audio/cras_audio_handler.h" 5 #include "chromeos/audio/cras_audio_handler.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
11 11
12 #include "base/bind.h" 12 #include "base/bind.h"
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/memory/ref_counted.h" 14 #include "base/memory/ref_counted.h"
15 #include "base/message_loop/message_loop.h" 15 #include "base/message_loop/message_loop.h"
16 #include "base/run_loop.h" 16 #include "base/run_loop.h"
17 #include "base/thread_task_runner_handle.h" 17 #include "base/threading/thread_task_runner_handle.h"
18 #include "base/values.h" 18 #include "base/values.h"
19 #include "chromeos/audio/audio_devices_pref_handler.h" 19 #include "chromeos/audio/audio_devices_pref_handler.h"
20 #include "chromeos/audio/audio_devices_pref_handler_stub.h" 20 #include "chromeos/audio/audio_devices_pref_handler_stub.h"
21 #include "chromeos/dbus/audio_node.h" 21 #include "chromeos/dbus/audio_node.h"
22 #include "chromeos/dbus/dbus_thread_manager.h" 22 #include "chromeos/dbus/dbus_thread_manager.h"
23 #include "chromeos/dbus/fake_cras_audio_client.h" 23 #include "chromeos/dbus/fake_cras_audio_client.h"
24 #include "testing/gtest/include/gtest/gtest.h" 24 #include "testing/gtest/include/gtest/gtest.h"
25 25
26 namespace chromeos { 26 namespace chromeos {
27 namespace { 27 namespace {
(...skipping 3069 matching lines...) Expand 10 before | Expand all | Expand 10 after
3097 cras_audio_handler_->GetPrimaryActiveOutputDevice(&active_output)); 3097 cras_audio_handler_->GetPrimaryActiveOutputDevice(&active_output));
3098 EXPECT_EQ(kInternalSpeaker.id, active_output.id); 3098 EXPECT_EQ(kInternalSpeaker.id, active_output.id);
3099 EXPECT_EQ(kInternalSpeaker.id, 3099 EXPECT_EQ(kInternalSpeaker.id,
3100 cras_audio_handler_->GetPrimaryActiveOutputNode()); 3100 cras_audio_handler_->GetPrimaryActiveOutputNode());
3101 EXPECT_FALSE(cras_audio_handler_->IsOutputMuted()); 3101 EXPECT_FALSE(cras_audio_handler_->IsOutputMuted());
3102 EXPECT_EQ(1, test_observer_->output_mute_changed_count()); 3102 EXPECT_EQ(1, test_observer_->output_mute_changed_count());
3103 EXPECT_TRUE(test_observer_->output_mute_by_system()); 3103 EXPECT_TRUE(test_observer_->output_mute_by_system());
3104 } 3104 }
3105 3105
3106 } // namespace chromeos 3106 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/accelerometer/accelerometer_reader.cc ('k') | chromeos/binder/remote_object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698