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

Unified Diff: chrome/browser/background/background_contents_service.h

Issue 1086733002: Ensure tests have an active task runner (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Created 5 years, 8 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/background/background_contents_service.h
diff --git a/chrome/browser/background/background_contents_service.h b/chrome/browser/background/background_contents_service.h
index 380982b9bcb26c126d120f649b7929f291525f64..1448af6fed2d04c93b9084239d9161c3a1021123 100644
--- a/chrome/browser/background/background_contents_service.h
+++ b/chrome/browser/background/background_contents_service.h
@@ -75,6 +75,10 @@ class BackgroundContentsService : private content::NotificationObserver,
static void ShowBalloonForTesting(const extensions::Extension* extension,
Profile* profile);
+ // Disable closing the crash notification balloon for tests.
+ static void DisableCloseBalloonForTesting(
+ bool disable_close_balloon_for_testing);
+
// Returns the BackgroundContents associated with the passed application id,
// or NULL if none.
BackgroundContents* GetAppBackgroundContents(const base::string16& appid);
« no previous file with comments | « chrome/browser/autocomplete/shortcuts_database_unittest.cc ('k') | chrome/browser/background/background_contents_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698