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

Unified Diff: ash/test/test_shell_delegate.cc

Issue 10191010: Re-implement the screensaver to use WebView instead of ExtensionDialogHost. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ut fix. Created 8 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
« no previous file with comments | « ash/test/test_shell_delegate.h ('k') | chrome/browser/chromeos/kiosk_mode/kiosk_mode_screensaver.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/test/test_shell_delegate.cc
diff --git a/ash/test/test_shell_delegate.cc b/ash/test/test_shell_delegate.cc
index c957e484a7b07c84e4221fa9aa9e897faab13fa4..0dcd1676eda76f307c0db3c1f616256d2b6cf3d5 100644
--- a/ash/test/test_shell_delegate.cc
+++ b/ash/test/test_shell_delegate.cc
@@ -10,6 +10,7 @@
#include "ash/shell.h"
#include "ash/shell_window_ids.h"
#include "ash/test/test_launcher_delegate.h"
+#include "content/test/test_browser_context.h"
#include "grit/ui_resources.h"
#include "ui/aura/window.h"
@@ -59,6 +60,10 @@ void TestShellDelegate::OpenCrosh() {
void TestShellDelegate::OpenMobileSetup() {
}
+content::BrowserContext* TestShellDelegate::GetCurrentBrowserContext() {
+ return new TestBrowserContext();
+}
+
void TestShellDelegate::ToggleSpokenFeedback() {
}
« no previous file with comments | « ash/test/test_shell_delegate.h ('k') | chrome/browser/chromeos/kiosk_mode/kiosk_mode_screensaver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698