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

Side by Side Diff: chromeos/dbus/cras_audio_client.h

Issue 1885763004: Major part of CrasAudioClientUnittest (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: changes based on cr Created 4 years, 8 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/chromeos.gyp ('k') | chromeos/dbus/cras_audio_client_unittest.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 #ifndef CHROMEOS_DBUS_CRAS_AUDIO_CLIENT_H_ 5 #ifndef CHROMEOS_DBUS_CRAS_AUDIO_CLIENT_H_
6 #define CHROMEOS_DBUS_CRAS_AUDIO_CLIENT_H_ 6 #define CHROMEOS_DBUS_CRAS_AUDIO_CLIENT_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 int32_t channels, const std::vector<double>& mixer) = 0; 132 int32_t channels, const std::vector<double>& mixer) = 0;
133 133
134 // Runs the callback as soon as the service becomes available. 134 // Runs the callback as soon as the service becomes available.
135 virtual void WaitForServiceToBeAvailable( 135 virtual void WaitForServiceToBeAvailable(
136 const WaitForServiceToBeAvailableCallback& callback) = 0; 136 const WaitForServiceToBeAvailableCallback& callback) = 0;
137 137
138 // Creates the instance. 138 // Creates the instance.
139 static CrasAudioClient* Create(); 139 static CrasAudioClient* Create();
140 140
141 protected: 141 protected:
142 friend class CrasAudioClientTest;
143
142 // Create() should be used instead. 144 // Create() should be used instead.
143 CrasAudioClient(); 145 CrasAudioClient();
144 146
145 private: 147 private:
146 DISALLOW_COPY_AND_ASSIGN(CrasAudioClient); 148 DISALLOW_COPY_AND_ASSIGN(CrasAudioClient);
147 }; 149 };
148 150
149 } // namespace chromeos 151 } // namespace chromeos
150 152
151 #endif // CHROMEOS_DBUS_CRAS_AUDIO_CLIENT_H_ 153 #endif // CHROMEOS_DBUS_CRAS_AUDIO_CLIENT_H_
OLDNEW
« no previous file with comments | « chromeos/chromeos.gyp ('k') | chromeos/dbus/cras_audio_client_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698