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

Unified Diff: chrome/browser/extensions/platform_app_browsertest_util.h

Issue 11190016: Do not add TabContents from packaged apps to the task manager. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rebase Created 8 years, 2 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/platform_app_browsertest_util.h
diff --git a/chrome/browser/extensions/platform_app_browsertest_util.h b/chrome/browser/extensions/platform_app_browsertest_util.h
index 3d3a2a7d40efd36e9d4d74b9e443b0147b72f2b3..56b43758b9b99481abfe11861ac08ae30b1a6f9a 100644
--- a/chrome/browser/extensions/platform_app_browsertest_util.h
+++ b/chrome/browser/extensions/platform_app_browsertest_util.h
@@ -26,7 +26,12 @@ class PlatformAppBrowserTest : public ExtensionApiTest {
protected:
// Runs the app named |name| out of the platform_apps subdirectory. Waits
// until it is launched.
- const Extension* LoadAndLaunchPlatformApp(const char* name);
+ static const Extension* LoadAndLaunchPlatformApp(
+ Browser* browser, NotificationObserver* observer,
+ FilePath test_data_dir_, const char* name);
+ const Extension* LoadAndLaunchPlatformApp(const char* name) {
+ return LoadAndLaunchPlatformApp(browser(), this, test_data_dir_, name);
+ }
// Installs and runs the app named |name| out of the platform_apps
// subdirectory. Waits until it is launched.
« no previous file with comments | « chrome/browser/extensions/extension_browsertest.cc ('k') | chrome/browser/extensions/platform_app_browsertest_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698