OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_ANDROID_PROVISION_FETCHER_FACTORY_H | 5 #ifndef CONTENT_PUBLIC_BROWSER_ANDROID_PROVISION_FETCHER_FACTORY_H |
6 #define CONTENT_PUBLIC_BROWSER_ANDROID_PROVISION_FETCHER_FACTORY_H | 6 #define CONTENT_PUBLIC_BROWSER_ANDROID_PROVISION_FETCHER_FACTORY_H |
7 | 7 |
8 #include "base/memory/scoped_ptr.h" | 8 #include <memory> |
| 9 |
9 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
10 | 11 |
11 namespace media { | 12 namespace media { |
12 class ProvisionFetcher; | 13 class ProvisionFetcher; |
13 } | 14 } |
14 | 15 |
15 namespace net { | 16 namespace net { |
16 class URLRequestContextGetter; | 17 class URLRequestContextGetter; |
17 } | 18 } |
18 | 19 |
19 namespace content { | 20 namespace content { |
20 | 21 |
21 // Factory method for media::ProvisionFetcher objects. | 22 // Factory method for media::ProvisionFetcher objects. |
22 | 23 |
23 CONTENT_EXPORT | 24 CONTENT_EXPORT |
24 scoped_ptr<media::ProvisionFetcher> CreateProvisionFetcher( | 25 std::unique_ptr<media::ProvisionFetcher> CreateProvisionFetcher( |
25 net::URLRequestContextGetter* context_getter); | 26 net::URLRequestContextGetter* context_getter); |
26 | 27 |
27 } // namespace content | 28 } // namespace content |
28 | 29 |
29 #endif // CONTENT_PUBLIC_BROWSER_ANDROID_PROVISION_FETCHER_FACTORY_H | 30 #endif // CONTENT_PUBLIC_BROWSER_ANDROID_PROVISION_FETCHER_FACTORY_H |
OLD | NEW |