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

Side by Side Diff: content/browser/renderer_host/audio_sync_reader.cc

Issue 6532073: Move core pieces of browser\renderer_host to src\content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "chrome/browser/renderer_host/audio_sync_reader.h" 5 #include "content/browser/renderer_host/audio_sync_reader.h"
6 6
7 #include "base/process_util.h" 7 #include "base/process_util.h"
8 #include "base/shared_memory.h" 8 #include "base/shared_memory.h"
9 9
10 AudioSyncReader::AudioSyncReader(base::SharedMemory* shared_memory) 10 AudioSyncReader::AudioSyncReader(base::SharedMemory* shared_memory)
11 : shared_memory_(shared_memory) { 11 : shared_memory_(shared_memory) {
12 } 12 }
13 13
14 AudioSyncReader::~AudioSyncReader() { 14 AudioSyncReader::~AudioSyncReader() {
15 } 15 }
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 bool AudioSyncReader::PrepareForeignSocketHandle( 55 bool AudioSyncReader::PrepareForeignSocketHandle(
56 base::ProcessHandle process_handle, 56 base::ProcessHandle process_handle,
57 base::FileDescriptor* foreign_handle) { 57 base::FileDescriptor* foreign_handle) {
58 foreign_handle->fd = foreign_socket_->handle(); 58 foreign_handle->fd = foreign_socket_->handle();
59 foreign_handle->auto_close = false; 59 foreign_handle->auto_close = false;
60 if (foreign_handle->fd != -1) 60 if (foreign_handle->fd != -1)
61 return true; 61 return true;
62 return false; 62 return false;
63 } 63 }
64 #endif 64 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698