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

Side by Side Diff: content/public/browser/render_process_host.h

Issue 2380743004: media: Remove Browser CDM implementation (Closed)
Patch Set: media: Remove Browser CDM implementation Created 4 years, 2 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
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_PUBLIC_BROWSER_RENDER_PROCESS_HOST_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_RENDER_PROCESS_HOST_H_
6 #define CONTENT_PUBLIC_BROWSER_RENDER_PROCESS_HOST_H_ 6 #define CONTENT_PUBLIC_BROWSER_RENDER_PROCESS_HOST_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 // Retrieves the list of AudioOutputController objects associated 280 // Retrieves the list of AudioOutputController objects associated
281 // with this object and passes it to the callback you specify, on 281 // with this object and passes it to the callback you specify, on
282 // the same thread on which you called the method. 282 // the same thread on which you called the method.
283 typedef std::list<scoped_refptr<media::AudioOutputController>> 283 typedef std::list<scoped_refptr<media::AudioOutputController>>
284 AudioOutputControllerList; 284 AudioOutputControllerList;
285 typedef base::Callback<void(const AudioOutputControllerList&)> 285 typedef base::Callback<void(const AudioOutputControllerList&)>
286 GetAudioOutputControllersCallback; 286 GetAudioOutputControllersCallback;
287 virtual void GetAudioOutputControllers( 287 virtual void GetAudioOutputControllers(
288 const GetAudioOutputControllersCallback& callback) const = 0; 288 const GetAudioOutputControllersCallback& callback) const = 0;
289 289
290 #if defined(ENABLE_BROWSER_CDMS)
291 // Returns the CDM instance associated with |render_frame_id| and |cdm_id|,
292 // or nullptr if not found.
293 virtual scoped_refptr<media::MediaKeys> GetCdm(int render_frame_id,
294 int cdm_id) const = 0;
295 #endif
296
297 // Returns true if this process currently has backgrounded priority. 290 // Returns true if this process currently has backgrounded priority.
298 virtual bool IsProcessBackgrounded() const = 0; 291 virtual bool IsProcessBackgrounded() const = 0;
299 292
300 // Called when the existence of the other renderer process which is connected 293 // Called when the existence of the other renderer process which is connected
301 // to the Worker in this renderer process has changed. 294 // to the Worker in this renderer process has changed.
302 virtual void IncrementServiceWorkerRefCount() = 0; 295 virtual void IncrementServiceWorkerRefCount() = 0;
303 virtual void DecrementServiceWorkerRefCount() = 0; 296 virtual void DecrementServiceWorkerRefCount() = 0;
304 virtual void IncrementSharedWorkerRefCount() = 0; 297 virtual void IncrementSharedWorkerRefCount() = 0;
305 virtual void DecrementSharedWorkerRefCount() = 0; 298 virtual void DecrementSharedWorkerRefCount() = 0;
306 299
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
372 static void SetMaxRendererProcessCount(size_t count); 365 static void SetMaxRendererProcessCount(size_t count);
373 366
374 // Returns the current maximum number of renderer process hosts kept by the 367 // Returns the current maximum number of renderer process hosts kept by the
375 // content module. 368 // content module.
376 static size_t GetMaxRendererProcessCount(); 369 static size_t GetMaxRendererProcessCount();
377 }; 370 };
378 371
379 } // namespace content. 372 } // namespace content.
380 373
381 #endif // CONTENT_PUBLIC_BROWSER_RENDER_PROCESS_HOST_H_ 374 #endif // CONTENT_PUBLIC_BROWSER_RENDER_PROCESS_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698