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

Unified Diff: chrome/test/testing_browser_process.h

Issue 6542013: Get rid of browser_prefs::RegisterAllPrefs() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix metrics_log_unittest.cc Created 9 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/test/testing_browser_process.h
diff --git a/chrome/test/testing_browser_process.h b/chrome/test/testing_browser_process.h
index 4c388247e1a35e1b952592827aabcf3548313ee3..6b8aca3692e6e8697f13061f567a750ec3e20d14 100644
--- a/chrome/test/testing_browser_process.h
+++ b/chrome/test/testing_browser_process.h
@@ -151,6 +151,10 @@ class ScopedTestingBrowserProcess {
ScopedTestingBrowserProcess();
~ScopedTestingBrowserProcess();
+ TestingBrowserProcess* get() {
Paweł Hajdan Jr. 2011/02/18 17:03:43 That seems wrong, I think the code should just use
Mattias Nissler (ping if slow) 2011/02/18 17:08:04 See my other comment for why this is here. Would y
+ return browser_process_.get();
+ }
+
private:
// TODO(phajdan.jr): Temporary, for http://crbug.com/61062.
// After the transition is over, we should just stack-allocate it.

Powered by Google App Engine
This is Rietveld 408576698