Index: chrome/browser/profiles/profile_impl.cc |
diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc |
index 03d8ff3f37acab890adfa982e2b42bc4b0e9cb25..42c0754f054f771d9758e823c6960d7a34a2003a 100644 |
--- a/chrome/browser/profiles/profile_impl.cc |
+++ b/chrome/browser/profiles/profile_impl.cc |
@@ -75,6 +75,7 @@ |
#include "chrome/browser/ssl/chrome_ssl_host_state_delegate.h" |
#include "chrome/browser/ssl/chrome_ssl_host_state_delegate_factory.h" |
#include "chrome/browser/ui/startup/startup_browser_creator.h" |
+#include "chrome/browser/ui/webui/prefs_internals_source.h" |
#include "chrome/common/chrome_constants.h" |
#include "chrome/common/chrome_paths.h" |
#include "chrome/common/chrome_paths_internal.h" |
@@ -507,6 +508,8 @@ ProfileImpl::ProfileImpl( |
// Prefs were loaded synchronously so we can continue directly. |
OnPrefsLoaded(create_mode, true); |
} |
+ |
+ content::URLDataSource::Add(this, new PrefsInternalsSource(this)); |
Devlin
2017/03/01 17:59:23
Any better place for this?
Dan Beam
2017/03/08 18:40:58
i don't really know but in an ideal world this wou
Devlin
2017/03/09 01:21:49
Agreed - does the webui framework offer a way to d
Dan Beam
2017/03/09 02:16:54
not really
|
} |
void ProfileImpl::DoFinalInit() { |