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

Unified Diff: chrome/browser/extensions/api/tabs/windows_helper.h

Issue 21022018: Sessions API - previously Session Restore API. Supports restoring currently open foreign windows an… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updated Created 7 years, 4 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: chrome/browser/extensions/api/tabs/windows_helper.h
diff --git a/content/renderer/media/media_stream_registry_interface.h b/chrome/browser/extensions/api/tabs/windows_helper.h
similarity index 32%
copy from content/renderer/media/media_stream_registry_interface.h
copy to chrome/browser/extensions/api/tabs/windows_helper.h
index af4c26a4e78b421595c058cbedd5de802a201d1e..ca86cdf770af43617ee0b9edfbb989e42634bb3b 100644
--- a/content/renderer/media/media_stream_registry_interface.h
+++ b/chrome/browser/extensions/api/tabs/windows_helper.h
@@ -2,24 +2,17 @@
// 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_HELPER_H__
+#define CHROME_BROWSER_EXTENSIONS_API_TABS_WINDOWS_HELPER_H__
-#include <string>
+class UIThreadExtensionFunction;
-#include "third_party/WebKit/public/platform/WebMediaStream.h"
+namespace extensions {
+class WindowController;
+}
not at google - send to devlin 2013/08/12 23:51:34 file should be in a windows_helper namespace. Inc
Kristen Dwan 2013/08/15 07:11:56 just based it off the most recent file i saw added
-namespace content {
+bool GetWindowFromWindowID(UIThreadExtensionFunction* function,
+ int window_id,
+ extensions::WindowController** controller);
-// Interface to get WebMediaStream from its url.
-class MediaStreamRegistryInterface {
- public:
- virtual WebKit::WebMediaStream GetMediaStream(const std::string& url) = 0;
-
- protected:
- virtual ~MediaStreamRegistryInterface() {}
-};
-
-} // namespace content
-
-#endif // CONTENT_RENDERER_MEDIA_MEDIA_STREAM_REGISTRY_INTERFACE_H_
+#endif // CHROME_BROWSER_EXTENSIONS_API_TABS_WINDOWS_HELPER_H__

Powered by Google App Engine
This is Rietveld 408576698