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

Side by Side Diff: content/browser/media/android/media_resource_getter_impl.h

Issue 98823003: Supporting blob urls for html5 media (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: addressing comments Created 6 years, 11 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 | « no previous file | content/browser/media/android/media_resource_getter_impl.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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 CONTENT_BROWSER_MEDIA_ANDROID_MEDIA_RESOURCE_GETTER_IMPL_H_ 5 #ifndef CONTENT_BROWSER_MEDIA_ANDROID_MEDIA_RESOURCE_GETTER_IMPL_H_
6 #define CONTENT_BROWSER_MEDIA_ANDROID_MEDIA_RESOURCE_GETTER_IMPL_H_ 6 #define CONTENT_BROWSER_MEDIA_ANDROID_MEDIA_RESOURCE_GETTER_IMPL_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 #include <string> 9 #include <string>
10 10
(...skipping 26 matching lines...) Expand all
37 MediaResourceGetterImpl(BrowserContext* browser_context, 37 MediaResourceGetterImpl(BrowserContext* browser_context,
38 fileapi::FileSystemContext* file_system_context, 38 fileapi::FileSystemContext* file_system_context,
39 int renderer_id, int routing_id); 39 int renderer_id, int routing_id);
40 virtual ~MediaResourceGetterImpl(); 40 virtual ~MediaResourceGetterImpl();
41 41
42 // media::MediaResourceGetter implementation. 42 // media::MediaResourceGetter implementation.
43 // Must be called on the UI thread. 43 // Must be called on the UI thread.
44 virtual void GetCookies(const GURL& url, 44 virtual void GetCookies(const GURL& url,
45 const GURL& first_party_for_cookies, 45 const GURL& first_party_for_cookies,
46 const GetCookieCB& callback) OVERRIDE; 46 const GetCookieCB& callback) OVERRIDE;
47 virtual void GetPlatformPathFromFileSystemURL( 47 virtual void GetPlatformPathFromURL(
48 const GURL& url, 48 const GURL& url,
49 const GetPlatformPathCB& callback) OVERRIDE; 49 const GetPlatformPathCB& callback) OVERRIDE;
50 virtual void ExtractMediaMetadata( 50 virtual void ExtractMediaMetadata(
51 const std::string& url, const std::string& cookies, 51 const std::string& url, const std::string& cookies,
52 const std::string& user_agent, 52 const std::string& user_agent,
53 const ExtractMediaMetadataCB& callback) OVERRIDE; 53 const ExtractMediaMetadataCB& callback) OVERRIDE;
54 54
55 static bool RegisterMediaResourceGetter(JNIEnv* env); 55 static bool RegisterMediaResourceGetter(JNIEnv* env);
56 56
57 private: 57 private:
(...skipping 19 matching lines...) Expand all
77 77
78 // Routing id for the render view, used to check tab specific cookie policy. 78 // Routing id for the render view, used to check tab specific cookie policy.
79 int routing_id_; 79 int routing_id_;
80 80
81 DISALLOW_COPY_AND_ASSIGN(MediaResourceGetterImpl); 81 DISALLOW_COPY_AND_ASSIGN(MediaResourceGetterImpl);
82 }; 82 };
83 83
84 } // namespace content 84 } // namespace content
85 85
86 #endif // CONTENT_BROWSER_MEDIA_ANDROID_MEDIA_RESOURCE_GETTER_IMPL_H_ 86 #endif // CONTENT_BROWSER_MEDIA_ANDROID_MEDIA_RESOURCE_GETTER_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/media/android/media_resource_getter_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698