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

Side by Side Diff: content/public/browser/android/provision_fetcher_factory.h

Issue 1874903002: Convert //content from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix indent Created 4 years, 8 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 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
OLDNEW
« no previous file with comments | « content/public/browser/android/content_protocol_handler.h ('k') | content/public/browser/android/synchronous_compositor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698