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

Unified Diff: chrome/browser/apps/app_browsertest_util.h

Issue 2525563003: mash: Change CastConfigDelegate to a mojoified CastConfigClient. (Closed)
Patch Set: move dep to chromeos section Created 4 years 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
« no previous file with comments | « ash/test/tray_cast_test_api.cc ('k') | chrome/browser/apps/app_browsertest_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/apps/app_browsertest_util.h
diff --git a/chrome/browser/apps/app_browsertest_util.h b/chrome/browser/apps/app_browsertest_util.h
index 5730ce5884cc58ed0aa5f296f3defa2131a89509..2e129b0b01c39e261147bf303777c81d3d59f3e8 100644
--- a/chrome/browser/apps/app_browsertest_util.h
+++ b/chrome/browser/apps/app_browsertest_util.h
@@ -7,10 +7,16 @@
#include <stddef.h>
+#include <string>
+
#include "base/macros.h"
#include "chrome/browser/extensions/extension_apitest.h"
#include "extensions/browser/app_window/app_window.h"
+#if defined(OS_CHROMEOS)
+#include "chrome/browser/media/router/mock_media_router.h"
+#endif
+
namespace base {
class CommandLine;
}
@@ -31,6 +37,8 @@ class PlatformAppBrowserTest : public ExtensionApiTest {
PlatformAppBrowserTest();
void SetUpCommandLine(base::CommandLine* command_line) override;
+ void SetUpInProcessBrowserTestFixture() override;
+ void TearDownInProcessBrowserTestFixture() override;
// Gets the first app window that is found for a given browser.
static AppWindow* GetFirstAppWindowForBrowser(Browser* browser);
@@ -117,6 +125,10 @@ class PlatformAppBrowserTest : public ExtensionApiTest {
AppWindow* CreateTestAppWindow(const std::string& window_create_options);
private:
+#if defined(OS_CHROMEOS)
+ media_router::MockMediaRouter media_router_;
+#endif
+
DISALLOW_COPY_AND_ASSIGN(PlatformAppBrowserTest);
};
« no previous file with comments | « ash/test/tray_cast_test_api.cc ('k') | chrome/browser/apps/app_browsertest_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698