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

Unified Diff: chrome/test/browser_with_test_window_test.h

Issue 2822010: Fixes bug in bookmark bar view if profile changed. If the profile (Closed)
Patch Set: Created 10 years, 6 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 | « chrome/chrome_tests.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/browser_with_test_window_test.h
diff --git a/chrome/test/browser_with_test_window_test.h b/chrome/test/browser_with_test_window_test.h
index 835bdebaf680a99a0f04d8209b1a2078c00258bd..5250365e17051daf25567ba61a2708e10b1d55f0 100644
--- a/chrome/test/browser_with_test_window_test.h
+++ b/chrome/test/browser_with_test_window_test.h
@@ -51,7 +51,6 @@ class BrowserWithTestWindowTest : public testing::Test {
TestRenderViewHost* TestRenderViewHostForTab(TabContents* tab_contents);
protected:
-
TestBrowserWindow* window() const { return window_.get(); }
void set_window(TestBrowserWindow* window) {
window_.reset(window);
@@ -67,6 +66,8 @@ class BrowserWithTestWindowTest : public testing::Test {
profile_.reset(profile);
}
+ MessageLoop* message_loop() { return &ui_loop_; }
+
// Adds a tab to |browser| with the given URL and commits the load.
// This is a convenience function. The new tab will be added at index 0.
void AddTab(Browser* browser, const GURL& url);
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698