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

Side by Side Diff: remoting/host/audio_capturer_mac.cc

Issue 16844021: Rewrite scoped_ptr<T>(NULL) to use the default ctor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « apps/app_shim/app_shim_host_mac.cc ('k') | no next file » | 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) 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 "base/logging.h" 5 #include "base/logging.h"
6 #include "remoting/host/audio_capturer.h" 6 #include "remoting/host/audio_capturer.h"
7 7
8 namespace remoting { 8 namespace remoting {
9 9
10 bool AudioCapturer::IsSupported() { 10 bool AudioCapturer::IsSupported() {
11 return false; 11 return false;
12 } 12 }
13 13
14 scoped_ptr<AudioCapturer> AudioCapturer::Create() { 14 scoped_ptr<AudioCapturer> AudioCapturer::Create() {
15 NOTIMPLEMENTED(); 15 NOTIMPLEMENTED();
16 return scoped_ptr<AudioCapturer>(NULL); 16 return scoped_ptr<AudioCapturer>();
17 } 17 }
18 18
19 } // namespace remoting 19 } // namespace remoting
OLDNEW
« no previous file with comments | « apps/app_shim/app_shim_host_mac.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698