summaryrefslogtreecommitdiffstats
path: root/chrome/browser/profile.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/profile.h')
-rw-r--r--chrome/browser/profile.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/chrome/browser/profile.h b/chrome/browser/profile.h
index 659e1bd..7497e6d 100644
--- a/chrome/browser/profile.h
+++ b/chrome/browser/profile.h
@@ -29,6 +29,10 @@ class StrictTransportSecurityState;
class SSLConfigService;
}
+namespace webkit_database {
+class DatabaseTracker;
+}
+
class Blacklist;
class BookmarkModel;
class BrowserThemeProvider;
@@ -139,6 +143,9 @@ class Profile {
// profile is not off the record.
virtual Profile* GetOriginalProfile() = 0;
+ // Returns a pointer to the DatabaseTracker instance for this profile.
+ virtual webkit_database::DatabaseTracker* GetDatabaseTracker() = 0;
+
// Retrieves a pointer to the VisitedLinkMaster associated with this
// profile. The VisitedLinkMaster is lazily created the first time
// that this method is called.
@@ -421,6 +428,7 @@ class ProfileImpl : public Profile,
virtual Profile* GetOffTheRecordProfile();
virtual void DestroyOffTheRecordProfile();
virtual Profile* GetOriginalProfile();
+ virtual webkit_database::DatabaseTracker* GetDatabaseTracker();
virtual VisitedLinkMaster* GetVisitedLinkMaster();
virtual UserScriptMaster* GetUserScriptMaster();
virtual SSLHostState* GetSSLHostState();
@@ -595,6 +603,10 @@ class ProfileImpl : public Profile,
// GetSessionService won't recreate the SessionService.
bool shutdown_session_service_;
+ // The main database tracker for this profile.
+ // Should be used only on the file thread.
+ scoped_refptr<webkit_database::DatabaseTracker> db_tracker_;
+
#if defined(OS_CHROMEOS)
chromeos::Preferences chromeos_preferences_;
#endif