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

Unified Diff: chrome/browser/dom_ui/dom_ui.h

Issue 6260002: Fix chromium-os:10777 and other sync related crashes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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
« no previous file with comments | « no previous file | chrome/browser/dom_ui/dom_ui.cc » ('j') | chrome/browser/profiles/profile_impl.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/dom_ui/dom_ui.h
diff --git a/chrome/browser/dom_ui/dom_ui.h b/chrome/browser/dom_ui/dom_ui.h
index a74186d961ad0ac2d458bf2ca97befc9265f2012..717773a5ed9c84eaa5efbf4ffdf15c95f0259cc9 100644
--- a/chrome/browser/dom_ui/dom_ui.h
+++ b/chrome/browser/dom_ui/dom_ui.h
@@ -130,6 +130,9 @@ class DOMUI {
// May be overridden by DOMUI's which do not have a tab contents.
virtual Profile* GetProfile() const;
+ // Convenience function for UI that requires access to the original profile.
akalin 2011/01/13 04:38:42 I think there's no need for this -- GetProfileSync
stevenjb 2011/01/13 18:00:49 OK, I wasn't sure if this mattered. Definitely bet
+ Profile* GetOriginalProfile() const;
+
// May be overridden by DOMUI's which do not have a tab contents.
virtual RenderViewHost* GetRenderViewHost() const;
« no previous file with comments | « no previous file | chrome/browser/dom_ui/dom_ui.cc » ('j') | chrome/browser/profiles/profile_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698