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

Side by Side Diff: content/renderer/media/webaudiosourceprovider_impl.cc

Issue 68683009: Rewrite include paths for Blink public/ headers that have moved (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 1 month 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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 #include "content/renderer/media/webaudiosourceprovider_impl.h" 5 #include "content/renderer/media/webaudiosourceprovider_impl.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "third_party/WebKit/public/web/WebAudioSourceProviderClient.h" 10 #include "third_party/WebKit/public/platform/WebAudioSourceProviderClient.h"
11 11
12 using blink::WebVector; 12 using blink::WebVector;
13 13
14 namespace content { 14 namespace content {
15 15
16 namespace { 16 namespace {
17 17
18 // Simple helper class for Try() locks. Lock is Try()'d on construction and 18 // Simple helper class for Try() locks. Lock is Try()'d on construction and
19 // must be checked via the locked() attribute. If acquisition was successful 19 // must be checked via the locked() attribute. If acquisition was successful
20 // the lock will be released upon destruction. 20 // the lock will be released upon destruction.
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 channels_ = params.channels(); 165 channels_ = params.channels();
166 sample_rate_ = params.sample_rate(); 166 sample_rate_ = params.sample_rate();
167 167
168 if (client_) { 168 if (client_) {
169 // Inform WebKit about the audio stream format. 169 // Inform WebKit about the audio stream format.
170 client_->setFormat(channels_, sample_rate_); 170 client_->setFormat(channels_, sample_rate_);
171 } 171 }
172 } 172 }
173 173
174 } // namespace content 174 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/media/texttrack_impl.cc ('k') | content/renderer/media/webaudiosourceprovider_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698