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

Side by Side Diff: content/renderer/media/android/media_info_loader.h

Issue 495353003: Move WebMediaPlayerImpl and its dependencies to media/blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 6 years, 3 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 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_RENDERER_MEDIA_ANDROID_MEDIA_INFO_LOADER_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_ANDROID_MEDIA_INFO_LOADER_H_
6 #define CONTENT_RENDERER_MEDIA_ANDROID_MEDIA_INFO_LOADER_H_ 6 #define CONTENT_RENDERER_MEDIA_ANDROID_MEDIA_INFO_LOADER_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 "base/memory/scoped_ptr.h"
12 #include "base/time/time.h" 12 #include "base/time/time.h"
13 #include "content/common/content_export.h" 13 #include "content/common/content_export.h"
14 #include "content/renderer/media/active_loader.h" 14 #include "media/blink/active_loader.h"
15 #include "third_party/WebKit/public/platform/WebMediaPlayer.h" 15 #include "third_party/WebKit/public/platform/WebMediaPlayer.h"
16 #include "third_party/WebKit/public/platform/WebURLLoaderClient.h" 16 #include "third_party/WebKit/public/platform/WebURLLoaderClient.h"
17 #include "third_party/WebKit/public/web/WebDocument.h" 17 #include "third_party/WebKit/public/web/WebDocument.h"
18 #include "url/gurl.h" 18 #include "url/gurl.h"
19 19
20 namespace blink { 20 namespace blink {
21 class WebFrame; 21 class WebFrame;
22 class WebURLLoader; 22 class WebURLLoader;
23 class WebURLRequest; 23 class WebURLRequest;
24 } 24 }
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 virtual void didFail( 106 virtual void didFail(
107 blink::WebURLLoader* loader, 107 blink::WebURLLoader* loader,
108 const blink::WebURLError&); 108 const blink::WebURLError&);
109 109
110 void DidBecomeReady(Status status); 110 void DidBecomeReady(Status status);
111 111
112 // Injected WebURLLoader instance for testing purposes. 112 // Injected WebURLLoader instance for testing purposes.
113 scoped_ptr<blink::WebURLLoader> test_loader_; 113 scoped_ptr<blink::WebURLLoader> test_loader_;
114 114
115 // Keeps track of an active WebURLLoader and associated state. 115 // Keeps track of an active WebURLLoader and associated state.
116 scoped_ptr<ActiveLoader> active_loader_; 116 scoped_ptr<media::ActiveLoader> active_loader_;
117 117
118 bool loader_failed_; 118 bool loader_failed_;
119 GURL url_; 119 GURL url_;
120 GURL first_party_url_; 120 GURL first_party_url_;
121 bool allow_stored_credentials_; 121 bool allow_stored_credentials_;
122 blink::WebMediaPlayer::CORSMode cors_mode_; 122 blink::WebMediaPlayer::CORSMode cors_mode_;
123 bool single_origin_; 123 bool single_origin_;
124 124
125 ReadyCB ready_cb_; 125 ReadyCB ready_cb_;
126 base::TimeTicks start_time_; 126 base::TimeTicks start_time_;
127 127
128 DISALLOW_COPY_AND_ASSIGN(MediaInfoLoader); 128 DISALLOW_COPY_AND_ASSIGN(MediaInfoLoader);
129 }; 129 };
130 130
131 } // namespace content 131 } // namespace content
132 132
133 #endif // CONTENT_RENDERER_MEDIA_ANDROID_MEDIA_INFO_LOADER_H_ 133 #endif // CONTENT_RENDERER_MEDIA_ANDROID_MEDIA_INFO_LOADER_H_
OLDNEW
« no previous file with comments | « content/renderer/media/active_loader.cc ('k') | content/renderer/media/android/media_info_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698