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

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

Issue 1685003002: Plumb the correct owner document through DocumentInit::m_owner. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 10 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/apps/app_browsertest_util.h
diff --git a/chrome/browser/apps/app_browsertest_util.h b/chrome/browser/apps/app_browsertest_util.h
index df758de4ea3c5505c1b927b0e12c53faee55d887..5730ce5884cc58ed0aa5f296f3defa2131a89509 100644
--- a/chrome/browser/apps/app_browsertest_util.h
+++ b/chrome/browser/apps/app_browsertest_util.h
@@ -16,6 +16,7 @@ class CommandLine;
}
namespace content {
+class BrowserContext;
class WebContents;
}
@@ -90,9 +91,11 @@ class PlatformAppBrowserTest : public ExtensionApiTest {
size_t GetAppWindowCountForApp(const std::string& app_id);
// Creates an empty app window for |extension|.
- AppWindow* CreateAppWindow(const Extension* extension);
+ AppWindow* CreateAppWindow(content::BrowserContext* context,
+ const Extension* extension);
- AppWindow* CreateAppWindowFromParams(const Extension* extension,
+ AppWindow* CreateAppWindowFromParams(content::BrowserContext* context,
+ const Extension* extension,
const AppWindow::CreateParams& params);
// Closes |window| and waits until it's gone.

Powered by Google App Engine
This is Rietveld 408576698