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

Unified Diff: media/blink/cache_util.h

Issue 495353003: Move WebMediaPlayerImpl and its dependencies to media/blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Exclude media/blink from Android GN builds for now like cc/blink does. 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 side-by-side diff with in-line comments
Download patch
Index: media/blink/cache_util.h
diff --git a/content/renderer/media/cache_util.h b/media/blink/cache_util.h
similarity index 81%
rename from content/renderer/media/cache_util.h
rename to media/blink/cache_util.h
index aca8d8a9081c63622e6bc1aeb0d945470b3b88ad..5c59f14e74234adfd15a25010bf16195e87f695d 100644
--- a/content/renderer/media/cache_util.h
+++ b/media/blink/cache_util.h
@@ -2,19 +2,19 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_RENDERER_MEDIA_CACHE_UTIL_H_
-#define CONTENT_RENDERER_MEDIA_CACHE_UTIL_H_
+#ifndef MEDIA_BLINK_CACHE_UTIL_H_
+#define MEDIA_BLINK_CACHE_UTIL_H_
#include <vector>
#include "base/basictypes.h"
-#include "content/common/content_export.h"
+#include "media/base/media_export.h"
namespace blink {
class WebURLResponse;
}
-namespace content {
+namespace media {
// Reasons that a cached WebURLResponse will *not* prevent a future request to
// the server. Reported via UMA, so don't change/reuse previously-existing
@@ -33,9 +33,9 @@ enum UncacheableReason {
// Return the logical OR of the reasons "response" cannot be used for a future
// request (using the disk cache), or 0 if it might be useful.
-uint32 CONTENT_EXPORT GetReasonsForUncacheability(
+uint32 MEDIA_EXPORT GetReasonsForUncacheability(
const blink::WebURLResponse& response);
-} // namespace content
+} // namespace media
-#endif // CONTENT_RENDERER_MEDIA_CACHE_UTIL_H_
+#endif // MEDIA_BLINK_CACHE_UTIL_H_

Powered by Google App Engine
This is Rietveld 408576698