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

Side by Side Diff: content/browser/renderer_host/media/audio_sync_reader.h

Issue 10696166: Remove #pragma once from content (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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
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 CONTENT_BROWSER_RENDERER_HOST_MEDIA_AUDIO_SYNC_READER_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_MEDIA_AUDIO_SYNC_READER_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_MEDIA_AUDIO_SYNC_READER_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_MEDIA_AUDIO_SYNC_READER_H_
7 #pragma once
8 7
9 #include "base/file_descriptor_posix.h" 8 #include "base/file_descriptor_posix.h"
10 #include "base/process.h" 9 #include "base/process.h"
11 #include "base/sync_socket.h" 10 #include "base/sync_socket.h"
12 #include "base/synchronization/lock.h" 11 #include "base/synchronization/lock.h"
13 #include "base/time.h" 12 #include "base/time.h"
14 #include "media/audio/audio_output_controller.h" 13 #include "media/audio/audio_output_controller.h"
15 14
16 namespace base { 15 namespace base {
17 class SharedMemory; 16 class SharedMemory;
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 scoped_ptr<base::CancelableSyncSocket> socket_; 48 scoped_ptr<base::CancelableSyncSocket> socket_;
50 49
51 // Socket to be used by the renderer. The reference is released after 50 // Socket to be used by the renderer. The reference is released after
52 // PrepareForeignSocketHandle() is called and ran successfully. 51 // PrepareForeignSocketHandle() is called and ran successfully.
53 scoped_ptr<base::CancelableSyncSocket> foreign_socket_; 52 scoped_ptr<base::CancelableSyncSocket> foreign_socket_;
54 53
55 DISALLOW_COPY_AND_ASSIGN(AudioSyncReader); 54 DISALLOW_COPY_AND_ASSIGN(AudioSyncReader);
56 }; 55 };
57 56
58 #endif // CONTENT_BROWSER_RENDERER_HOST_MEDIA_AUDIO_SYNC_READER_H_ 57 #endif // CONTENT_BROWSER_RENDERER_HOST_MEDIA_AUDIO_SYNC_READER_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/media/audio_renderer_host.h ('k') | content/browser/renderer_host/media/mock_media_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698