Fix AudioPump to pause the stream when the network is congested.
[chromium-blink-merge.git] / cc / surfaces / surface_factory_client.h
blob9866b279dd6e4f02325af6990b455f37abafb640
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CC_SURFACES_SURFACE_FACTORY_CLIENT_H_
6 #define CC_SURFACES_SURFACE_FACTORY_CLIENT_H_
8 #include "cc/resources/returned_resource.h"
9 #include "cc/surfaces/surfaces_export.h"
11 namespace cc {
13 class CC_SURFACES_EXPORT SurfaceFactoryClient {
14 public:
15 virtual ~SurfaceFactoryClient() {}
17 virtual void ReturnResources(const ReturnedResourceArray& resources) = 0;
20 } // namespace cc
22 #endif // CC_SURFACES_SURFACE_FACTORY_CLIENT_H_