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

Unified Diff: chrome/browser/chrome_browser_main.h

Issue 1562593002: Fix potential crashes in NetworkHandler code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@test
Patch Set: Created 4 years, 11 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/chrome_browser_main.h
diff --git a/chrome/browser/chrome_browser_main.h b/chrome/browser/chrome_browser_main.h
index 6ba5ee3afa9e6cd1af507714e2cbfe53141b0bc0..c09727ab7ed7ff6c30929cfc63fc809d11274f7f 100644
--- a/chrome/browser/chrome_browser_main.h
+++ b/chrome/browser/chrome_browser_main.h
@@ -98,6 +98,8 @@ class ChromeBrowserMainParts : public content::BrowserMainParts {
return user_data_dir_;
}
+ BrowserProcessImpl* browser_process() { return browser_process_.get(); }
stevenjb 2016/01/05 22:26:37 Note: this is protected.
sky 2016/01/05 23:17:11 Is there a reason you can't use g_browser_process?
stevenjb 2016/01/06 00:43:04 Duh. Done.
+
Profile* profile() { return profile_; }
const PrefService* local_state() const { return local_state_; }

Powered by Google App Engine
This is Rietveld 408576698