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

Side by Side Diff: media/base/android/provision_fetcher.h

Issue 1847373005: Fix IWYU violators that don't include scoped_ptr.h in Android build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « media/base/android/media_drm_bridge_cdm_context.h ('k') | tools/android/md5sum/md5sum.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 MEDIA_BASE_PROVISION_FETCHER_H 5 #ifndef MEDIA_BASE_PROVISION_FETCHER_H
6 #define MEDIA_BASE_PROVISION_FETCHER_H 6 #define MEDIA_BASE_PROVISION_FETCHER_H
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/memory/scoped_ptr.h"
11 #include "media/base/media_export.h" 12 #include "media/base/media_export.h"
12 13
13 namespace media { 14 namespace media {
14 15
15 // The interface to retrieve provision information for MediaDrmBridge. 16 // The interface to retrieve provision information for MediaDrmBridge.
16 class MEDIA_EXPORT ProvisionFetcher { 17 class MEDIA_EXPORT ProvisionFetcher {
17 public: 18 public:
18 // After provision information is retrieved this callback will be called 19 // After provision information is retrieved this callback will be called
19 // with the status flag (success/failure) and the provision response in 20 // with the status flag (success/failure) and the provision response in
20 // case of success. 21 // case of success.
(...skipping 11 matching lines...) Expand all
32 virtual void Retrieve(const std::string& default_url, 33 virtual void Retrieve(const std::string& default_url,
33 const std::string& request_data, 34 const std::string& request_data,
34 const ResponseCB& response_cb) = 0; 35 const ResponseCB& response_cb) = 0;
35 }; 36 };
36 37
37 using CreateFetcherCB = base::Callback<scoped_ptr<ProvisionFetcher>()>; 38 using CreateFetcherCB = base::Callback<scoped_ptr<ProvisionFetcher>()>;
38 39
39 } // namespace media 40 } // namespace media
40 41
41 #endif // MEDIA_BASE_PROVISION_FETCHER_H 42 #endif // MEDIA_BASE_PROVISION_FETCHER_H
OLDNEW
« no previous file with comments | « media/base/android/media_drm_bridge_cdm_context.h ('k') | tools/android/md5sum/md5sum.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698