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

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

Issue 18919005: Migrate from googleurl/ includes to url/ ones in the remaining top-level directories. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: make googleurl a temp include rule - to prevent others including it again Created 7 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « media/base/android/media_player_bridge.h ('k') | ppapi/shared_impl/ppb_url_util_shared.h » ('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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_ANDROID_MEDIA_RESOURCE_GETTER_H_ 5 #ifndef MEDIA_BASE_ANDROID_MEDIA_RESOURCE_GETTER_H_
6 #define MEDIA_BASE_ANDROID_MEDIA_RESOURCE_GETTER_H_ 6 #define MEDIA_BASE_ANDROID_MEDIA_RESOURCE_GETTER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/files/file_path.h" 11 #include "base/files/file_path.h"
12 #include "base/time/time.h" 12 #include "base/time/time.h"
13 #include "googleurl/src/gurl.h"
14 #include "media/base/media_export.h" 13 #include "media/base/media_export.h"
14 #include "url/gurl.h"
15 15
16 namespace media { 16 namespace media {
17 17
18 // Class for asynchronously retrieving resources for a media URL. All callbacks 18 // Class for asynchronously retrieving resources for a media URL. All callbacks
19 // are executed on the caller's thread. 19 // are executed on the caller's thread.
20 class MEDIA_EXPORT MediaResourceGetter { 20 class MEDIA_EXPORT MediaResourceGetter {
21 public: 21 public:
22 typedef base::Callback<void(const std::string&)> GetCookieCB; 22 typedef base::Callback<void(const std::string&)> GetCookieCB;
23 typedef base::Callback<void(const std::string&)> GetPlatformPathCB; 23 typedef base::Callback<void(const std::string&)> GetPlatformPathCB;
24 typedef base::Callback<void(base::TimeDelta, int, int, bool)> 24 typedef base::Callback<void(base::TimeDelta, int, int, bool)>
(...skipping 14 matching lines...) Expand all
39 // callback function will be run. 39 // callback function will be run.
40 virtual void ExtractMediaMetadata( 40 virtual void ExtractMediaMetadata(
41 const std::string& url, 41 const std::string& url,
42 const std::string& cookies, 42 const std::string& cookies,
43 const ExtractMediaMetadataCB& callback) = 0; 43 const ExtractMediaMetadataCB& callback) = 0;
44 }; 44 };
45 45
46 } // namespace media 46 } // namespace media
47 47
48 #endif // MEDIA_BASE_ANDROID_MEDIA_RESOURCE_GETTER_H_ 48 #endif // MEDIA_BASE_ANDROID_MEDIA_RESOURCE_GETTER_H_
OLDNEW
« no previous file with comments | « media/base/android/media_player_bridge.h ('k') | ppapi/shared_impl/ppb_url_util_shared.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698