Chromium Code Reviews| Index: chrome/browser/extensions/api/tabs/windows_util.h |
| diff --git a/content/renderer/media/media_stream_registry_interface.h b/chrome/browser/extensions/api/tabs/windows_util.h |
| similarity index 32% |
| copy from content/renderer/media/media_stream_registry_interface.h |
| copy to chrome/browser/extensions/api/tabs/windows_util.h |
| index af4c26a4e78b421595c058cbedd5de802a201d1e..6fabc502319dda5f1e339a890387ddf858a23770 100644 |
| --- a/content/renderer/media/media_stream_registry_interface.h |
| +++ b/chrome/browser/extensions/api/tabs/windows_util.h |
| @@ -2,24 +2,21 @@ |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| -#ifndef CONTENT_RENDERER_MEDIA_MEDIA_STREAM_REGISTRY_INTERFACE_H_ |
| -#define CONTENT_RENDERER_MEDIA_MEDIA_STREAM_REGISTRY_INTERFACE_H_ |
| +#ifndef CHROME_BROWSER_EXTENSIONS_API_TABS_WINDOWS_UTIL_H__ |
| +#define CHROME_BROWSER_EXTENSIONS_API_TABS_WINDOWS_UTIL_H__ |
| -#include <string> |
| +class UIThreadExtensionFunction; |
| -#include "third_party/WebKit/public/platform/WebMediaStream.h" |
| +namespace extensions { |
| +class WindowController; |
| +} |
| -namespace content { |
| +namespace windows_util { |
| -// Interface to get WebMediaStream from its url. |
| -class MediaStreamRegistryInterface { |
|
not at google - send to devlin
2013/08/15 20:16:24
git being silly again.
|
| - public: |
| - virtual WebKit::WebMediaStream GetMediaStream(const std::string& url) = 0; |
| +bool GetWindowFromWindowID(UIThreadExtensionFunction* function, |
| + int window_id, |
| + extensions::WindowController** controller); |
| - protected: |
| - virtual ~MediaStreamRegistryInterface() {} |
| -}; |
| +} // namespace windows_util |
| -} // namespace content |
| - |
| -#endif // CONTENT_RENDERER_MEDIA_MEDIA_STREAM_REGISTRY_INTERFACE_H_ |
| +#endif // CHROME_BROWSER_EXTENSIONS_API_TABS_WINDOWS_UTIL_H__ |