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

Side by Side Diff: media/audio/audio_manager.h

Issue 2698503005: Remove unnecessary casts in AudioManagerDeleter on Mac. (Closed)
Patch Set: Fix friendship. Created 3 years, 10 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 | media/audio/audio_manager.cc » ('j') | media/audio/audio_manager.cc » ('J')
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 #ifndef MEDIA_AUDIO_AUDIO_MANAGER_H_ 5 #ifndef MEDIA_AUDIO_AUDIO_MANAGER_H_
6 #define MEDIA_AUDIO_AUDIO_MANAGER_H_ 6 #define MEDIA_AUDIO_AUDIO_MANAGER_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 // Limits the number of streams that can be created for testing purposes. 254 // Limits the number of streams that can be created for testing purposes.
255 virtual void SetMaxStreamCountForTesting(int max_input, int max_output); 255 virtual void SetMaxStreamCountForTesting(int max_input, int max_output);
256 256
257 protected: 257 protected:
258 AudioManager(scoped_refptr<base::SingleThreadTaskRunner> task_runner, 258 AudioManager(scoped_refptr<base::SingleThreadTaskRunner> task_runner,
259 scoped_refptr<base::SingleThreadTaskRunner> worker_task_runner); 259 scoped_refptr<base::SingleThreadTaskRunner> worker_task_runner);
260 virtual ~AudioManager(); 260 virtual ~AudioManager();
261 261
262 private: 262 private:
263 friend class base::DeleteHelper<AudioManager>; 263 friend class base::DeleteHelper<AudioManager>;
264 friend class AudioManagerDeleter;
264 265
265 scoped_refptr<base::SingleThreadTaskRunner> task_runner_; 266 scoped_refptr<base::SingleThreadTaskRunner> task_runner_;
266 scoped_refptr<base::SingleThreadTaskRunner> worker_task_runner_; 267 scoped_refptr<base::SingleThreadTaskRunner> worker_task_runner_;
267 DISALLOW_COPY_AND_ASSIGN(AudioManager); 268 DISALLOW_COPY_AND_ASSIGN(AudioManager);
268 }; 269 };
269 270
270 } // namespace media 271 } // namespace media
271 272
272 #endif // MEDIA_AUDIO_AUDIO_MANAGER_H_ 273 #endif // MEDIA_AUDIO_AUDIO_MANAGER_H_
OLDNEW
« no previous file with comments | « no previous file | media/audio/audio_manager.cc » ('j') | media/audio/audio_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698