1 // Copyright 2018 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef CHROME_RENDERER_MEDIA_FLASH_EMBED_REWRITE_H_
6 #define CHROME_RENDERER_MEDIA_FLASH_EMBED_REWRITE_H_
7 
8 class GURL;
9 
10 class FlashEmbedRewrite {
11  public:
12   // Entry point that will then call a private website-specific method.
13   static GURL RewriteFlashEmbedURL(const GURL&);
14 
15  private:
16   // YouTube specific method.
17   static GURL RewriteYouTubeFlashEmbedURL(const GURL&);
18 
19   // Dailymotion specific method.
20   static GURL RewriteDailymotionFlashEmbedURL(const GURL&);
21 };
22 
23 #endif  // CHROME_RENDERER_MEDIA_FLASH_EMBED_REWRITE_H_
24